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.001056/0.001056, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001513/0.002568, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0006337/0.0006337, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008872/0.001521, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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 0.9061/0.9061, allocations: 173.4 MB / 186 MB, free: 7.523 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1915/1.098, allocations: 52.49 MB / 238.5 MB, free: 7.605 MB / 234.7 MB " [Timeout remaining time 179] 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.934e-06/1.934e-06, allocations: 0 / 239.8 MB, free: 6.301 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.813e-05/2.007e-05, allocations: 2.312 kB / 239.8 MB, free: 6.297 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.003557/0.003578, allocations: 4.039 MB / 243.8 MB, free: 2.258 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001589/0.005166, allocations: 0.9116 MB / 244.7 MB, free: 1.348 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002411/0.005407, allocations: 8 kB / 244.7 MB, free: 1.34 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002257/0.005633, allocations: 95.02 kB / 244.8 MB, free: 1.246 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003256/0.005959, allocations: 199.2 kB / 245 MB, free: 1.051 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002643/0.006223, allocations: 143.7 kB / 245.2 MB, free: 0.9102 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005984/0.006821, allocations: 0.7001 MB / 245.9 MB, free: 212 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002149/0.007036, allocations: 140.3 kB / 246 MB, free: 60 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005682/0.007604, allocations: 456.1 kB / 246.4 MB, free: 15.61 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002364/0.007841, allocations: 224.2 kB / 246.7 MB, free: 15.39 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.546e-05/0.007906, allocations: 56 kB / 246.7 MB, free: 15.34 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.076e-05/0.007967, allocations: 53.31 kB / 246.8 MB, free: 15.29 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.502e-05/0.008032, allocations: 99.56 kB / 246.9 MB, free: 15.19 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.00817, allocations: 175.7 kB / 247 MB, free: 15.02 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003681/0.008538, allocations: 398.5 kB / 247.4 MB, free: 14.63 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.286e-05/0.008551, allocations: 1.5 kB / 247.4 MB, free: 14.63 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.008552, allocations: 0 / 247.4 MB, free: 14.63 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.581e-05/0.008568, allocations: 0 / 247.4 MB, free: 14.63 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.0009301/0.009498, allocations: 0.8964 MB / 248.3 MB, free: 13.71 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.003e-05/0.009528, allocations: 9.375 kB / 248.3 MB, free: 13.7 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.628e-05/0.009624, allocations: 88.86 kB / 248.4 MB, free: 13.61 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/0.009918, allocations: 242.1 kB / 248.7 MB, free: 13.36 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.009942, allocations: 41.97 kB / 248.7 MB, free: 13.32 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.723e-05/0.009999, allocations: 52.38 kB / 248.8 MB, free: 13.27 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004214/0.01042, allocations: 0.5192 MB / 249.3 MB, free: 12.7 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.01043, allocations: 192 / 249.3 MB, free: 12.7 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.444e-05/0.01046, allocations: 21.62 kB / 249.3 MB, free: 12.68 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.01047, allocations: 15.94 kB / 249.3 MB, free: 12.66 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/0.01062, allocations: 120 kB / 249.4 MB, free: 12.54 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001343/0.01196, allocations: 1.23 MB / 250.7 MB, free: 11.25 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.01217, allocations: 180.9 kB / 250.8 MB, free: 11.06 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.355e-05/0.01223, allocations: 73.67 kB / 250.9 MB, free: 10.98 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.01225, allocations: 11.94 kB / 250.9 MB, free: 10.97 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.01228, allocations: 34.81 kB / 251 MB, free: 10.93 MB / 250.7 MB Notification: Performance of pre-optimization done (n=31): time 1.763e-06/0.01228, allocations: 0 / 251 MB, free: 10.93 MB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.0007982/0.01308, allocations: 496.2 kB / 251.4 MB, free: 10.41 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.01311, allocations: 89.03 kB / 251.5 MB, free: 10.3 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.01331, allocations: 335.2 kB / 251.8 MB, free: 9.965 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.01332, allocations: 33.7 kB / 251.9 MB, free: 9.926 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.01342, allocations: 260.7 kB / 252.1 MB, free: 9.668 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.579e-05/0.01348, allocations: 119 kB / 252.3 MB, free: 9.551 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.282e-05/0.01355, allocations: 78.11 kB / 252.3 MB, free: 9.469 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.475e-05/0.01364, allocations: 350.7 kB / 252.7 MB, free: 9.117 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.588e-05/0.01368, allocations: 36.98 kB / 252.7 MB, free: 9.078 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.739e-05/0.01377, allocations: 135.2 kB / 252.8 MB, free: 8.914 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.01394, allocations: 214.9 kB / 253 MB, free: 8.672 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.01394, allocations: 0 / 253 MB, free: 8.672 MB / 250.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003021/0.01424, allocations: 277.3 kB / 253.3 MB, free: 8.391 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.01426, allocations: 4.625 kB / 253.3 MB, free: 8.387 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.01426, allocations: 4 kB / 253.3 MB, free: 8.383 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002895/0.01455, allocations: 97.66 kB / 253.4 MB, free: 8.281 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.01474, allocations: 87.83 kB / 253.5 MB, free: 8.195 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/0.01606, allocations: 2.612 MB / 256.1 MB, free: 5.406 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.01618, allocations: 11.94 kB / 256.1 MB, free: 5.395 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.01619, allocations: 19.98 kB / 256.2 MB, free: 5.375 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 9.709e-05/0.01629, allocations: 129.9 kB / 256.3 MB, free: 5.238 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.798e-05/0.01634, allocations: 35.97 kB / 256.3 MB, free: 5.203 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.687e-05/0.01637, allocations: 43.27 kB / 256.4 MB, free: 5.16 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.01638, allocations: 4 kB / 256.4 MB, free: 5.156 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.01638, allocations: 7.938 kB / 256.4 MB, free: 5.148 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.01639, allocations: 7.922 kB / 256.4 MB, free: 5.141 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000639/0.01703, allocations: 0.5638 MB / 256.9 MB, free: 4.547 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.01703, allocations: 4 kB / 256.9 MB, free: 4.543 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.01717, allocations: 52.03 kB / 257 MB, free: 4.492 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.256e-05/0.01723, allocations: 31.7 kB / 257 MB, free: 4.461 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003477/0.01758, allocations: 121.4 kB / 257.1 MB, free: 4.336 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.01759, allocations: 8 kB / 257.2 MB, free: 4.328 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001533/0.01913, allocations: 2.601 MB / 259.8 MB, free: 1.551 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.01913, allocations: 0 / 259.8 MB, free: 1.551 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003526/0.01948, allocations: 432.9 kB / 260.2 MB, free: 1.105 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.0195, allocations: 4 kB / 260.2 MB, free: 1.102 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.01964, allocations: 27.98 kB / 260.2 MB, free: 1.074 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.372e-05/0.01968, allocations: 27.94 kB / 260.2 MB, free: 1.047 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.0197, allocations: 8 kB / 260.2 MB, free: 1.039 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.183e-05/0.01979, allocations: 140.7 kB / 260.4 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01979, allocations: 0 / 260.4 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003226/0.02011, allocations: 116 kB / 260.5 MB, free: 0.7891 MB / 250.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.0001146/0.02022, allocations: 92.36 kB / 260.6 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003819/0.02061, allocations: 425.7 kB / 261 MB, free: 260 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.592e-05/0.02062, allocations: 11.98 kB / 261 MB, free: 248 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002519/0.02087, allocations: 358.4 kB / 261.4 MB, free: 15.86 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003935/0.02127, allocations: 450.4 kB / 261.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00338/0.02465, allocations: 0.9166 MB / 262.7 MB, free: 14.39 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.182e-05/0.02472, allocations: 121.9 kB / 262.8 MB, free: 14.25 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000102/0.02482, allocations: 43.25 kB / 262.9 MB, free: 14.2 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.02496, allocations: 123.3 kB / 263 MB, free: 14.08 MB / 266.7 MB Notification: Performance of SimCode: time 1.002e-06/0.02497, allocations: 4 kB / 263 MB, free: 14.08 MB / 266.7 MB Notification: Performance of Templates: time 0.00696/0.03192, allocations: 5.007 MB / 268 MB, free: 9.16 MB / 266.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8240076079964638]