Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 80.92 kB / 22.29 MB, free: 2.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 167.7 kB / 25.7 MB, free: 8.438 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9942/0.9942, allocations: 158.6 MB / 187.6 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 251.5 MB, free: 7.273 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.403e-05/2.558e-05, allocations: 2.312 kB / 251.5 MB, free: 7.27 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.02121/0.02124, allocations: 27.38 MB / 278.9 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01546/0.0367, allocations: 7.889 MB / 286.8 MB, free: 3.848 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004259/0.04096, allocations: 262.6 kB / 287.1 MB, free: 3.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0136/0.05455, allocations: 14.11 MB / 301.2 MB, free: 5.418 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008963/0.06352, allocations: 3.055 MB / 304.2 MB, free: 2.344 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003602/0.06712, allocations: 2.101 MB / 306.3 MB, free: 252 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0161/0.08322, allocations: 19.8 MB / 326.1 MB, free: 12.37 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2454/0.3286, allocations: 29.27 MB / 355.4 MB, free: 31.06 MB / 330.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02068/0.3493, allocations: 15.84 MB / 371.2 MB, free: 31.05 MB / 330.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01488/0.3642, allocations: 11.85 MB / 383.1 MB, free: 31.05 MB / 330.8 MB Notification: Performance of NFPackage.collectConstants: time 0.006699/0.3709, allocations: 2.975 MB / 386 MB, free: 31.05 MB / 330.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007652/0.3785, allocations: 3.241 MB / 389.3 MB, free: 31.05 MB / 330.8 MB Notification: Performance of NFScalarize.scalarize: time 0.006665/0.3852, allocations: 5.984 MB / 395.3 MB, free: 28.77 MB / 330.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01005/0.3953, allocations: 7.598 MB / 402.9 MB, free: 24.16 MB / 330.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0153/0.4106, allocations: 18.98 MB / 421.8 MB, free: 7.672 MB / 330.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.4106, allocations: 0.8125 kB / 421.8 MB, free: 7.672 MB / 330.8 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4106, allocations: 0 / 421.8 MB, free: 7.672 MB / 330.8 MB Notification: Performance of Transformations before backend: time 0.0007125/0.4113, allocations: 0.8125 kB / 421.8 MB, free: 7.672 MB / 330.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5161 * Number of variables: 5161 Notification: Performance of Generate backend data structure: time 0.03012/0.4414, allocations: 21.84 MB / 443.7 MB, free: 2.98 MB / 346.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.4414, allocations: 11.98 kB / 443.7 MB, free: 2.969 MB / 346.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.031/0.4724, allocations: 11.94 MB / 455.6 MB, free: 7.441 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01095/0.4834, allocations: 5.085 MB / 460.7 MB, free: 2.773 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009344/0.4843, allocations: 1.403 MB / 462.1 MB, free: 1.387 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006119/0.4904, allocations: 1.839 MB / 464 MB, free: 15.57 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03961/0.5301, allocations: 15.35 MB / 479.3 MB, free: 0.9141 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003964/0.5305, allocations: 14.77 kB / 479.3 MB, free: 0.9023 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001959/0.5324, allocations: 0.761 MB / 480.1 MB, free: 160 kB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007439/0.5332, allocations: 0.9703 MB / 481.1 MB, free: 15.18 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02437/0.5575, allocations: 7.76 MB / 488.8 MB, free: 7.379 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3117/0.8692, allocations: 55.95 MB / 0.532 GB, free: 73.31 MB / 410.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008787/0.878, allocations: 8.589 MB / 0.5404 GB, free: 72.58 MB / 410.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00258/0.8805, allocations: 2.28 MB / 0.5426 GB, free: 72.45 MB / 410.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01144/0.892, allocations: 6.955 MB / 0.5494 GB, free: 71.62 MB / 410.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/0.892, allocations: 76.81 kB / 0.5495 GB, free: 71.58 MB / 410.9 MB Notification: Performance of pre-optimization done (n=427): time 6.031e-06/0.892, allocations: 0 / 0.5495 GB, free: 71.58 MB / 410.9 MB Notification: Performance of matching and sorting (n=427): time 0.01248/0.9045, allocations: 6.545 MB / 0.5559 GB, free: 70.93 MB / 410.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.9046, allocations: 128 kB / 0.556 GB, free: 70.82 MB / 410.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004074/0.9086, allocations: 4.911 MB / 0.5608 GB, free: 70.13 MB / 410.9 MB Notification: Performance of collectPreVariables (initialization): time 0.0003316/0.909, allocations: 94.7 kB / 0.5609 GB, free: 70.1 MB / 410.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.002904/0.9119, allocations: 8.301 MB / 0.569 GB, free: 65.33 MB / 410.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.000968/0.9128, allocations: 1.615 MB / 0.5706 GB, free: 64.2 MB / 410.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001702/0.9145, allocations: 2.071 MB / 0.5726 GB, free: 63.25 MB / 410.9 MB Notification: Performance of setup shared object (initialization): time 2.968e-05/0.9146, allocations: 308.4 kB / 0.5729 GB, free: 62.95 MB / 410.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001445/0.916, allocations: 1.485 MB / 0.5743 GB, free: 61.85 MB / 410.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002292/0.9183, allocations: 6.73 MB / 0.5809 GB, free: 53.18 MB / 410.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0052/0.9235, allocations: 9.146 MB / 0.5898 GB, free: 43.18 MB / 410.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001053/0.9236, allocations: 56 kB / 0.5899 GB, free: 43.12 MB / 410.9 MB Notification: Performance of matching and sorting (n=1399) (initialization): time 0.008843/0.9325, allocations: 7.38 MB / 0.5971 GB, free: 37.66 MB / 410.9 MB Notification: Performance of prepare postOptimizeDAE: time 7.014e-05/0.9325, allocations: 91.94 kB / 0.5972 GB, free: 37.57 MB / 410.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001371/0.9327, allocations: 202.5 kB / 0.5974 GB, free: 37.38 MB / 410.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002911/0.9356, allocations: 1.55 MB / 0.5989 GB, free: 35.88 MB / 410.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004262/0.9398, allocations: 2.301 MB / 0.6011 GB, free: 33.85 MB / 410.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00483/0.9447, allocations: 5.544 MB / 0.6066 GB, free: 29.67 MB / 410.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005547/0.9502, allocations: 1.348 MB / 0.6079 GB, free: 28.48 MB / 410.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001122/0.9513, allocations: 0.5017 MB / 0.6084 GB, free: 28.07 MB / 410.9 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 898 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1312): * Single equations (assignments): 1309 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003657/0.955, allocations: 0.9039 MB / 0.6093 GB, free: 27.63 MB / 410.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00072/0.9557, allocations: 493.8 kB / 0.6097 GB, free: 27.2 MB / 410.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003377/0.9591, allocations: 3.199 MB / 0.6128 GB, free: 24.61 MB / 410.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001888/0.961, allocations: 1.84 MB / 0.6146 GB, free: 22.84 MB / 410.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.961, allocations: 16 kB / 0.6147 GB, free: 22.82 MB / 410.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-05/0.961, allocations: 19.92 kB / 0.6147 GB, free: 22.8 MB / 410.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01363/0.9746, allocations: 10.7 MB / 0.6251 GB, free: 15.25 MB / 410.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.9746, allocations: 4 kB / 0.6251 GB, free: 15.25 MB / 410.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00141/0.9761, allocations: 0.5905 MB / 0.6257 GB, free: 14.71 MB / 410.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002648/0.9787, allocations: 1.313 MB / 0.627 GB, free: 13.44 MB / 410.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001944/0.9789, allocations: 85.67 kB / 0.6271 GB, free: 13.42 MB / 410.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004437/0.9833, allocations: 5.161 MB / 0.6321 GB, free: 8.949 MB / 410.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.9833, allocations: 0 / 0.6321 GB, free: 8.949 MB / 410.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004146/0.9875, allocations: 3.543 MB / 0.6356 GB, free: 5.492 MB / 410.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001408/0.9889, allocations: 0.7625 MB / 0.6363 GB, free: 4.727 MB / 410.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000476/0.9894, allocations: 72 kB / 0.6364 GB, free: 4.656 MB / 410.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/0.9904, allocations: 124 kB / 0.6365 GB, free: 4.535 MB / 410.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003531/0.9908, allocations: 299.6 kB / 0.6368 GB, free: 4.242 MB / 410.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001562/0.991, allocations: 87.97 kB / 0.6369 GB, free: 4.156 MB / 410.9 MB Notification: Performance of sorting global known variables: time 0.001891/0.9928, allocations: 2.126 MB / 0.639 GB, free: 2.301 MB / 410.9 MB Notification: Performance of sort global known variables: time 1.7e-07/0.9928, allocations: 0 / 0.639 GB, free: 2.301 MB / 410.9 MB Notification: Performance of remove unused functions: time 0.007628/1, allocations: 4.25 MB / 0.6431 GB, free: 14.03 MB / 426.9 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (source.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (381): * Single equations (assignments): 378 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000665/1.001, allocations: 259.7 kB / 0.6434 GB, free: 13.82 MB / 426.9 MB Notification: Performance of simCode: created initialization part: time 0.006574/1.008, allocations: 5.174 MB / 0.6484 GB, free: 9.336 MB / 426.9 MB Notification: Performance of simCode: created event and clocks part: time 0.0002795/1.008, allocations: 136.4 kB / 0.6485 GB, free: 9.199 MB / 426.9 MB Notification: Performance of simCode: created simulation system equations: time 0.002267/1.01, allocations: 1.858 MB / 0.6503 GB, free: 7.449 MB / 426.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004206/1.014, allocations: 1.464 MB / 0.6518 GB, free: 5.992 MB / 426.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1797/1.194, allocations: 25.16 MB / 0.6763 GB, free: 103.1 MB / 426.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00456/1.199, allocations: 3.463 MB / 0.6797 GB, free: 102.7 MB / 426.9 MB Notification: Performance of simCode: alias equations: time 0.003292/1.202, allocations: 1.17 MB / 0.6809 GB, free: 102.5 MB / 426.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002255/1.204, allocations: 1.341 MB / 0.6822 GB, free: 102.4 MB / 426.9 MB Notification: Performance of SimCode: time 2.615e-06/1.204, allocations: 0 / 0.6822 GB, free: 102.4 MB / 426.9 MB Notification: Performance of Templates: time 0.1159/1.32, allocations: 92.68 MB / 0.7727 GB, free: 25.3 MB / 426.9 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.585433157160878]