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.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.0009627/0.0009627, allocations: 75.77 kB / 22.46 MB, free: 2.09 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.0009452/0.0009452, allocations: 164.1 kB / 25.75 MB, free: 8.93 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.9767/0.9767, allocations: 158.6 MB / 187.5 MB, free: 2.902 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.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: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 251.1 MB, free: 7.773 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.638e-05/1.835e-05, allocations: 2.312 kB / 251.1 MB, free: 7.77 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.003555/0.003573, allocations: 3.973 MB / 255.1 MB, free: 3.773 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.004935, allocations: 0.9121 MB / 256 MB, free: 2.852 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001717/0.005107, allocations: 8 kB / 256 MB, free: 2.844 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001726/0.005279, allocations: 95.02 kB / 256.1 MB, free: 2.75 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002512/0.005531, allocations: 190.3 kB / 256.3 MB, free: 2.559 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000295/0.005826, allocations: 151.7 kB / 256.5 MB, free: 2.41 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005069/0.006332, allocations: 0.7001 MB / 257.2 MB, free: 1.707 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002244/0.006557, allocations: 139.6 kB / 257.3 MB, free: 1.562 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003566/0.006914, allocations: 391.1 kB / 257.7 MB, free: 1.18 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.007124, allocations: 215.3 kB / 257.9 MB, free: 0.9688 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.153e-05/0.007185, allocations: 56 kB / 257.9 MB, free: 0.9141 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.285e-05/0.007238, allocations: 56 kB / 258 MB, free: 0.8594 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.5e-05/0.007313, allocations: 131.4 kB / 258.1 MB, free: 0.7305 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000148/0.007461, allocations: 219.4 kB / 258.3 MB, free: 0.5156 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003684/0.007829, allocations: 438.4 kB / 258.8 MB, free: 88 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.007834, allocations: 4 kB / 258.8 MB, free: 84 kB / 234.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.007834, allocations: 0 / 258.8 MB, free: 84 kB / 234.7 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.00784, allocations: 0 / 258.8 MB, free: 84 kB / 234.7 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.000946/0.008786, allocations: 0.9009 MB / 259.7 MB, free: 15.14 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.008824, allocations: 11.98 kB / 259.7 MB, free: 15.13 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.008943, allocations: 108.5 kB / 259.8 MB, free: 15.02 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003465/0.009289, allocations: 312.1 kB / 260.1 MB, free: 14.69 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/0.009315, allocations: 37.38 kB / 260.1 MB, free: 14.66 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.667e-05/0.009372, allocations: 52.38 kB / 260.2 MB, free: 14.61 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005184/0.00989, allocations: 0.5383 MB / 260.7 MB, free: 14.01 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.009903, allocations: 192 / 260.7 MB, free: 14.01 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.252e-05/0.009936, allocations: 20.38 kB / 260.7 MB, free: 13.99 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.009952, allocations: 15.94 kB / 260.8 MB, free: 13.97 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002694/0.01022, allocations: 186.7 kB / 260.9 MB, free: 13.79 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001589/0.01181, allocations: 1.574 MB / 262.5 MB, free: 12.13 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002826/0.01209, allocations: 222 kB / 262.7 MB, free: 11.89 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.0122, allocations: 98.95 kB / 262.8 MB, free: 11.79 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.01222, allocations: 12.06 kB / 262.8 MB, free: 11.78 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.01225, allocations: 45.39 kB / 262.9 MB, free: 11.73 MB / 250.7 MB Notification: Performance of pre-optimization done (n=31): time 1.333e-06/0.01225, allocations: 4 kB / 262.9 MB, free: 11.72 MB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.001054/0.01331, allocations: 0.6976 MB / 263.6 MB, free: 10.98 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.01334, allocations: 85.05 kB / 263.7 MB, free: 10.88 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002853/0.01363, allocations: 398.6 kB / 264.1 MB, free: 10.47 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.01365, allocations: 33.7 kB / 264.1 MB, free: 10.43 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.0138, allocations: 354.8 kB / 264.4 MB, free: 10.08 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.981e-05/0.01386, allocations: 111 kB / 264.5 MB, free: 9.973 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.768e-05/0.01394, allocations: 75.81 kB / 264.6 MB, free: 9.891 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.01407, allocations: 0.5157 MB / 265.1 MB, free: 9.363 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.977e-05/0.01416, allocations: 56.95 kB / 265.2 MB, free: 9.309 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.0143, allocations: 181.2 kB / 265.4 MB, free: 9.078 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002491/0.01455, allocations: 259.9 kB / 265.6 MB, free: 8.773 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.01456, allocations: 7.938 kB / 265.6 MB, free: 8.766 MB / 250.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004336/0.01499, allocations: 368.3 kB / 266 MB, free: 8.391 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.01501, allocations: 8 kB / 266 MB, free: 8.383 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.01501, allocations: 4 kB / 266 MB, free: 8.379 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003452/0.01536, allocations: 107.4 kB / 266.1 MB, free: 8.266 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001907/0.01555, allocations: 75.84 kB / 266.2 MB, free: 8.191 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001724/0.01727, allocations: 3.854 MB / 270 MB, free: 4.094 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.0174, allocations: 15.98 kB / 270 MB, free: 4.078 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.01742, allocations: 16 kB / 270.1 MB, free: 4.062 MB / 250.7 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.000121/0.01754, allocations: 188.5 kB / 270.2 MB, free: 3.867 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.085e-05/0.0176, allocations: 51.72 kB / 270.3 MB, free: 3.816 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.626e-05/0.01763, allocations: 47.27 kB / 270.3 MB, free: 3.773 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.01764, allocations: 4 kB / 270.3 MB, free: 3.77 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.01764, allocations: 3.984 kB / 270.3 MB, free: 3.766 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.01765, allocations: 0 / 270.3 MB, free: 3.766 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007568/0.0184, allocations: 0.8349 MB / 271.2 MB, free: 2.883 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.0184, allocations: 0 / 271.2 MB, free: 2.883 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.516e-05/0.0185, allocations: 35.98 kB / 271.2 MB, free: 2.848 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000275/0.01878, allocations: 115.2 kB / 271.3 MB, free: 2.727 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.01879, allocations: 7.938 kB / 271.3 MB, free: 2.719 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001586/0.02038, allocations: 3.862 MB / 275.2 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.02038, allocations: 0 / 275.2 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004868/0.02086, allocations: 0.5884 MB / 275.8 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.21e-05/0.02091, allocations: 47.72 kB / 275.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.02093, allocations: 12 kB / 275.8 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.02109, allocations: 23.98 kB / 275.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.765e-05/0.02115, allocations: 23.95 kB / 275.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.02116, allocations: 12.19 kB / 275.9 MB, free: 13.88 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001745/0.02133, allocations: 275.1 kB / 276.2 MB, free: 13.61 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02133, allocations: 0 / 276.2 MB, free: 13.61 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003657/0.0217, allocations: 116 kB / 276.3 MB, free: 13.5 MB / 266.7 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.0001122/0.02181, allocations: 111.2 kB / 276.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005336/0.02235, allocations: 0.5531 MB / 276.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.02235, allocations: 0 / 276.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003239/0.02267, allocations: 471.3 kB / 277.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.02298, allocations: 61.8 kB / 277.5 MB, free: 12.23 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.02428, allocations: 0.886 MB / 278.4 MB, free: 11.31 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.011e-05/0.02436, allocations: 121.7 kB / 278.5 MB, free: 11.17 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001016/0.02446, allocations: 39.27 kB / 278.5 MB, free: 11.13 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.834e-05/0.02452, allocations: 32.5 kB / 278.5 MB, free: 11.1 MB / 266.7 MB Notification: Performance of SimCode: time 9.31e-07/0.02452, allocations: 0 / 278.5 MB, free: 11.1 MB / 266.7 MB Notification: Performance of Templates: time 0.007533/0.03205, allocations: 4.522 MB / 283.1 MB, free: 6.617 MB / 266.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.316667737904936]