Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.001442/0.001442, allocations: 80.95 kB / 20.68 MB, free: 1.023 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.00232/0.00232, allocations: 146.4 kB / 23.93 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 173.4 MB / 200.4 MB, free: 12.86 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 319 MB, free: 3.523 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.234e-05, allocations: 2.281 kB / 319 MB, free: 3.52 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.003827/0.00385, allocations: 3.681 MB / 322.6 MB, free: 1.035 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.005199, allocations: 0.8415 MB / 323.5 MB, free: 444 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002159/0.005414, allocations: 11.62 kB / 323.5 MB, free: 440 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002163/0.005631, allocations: 99.03 kB / 323.6 MB, free: 380 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003294/0.00596, allocations: 192.4 kB / 323.8 MB, free: 236 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003352/0.006295, allocations: 142.1 kB / 323.9 MB, free: 156 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007244/0.00702, allocations: 0.7021 MB / 324.6 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002705/0.00729, allocations: 140.8 kB / 324.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004989/0.007789, allocations: 389.4 kB / 325.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003197/0.008109, allocations: 215.4 kB / 325.3 MB, free: 15.47 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.899e-05/0.008188, allocations: 55 kB / 325.4 MB, free: 15.47 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.517e-05/0.008283, allocations: 55.97 kB / 325.5 MB, free: 15.47 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.008416, allocations: 133.4 kB / 325.6 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000265/0.008681, allocations: 217.5 kB / 325.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007562/0.009437, allocations: 0.6508 MB / 326.5 MB, free: 15.03 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.009442, allocations: 3.938 kB / 326.5 MB, free: 15.03 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.009444, allocations: 1.094 kB / 326.5 MB, free: 15.03 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.009454, allocations: 0 / 326.5 MB, free: 15.03 MB / 302.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.001653/0.01111, allocations: 0.8004 MB / 327.3 MB, free: 14.47 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.01115, allocations: 8.781 kB / 327.3 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001289/0.01127, allocations: 69.14 kB / 327.3 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005279/0.0118, allocations: 312.9 kB / 327.6 MB, free: 14.19 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.884e-05/0.01184, allocations: 40.72 kB / 327.7 MB, free: 14.17 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.479e-05/0.01193, allocations: 48.59 kB / 327.7 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000955/0.01288, allocations: 0.6171 MB / 328.3 MB, free: 13.76 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.0129, allocations: 192 / 328.3 MB, free: 13.76 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.222e-05/0.01295, allocations: 26.52 kB / 328.4 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.673e-05/0.01297, allocations: 15.72 kB / 328.4 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006686/0.01363, allocations: 333.1 kB / 328.7 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002746/0.01638, allocations: 1.439 MB / 330.1 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004787/0.01686, allocations: 253.3 kB / 330.4 MB, free: 12.53 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/0.0171, allocations: 131.2 kB / 330.5 MB, free: 12.47 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.01712, allocations: 3.562 kB / 330.5 MB, free: 12.47 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.896e-05/0.01717, allocations: 42.69 kB / 330.6 MB, free: 12.43 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.653e-06/0.01717, allocations: 0 / 330.6 MB, free: 12.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001995/0.01917, allocations: 0.8104 MB / 331.4 MB, free: 11.94 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/0.01922, allocations: 81.42 kB / 331.5 MB, free: 11.85 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004772/0.0197, allocations: 368.5 kB / 331.8 MB, free: 11.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/0.01974, allocations: 35.08 kB / 331.9 MB, free: 11.62 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/0.01998, allocations: 304.4 kB / 332.1 MB, free: 11.37 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.02009, allocations: 108.8 kB / 332.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.02022, allocations: 75.72 kB / 332.3 MB, free: 11.24 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.0204, allocations: 348.1 kB / 332.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002323/0.02063, allocations: 104.6 kB / 332.8 MB, free: 10.87 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003212/0.02095, allocations: 199.2 kB / 333 MB, free: 10.73 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005205/0.02147, allocations: 308 kB / 333.3 MB, free: 10.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.02147, allocations: 1.219 kB / 333.3 MB, free: 10.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000872/0.02235, allocations: 450.6 kB / 333.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.02236, allocations: 6.844 kB / 333.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.02237, allocations: 2.375 kB / 333.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000386/0.02276, allocations: 82.22 kB / 333.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003341/0.02309, allocations: 84.2 kB / 333.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00285/0.02594, allocations: 2.862 MB / 336.7 MB, free: 7.398 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003744/0.02632, allocations: 28.5 kB / 336.8 MB, free: 7.379 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.982e-05/0.02635, allocations: 19.47 kB / 336.8 MB, free: 7.371 MB / 302.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.0003071/0.02665, allocations: 162.1 kB / 336.9 MB, free: 7.223 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.967e-05/0.02675, allocations: 44.38 kB / 337 MB, free: 7.199 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.604e-05/0.02683, allocations: 39.92 kB / 337 MB, free: 7.172 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.02683, allocations: 8.625 kB / 337 MB, free: 7.168 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.02684, allocations: 1.25 kB / 337 MB, free: 7.168 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/0.02685, allocations: 5.203 kB / 337 MB, free: 7.164 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00143/0.02828, allocations: 0.7998 MB / 337.8 MB, free: 6.559 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.02828, allocations: 0 / 337.8 MB, free: 6.559 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001907/0.02848, allocations: 43.72 kB / 337.9 MB, free: 6.551 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000293/0.02877, allocations: 81.39 kB / 338 MB, free: 6.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/0.02879, allocations: 6.75 kB / 338 MB, free: 6.496 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002796/0.03159, allocations: 2.88 MB / 340.9 MB, free: 3.664 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.03159, allocations: 0 / 340.9 MB, free: 3.664 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.03265, allocations: 0.6105 MB / 341.5 MB, free: 3.238 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.03277, allocations: 47.22 kB / 341.5 MB, free: 3.203 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.003e-05/0.03282, allocations: 5.312 kB / 341.5 MB, free: 3.199 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003468/0.03317, allocations: 30.38 kB / 341.5 MB, free: 3.188 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.612e-05/0.03324, allocations: 24.7 kB / 341.6 MB, free: 3.172 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/0.03327, allocations: 19.75 kB / 341.6 MB, free: 3.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003142/0.03358, allocations: 259 kB / 341.8 MB, free: 3.004 MB / 302.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.03358, allocations: 0 / 341.8 MB, free: 3.004 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007056/0.03429, allocations: 118.7 kB / 342 MB, free: 2.988 MB / 302.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.0001629/0.03445, allocations: 113.8 kB / 342.1 MB, free: 2.887 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001008/0.03546, allocations: 0.4966 MB / 342.6 MB, free: 2.531 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.03546, allocations: 1.219 kB / 342.6 MB, free: 2.531 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006414/0.0361, allocations: 369.5 kB / 342.9 MB, free: 2.242 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004878/0.03659, allocations: 57.17 kB / 343 MB, free: 2.207 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.03844, allocations: 0.8822 MB / 343.9 MB, free: 1.594 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.03873, allocations: 232.2 kB / 344.1 MB, free: 1.441 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001592/0.03889, allocations: 47.55 kB / 344.1 MB, free: 1.414 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.726e-05/0.03897, allocations: 33.22 kB / 344.2 MB, free: 1.402 MB / 302.1 MB Notification: Performance of SimCode: time 7.51e-07/0.03897, allocations: 0 / 344.2 MB, free: 1.402 MB / 302.1 MB Notification: Performance of Templates: time 0.01094/0.04992, allocations: 4.432 MB / 348.6 MB, free: 13.04 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 4.911414120346308]