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.00158/0.00158, allocations: 84.98 kB / 22.99 MB, free: 1.504 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.001249/0.001249, allocations: 176.2 kB / 26.39 MB, free: 7.965 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.9346/0.9346, allocations: 158.6 MB / 188.3 MB, free: 2.824 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.533e-06/1.533e-06, allocations: 3.938 kB / 252.3 MB, free: 7.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.296e-05/2.45e-05, allocations: 10.25 kB / 252.3 MB, free: 7.215 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.004732/0.004756, allocations: 3.926 MB / 256.2 MB, free: 3.262 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001495/0.006251, allocations: 0.9043 MB / 257.1 MB, free: 2.348 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000218/0.006469, allocations: 8 kB / 257.1 MB, free: 2.34 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001795/0.006649, allocations: 99 kB / 257.2 MB, free: 2.242 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002626/0.006911, allocations: 190.3 kB / 257.4 MB, free: 2.055 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002656/0.007177, allocations: 143.7 kB / 257.5 MB, free: 1.914 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004366/0.007613, allocations: 0.7001 MB / 258.2 MB, free: 1.211 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002105/0.007824, allocations: 139.6 kB / 258.4 MB, free: 1.066 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003042/0.008128, allocations: 395.1 kB / 258.8 MB, free: 0.6797 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001994/0.008328, allocations: 215.3 kB / 259 MB, free: 480 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.407e-05/0.008382, allocations: 55.94 kB / 259 MB, free: 424 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.323e-05/0.008435, allocations: 56 kB / 259.1 MB, free: 368 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.644e-05/0.008511, allocations: 139.4 kB / 259.2 MB, free: 228 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.008652, allocations: 211.4 kB / 259.4 MB, free: 16 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000346/0.008998, allocations: 438.5 kB / 259.9 MB, free: 15.58 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.009001, allocations: 4 kB / 259.9 MB, free: 15.58 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.009002, allocations: 4 kB / 259.9 MB, free: 15.57 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.009007, allocations: 0 / 259.9 MB, free: 15.57 MB / 250.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.0008839/0.009891, allocations: 0.9006 MB / 260.8 MB, free: 14.64 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.009923, allocations: 11.98 kB / 260.8 MB, free: 14.62 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.771e-05/0.01002, allocations: 104.6 kB / 260.9 MB, free: 14.52 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003093/0.01033, allocations: 312.1 kB / 261.2 MB, free: 14.19 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.01035, allocations: 37.38 kB / 261.2 MB, free: 14.16 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.087e-05/0.0104, allocations: 52.38 kB / 261.3 MB, free: 14.11 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003878/0.01079, allocations: 0.5109 MB / 261.8 MB, free: 13.54 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.01081, allocations: 4.172 kB / 261.8 MB, free: 13.53 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.942e-05/0.01084, allocations: 24.38 kB / 261.8 MB, free: 13.51 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.01085, allocations: 15.94 kB / 261.8 MB, free: 13.49 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.01101, allocations: 132 kB / 262 MB, free: 13.36 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001432/0.01244, allocations: 1.516 MB / 263.5 MB, free: 11.77 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000213/0.01266, allocations: 213.7 kB / 263.7 MB, free: 11.54 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002185/0.01288, allocations: 87.31 kB / 263.8 MB, free: 11.45 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.01289, allocations: 8.312 kB / 263.8 MB, free: 11.44 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.01292, allocations: 41.38 kB / 263.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of pre-optimization done (n=31): time 1.463e-06/0.01292, allocations: 4 kB / 263.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.0007951/0.01371, allocations: 0.5345 MB / 264.4 MB, free: 10.81 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.01374, allocations: 81.11 kB / 264.4 MB, free: 10.71 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.01396, allocations: 394.4 kB / 264.8 MB, free: 10.31 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.01398, allocations: 29.7 kB / 264.8 MB, free: 10.27 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.01411, allocations: 346.8 kB / 265.2 MB, free: 9.93 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.645e-05/0.01417, allocations: 122.9 kB / 265.3 MB, free: 9.809 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.229e-05/0.01424, allocations: 79.78 kB / 265.4 MB, free: 9.723 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.01437, allocations: 0.5195 MB / 265.9 MB, free: 9.191 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.39e-05/0.01442, allocations: 44.95 kB / 265.9 MB, free: 9.148 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.01453, allocations: 169.1 kB / 266.1 MB, free: 8.934 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.01472, allocations: 239.9 kB / 266.3 MB, free: 8.648 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.01472, allocations: 0 / 266.3 MB, free: 8.648 MB / 250.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003539/0.01507, allocations: 332.3 kB / 266.7 MB, free: 8.309 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.01509, allocations: 11.94 kB / 266.7 MB, free: 8.297 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.01509, allocations: 0 / 266.7 MB, free: 8.297 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002948/0.01539, allocations: 107.5 kB / 266.8 MB, free: 8.184 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.01556, allocations: 83.89 kB / 266.9 MB, free: 8.102 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001993/0.01755, allocations: 3.8 MB / 270.7 MB, free: 4.074 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.01767, allocations: 15.95 kB / 270.7 MB, free: 4.059 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/0.01769, allocations: 16 kB / 270.7 MB, free: 4.043 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,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001256/0.01782, allocations: 180.4 kB / 270.9 MB, free: 3.855 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.409e-05/0.01788, allocations: 51.77 kB / 270.9 MB, free: 3.805 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.828e-05/0.01792, allocations: 51.19 kB / 271 MB, free: 3.758 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.01792, allocations: 4.188 kB / 271 MB, free: 3.754 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.01793, allocations: 12.06 kB / 271 MB, free: 3.742 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.01793, allocations: 0 / 271 MB, free: 3.742 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006345/0.01857, allocations: 0.7386 MB / 271.7 MB, free: 2.961 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.01857, allocations: 4 kB / 271.7 MB, free: 2.957 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.632e-05/0.01867, allocations: 43.92 kB / 271.8 MB, free: 2.914 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002612/0.01893, allocations: 107.2 kB / 271.9 MB, free: 2.801 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.01895, allocations: 11.98 kB / 271.9 MB, free: 2.789 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001816/0.02076, allocations: 3.816 MB / 275.7 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.02076, allocations: 8.094 kB / 275.7 MB, free: 14.74 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004464/0.02121, allocations: 0.5605 MB / 276.3 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.988e-05/0.02125, allocations: 35.75 kB / 276.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.02128, allocations: 8 kB / 276.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.02144, allocations: 27.98 kB / 276.4 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.982e-05/0.02149, allocations: 35.88 kB / 276.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.0215, allocations: 7.938 kB / 276.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001366/0.02164, allocations: 263 kB / 276.6 MB, free: 13.78 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02164, allocations: 0 / 276.6 MB, free: 13.78 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003433/0.02198, allocations: 116 kB / 276.8 MB, free: 13.67 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 9.783e-05/0.02208, allocations: 99.25 kB / 276.9 MB, free: 13.56 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004302/0.02251, allocations: 0.5334 MB / 277.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.02251, allocations: 0 / 277.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002813/0.02279, allocations: 463.1 kB / 277.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.0231, allocations: 66.22 kB / 277.9 MB, free: 12.44 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.02419, allocations: 0.8726 MB / 278.8 MB, free: 11.53 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.009e-05/0.02426, allocations: 113.8 kB / 278.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.166e-05/0.02436, allocations: 39.27 kB / 278.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001491/0.02451, allocations: 150.2 kB / 279.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of SimCode: time 9.32e-07/0.02451, allocations: 0 / 279.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of Templates: time 0.008667/0.03317, allocations: 4.929 MB / 284 MB, free: 6.324 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.209805633407086]