Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001871/0.001871, allocations: 103.9 kB / 19.75 MB, free: 2.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00243/0.00243, allocations: 193.1 kB / 22.92 MB, free: 5.484 MB / 14.72 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 1.718/1.718, allocations: 207.6 MB / 233.5 MB, free: 10.98 MB / 190.1 MB " [Timeout remaining time 178] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers") translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 55.92 kB / 345.4 MB, free: 10.4 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4755/0.4776, allocations: 49.12 MB / 394.6 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.006792/0.4844, allocations: 4.066 MB / 398.6 MB, free: 6.719 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002892/0.4873, allocations: 0.9297 MB / 399.5 MB, free: 6.035 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005262/0.4878, allocations: 7.656 kB / 399.6 MB, free: 6.035 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003642/0.4882, allocations: 93.28 kB / 399.6 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000586/0.4888, allocations: 185 kB / 399.8 MB, free: 5.848 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006199/0.4894, allocations: 145.4 kB / 400 MB, free: 5.766 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001179/0.4906, allocations: 0.6729 MB / 400.6 MB, free: 5.426 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004805/0.4911, allocations: 147.6 kB / 400.8 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005968/0.4917, allocations: 260.8 kB / 401 MB, free: 5.219 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006126/0.4923, allocations: 290 kB / 401.3 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001661/0.4924, allocations: 55.41 kB / 401.4 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001335/0.4926, allocations: 55.28 kB / 401.4 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001514/0.4927, allocations: 132.1 kB / 401.6 MB, free: 4.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004177/0.4931, allocations: 307.3 kB / 401.9 MB, free: 4.797 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001323/0.4945, allocations: 0.6406 MB / 402.5 MB, free: 4.539 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.261e-05/0.4945, allocations: 1.125 kB / 402.5 MB, free: 4.539 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4945, allocations: 0 / 402.5 MB, free: 4.539 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.575e-05/0.4945, allocations: 0 / 402.5 MB, free: 4.539 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.002091/0.4966, allocations: 0.8772 MB / 403.4 MB, free: 3.895 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.125e-05/0.4967, allocations: 13.08 kB / 403.4 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000208/0.4969, allocations: 65.41 kB / 403.5 MB, free: 3.859 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.4979, allocations: 382 kB / 403.8 MB, free: 3.539 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.892e-05/0.498, allocations: 37.83 kB / 403.9 MB, free: 3.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/0.4981, allocations: 48.38 kB / 403.9 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/0.4994, allocations: 482.8 kB / 404.4 MB, free: 3.285 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.985e-05/0.4994, allocations: 9.703 kB / 404.4 MB, free: 3.277 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.033e-05/0.4995, allocations: 20.44 kB / 404.4 MB, free: 3.262 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.939e-05/0.4995, allocations: 12.94 kB / 404.4 MB, free: 3.262 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008808/0.5004, allocations: 330 kB / 404.8 MB, free: 3.156 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004105/0.5045, allocations: 1.679 MB / 406.4 MB, free: 2.078 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006696/0.5052, allocations: 252.6 kB / 406.7 MB, free: 1.949 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003515/0.5055, allocations: 136.1 kB / 406.8 MB, free: 1.891 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.308e-05/0.5056, allocations: 6.734 kB / 406.8 MB, free: 1.887 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.535e-05/0.5056, allocations: 38.25 kB / 406.9 MB, free: 1.844 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 2.435e-06/0.5056, allocations: 0 / 406.9 MB, free: 1.844 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.002751/0.5084, allocations: 0.9542 MB / 407.8 MB, free: 1.176 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.121e-05/0.5085, allocations: 89.23 kB / 407.9 MB, free: 1.074 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006471/0.5091, allocations: 385.8 kB / 408.3 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.999e-05/0.5091, allocations: 33.41 kB / 408.3 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002888/0.5094, allocations: 290.3 kB / 408.6 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.5096, allocations: 119.3 kB / 408.7 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001619/0.5097, allocations: 72.72 kB / 408.8 MB, free: 480 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.5099, allocations: 352.8 kB / 409.1 MB, free: 140 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002694/0.5101, allocations: 99.23 kB / 409.2 MB, free: 108 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004142/0.5105, allocations: 192.8 kB / 409.4 MB, free: 15.96 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006725/0.5112, allocations: 322.7 kB / 409.7 MB, free: 15.74 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.5112, allocations: 1.125 kB / 409.7 MB, free: 15.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001192/0.5124, allocations: 449.8 kB / 410.2 MB, free: 15.54 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.782e-05/0.5124, allocations: 10.73 kB / 410.2 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.5125, allocations: 2.781 kB / 410.2 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005217/0.513, allocations: 82.28 kB / 410.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004718/0.5135, allocations: 74.36 kB / 410.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004109/0.5176, allocations: 3.131 MB / 413.5 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005029/0.5181, allocations: 27.41 kB / 413.5 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-05/0.5181, allocations: 16.03 kB / 413.5 MB, free: 12.33 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004408/0.5185, allocations: 170.1 kB / 413.7 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.5187, allocations: 41.61 kB / 413.7 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.194e-05/0.5188, allocations: 40.91 kB / 413.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.5188, allocations: 3.688 kB / 413.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-05/0.5188, allocations: 5.219 kB / 413.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.5188, allocations: 5.328 kB / 413.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002031/0.5208, allocations: 0.9276 MB / 414.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.5209, allocations: 3.984 kB / 414.7 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002099/0.5211, allocations: 47.67 kB / 414.7 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003478/0.5214, allocations: 84.84 kB / 414.8 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.187e-05/0.5214, allocations: 11.11 kB / 414.8 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003414/0.5249, allocations: 3.127 MB / 418 MB, free: 8.148 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.5249, allocations: 0 / 418 MB, free: 8.148 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.5261, allocations: 0.6111 MB / 418.6 MB, free: 7.723 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001769/0.5263, allocations: 119.1 kB / 418.7 MB, free: 7.598 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.253e-05/0.5264, allocations: 10.31 kB / 418.7 MB, free: 7.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003693/0.5267, allocations: 33.53 kB / 418.7 MB, free: 7.574 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.5268, allocations: 31.41 kB / 418.8 MB, free: 7.555 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.28e-05/0.5269, allocations: 7.125 kB / 418.8 MB, free: 7.555 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004057/0.5273, allocations: 277.4 kB / 419 MB, free: 7.387 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5273, allocations: 0 / 419 MB, free: 7.387 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009318/0.5282, allocations: 119.7 kB / 419.2 MB, free: 7.371 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * 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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002638/0.5285, allocations: 106.4 kB / 419.3 MB, free: 7.273 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001514/0.53, allocations: 0.4982 MB / 419.8 MB, free: 6.918 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.53, allocations: 0 / 419.8 MB, free: 6.918 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008871/0.5309, allocations: 384.2 kB / 420.1 MB, free: 6.613 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007046/0.5316, allocations: 66.62 kB / 420.2 MB, free: 6.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002771/0.5343, allocations: 0.973 MB / 421.2 MB, free: 5.898 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000793/0.5351, allocations: 0.8371 MB / 422 MB, free: 5.133 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002396/0.5354, allocations: 44.09 kB / 422 MB, free: 5.109 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.5355, allocations: 33.59 kB / 422.1 MB, free: 5.098 MB / 334.1 MB Notification: Performance of SimCode: time 2.054e-06/0.5355, allocations: 0 / 422.1 MB, free: 5.098 MB / 334.1 MB Notification: Performance of Templates: time 0.01431/0.5498, allocations: 4.917 MB / 427 MB, free: 2.27 MB / 334.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.06688276771456]