Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.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.0009833/0.0009833, allocations: 73.11 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001422/0.002406, allocations: 453.8 kB / 10.45 MB, free: 248 kB / 10.45 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.001019/0.001019, allocations: 157.2 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00134/0.002359, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9572/0.9572, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.123/1.08, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Lines.CompareLosslessLines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|line1.v1|line1.v2|line1.i1|line1.i2|line2.v1|line2.v2|line2.i1|line2.i2|line3.v1|line3.v2|line3.i1|line3.i2",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines") translateModel(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|line1.v1|line1.v2|line1.i1|line1.i2|line2.v1|line2.v2|line2.i1|line2.i2|line3.v1|line3.v2|line3.i1|line3.i2",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 244.7 MB, free: 14.18 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.367e-05/1.526e-05, allocations: 2.312 kB / 244.7 MB, free: 14.18 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.003378/0.003393, allocations: 3.597 MB / 248.3 MB, free: 10.55 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001424/0.004817, allocations: 0.911 MB / 249.3 MB, free: 9.641 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001678/0.004985, allocations: 8 kB / 249.3 MB, free: 9.633 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.005111, allocations: 83.2 kB / 249.3 MB, free: 9.551 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002406/0.005351, allocations: 154.6 kB / 249.5 MB, free: 9.398 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002888/0.00564, allocations: 195.7 kB / 249.7 MB, free: 9.207 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005354/0.006175, allocations: 0.6385 MB / 250.3 MB, free: 8.566 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001887/0.006364, allocations: 171.3 kB / 250.5 MB, free: 8.395 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003452/0.006709, allocations: 411.8 kB / 250.9 MB, free: 7.992 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/0.006923, allocations: 211.4 kB / 251.1 MB, free: 7.785 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.923e-05/0.006982, allocations: 56 kB / 251.2 MB, free: 7.73 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.993e-05/0.007042, allocations: 60 kB / 251.2 MB, free: 7.672 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.279e-05/0.007105, allocations: 99.67 kB / 251.3 MB, free: 7.574 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.007223, allocations: 159.8 kB / 251.5 MB, free: 7.418 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00043/0.007653, allocations: 374.7 kB / 251.8 MB, free: 7.051 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.155e-05/0.007664, allocations: 0 / 251.8 MB, free: 7.051 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.007665, allocations: 0 / 251.8 MB, free: 7.051 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.007676, allocations: 4 kB / 251.8 MB, free: 7.047 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0009152/0.008591, allocations: 0.8677 MB / 252.7 MB, free: 6.145 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.817e-05/0.008619, allocations: 8.031 kB / 252.7 MB, free: 6.137 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.453e-05/0.008713, allocations: 88.86 kB / 252.8 MB, free: 6.051 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/0.008972, allocations: 229.3 kB / 253 MB, free: 5.801 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.008994, allocations: 41.3 kB / 253.1 MB, free: 5.762 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.296e-05/0.009037, allocations: 52.38 kB / 253.1 MB, free: 5.711 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004055/0.009443, allocations: 0.6404 MB / 253.8 MB, free: 4.98 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.009455, allocations: 192 / 253.8 MB, free: 4.98 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.672e-05/0.009482, allocations: 23.94 kB / 253.8 MB, free: 4.957 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.009493, allocations: 12 kB / 253.8 MB, free: 4.945 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.009621, allocations: 107 kB / 253.9 MB, free: 4.84 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001367/0.01099, allocations: 1.156 MB / 255 MB, free: 3.602 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.01117, allocations: 134.4 kB / 255.2 MB, free: 3.461 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.445e-05/0.01122, allocations: 40.84 kB / 255.2 MB, free: 3.418 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.01123, allocations: 4 kB / 255.2 MB, free: 3.414 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001887/0.01142, allocations: 264.5 kB / 255.5 MB, free: 3.102 MB / 250.7 MB Notification: Performance of pre-optimization done (n=27): time 1.352e-06/0.01142, allocations: 4 kB / 255.5 MB, free: 3.098 MB / 250.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004958/0.01192, allocations: 315.2 kB / 255.8 MB, free: 2.773 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.01194, allocations: 55.41 kB / 255.8 MB, free: 2.707 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.01209, allocations: 266.9 kB / 256.1 MB, free: 2.434 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.01211, allocations: 33.7 kB / 256.1 MB, free: 2.395 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.492e-05/0.0122, allocations: 256.6 kB / 256.4 MB, free: 2.141 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.35e-05/0.01225, allocations: 99.14 kB / 256.5 MB, free: 2.043 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.129e-05/0.01232, allocations: 82.03 kB / 256.6 MB, free: 1.953 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.2e-05/0.01239, allocations: 346.7 kB / 256.9 MB, free: 1.605 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.195e-05/0.01244, allocations: 66.36 kB / 257 MB, free: 1.535 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.01262, allocations: 484 kB / 257.4 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.01278, allocations: 242.7 kB / 257.7 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.01278, allocations: 0 / 257.7 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003624/0.01314, allocations: 388.2 kB / 258.1 MB, free: 244 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.084e-05/0.01318, allocations: 37.69 kB / 258.1 MB, free: 200 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.01318, allocations: 4 kB / 258.1 MB, free: 196 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003995/0.01358, allocations: 190.5 kB / 258.3 MB, free: 15.99 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.01368, allocations: 59.86 kB / 258.3 MB, free: 15.94 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002257/0.01594, allocations: 4.05 MB / 262.4 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.01608, allocations: 55.72 kB / 262.4 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.0161, allocations: 12 kB / 262.5 MB, free: 11.56 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.923e-05/0.01619, allocations: 137.8 kB / 262.6 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.997e-05/0.01622, allocations: 31.97 kB / 262.6 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.973e-05/0.01625, allocations: 38.98 kB / 262.7 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.01625, allocations: 3.938 kB / 262.7 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.01625, allocations: 4 kB / 262.7 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.01626, allocations: 0 / 262.7 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/0.01641, allocations: 197.6 kB / 262.9 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.01641, allocations: 0 / 262.9 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.01652, allocations: 51.95 kB / 262.9 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.645e-05/0.01654, allocations: 31.75 kB / 262.9 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002156/0.01676, allocations: 127.2 kB / 263.1 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.01677, allocations: 3.984 kB / 263.1 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00173/0.0185, allocations: 4.864 MB / 267.9 MB, free: 5.695 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.0185, allocations: 240 / 267.9 MB, free: 5.695 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00022/0.01872, allocations: 232.4 kB / 268.2 MB, free: 5.438 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.01874, allocations: 7.984 kB / 268.2 MB, free: 5.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.931e-05/0.01884, allocations: 32.02 kB / 268.2 MB, free: 5.398 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.248e-05/0.01892, allocations: 59.84 kB / 268.3 MB, free: 5.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.647e-06/0.01892, allocations: 4 kB / 268.3 MB, free: 5.336 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.083e-05/0.019, allocations: 100.6 kB / 268.4 MB, free: 5.238 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.019, allocations: 0 / 268.4 MB, free: 5.238 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002903/0.01929, allocations: 151.7 kB / 268.5 MB, free: 5.09 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.812e-05/0.01937, allocations: 96.41 kB / 268.6 MB, free: 4.988 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007203/0.02009, allocations: 0.6392 MB / 269.2 MB, free: 4.289 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/0.02011, allocations: 12.09 kB / 269.3 MB, free: 4.277 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002908/0.0204, allocations: 0.55 MB / 269.8 MB, free: 3.672 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.02069, allocations: 464.6 kB / 270.3 MB, free: 3.141 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/0.02291, allocations: 0.6844 MB / 270.9 MB, free: 2.422 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.401e-05/0.02297, allocations: 109.8 kB / 271.1 MB, free: 2.297 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.598e-05/0.02305, allocations: 39.02 kB / 271.1 MB, free: 2.262 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001827/0.02324, allocations: 139.3 kB / 271.2 MB, free: 2.125 MB / 266.7 MB Notification: Performance of SimCode: time 7.71e-07/0.02324, allocations: 3.938 kB / 271.2 MB, free: 2.121 MB / 266.7 MB Notification: Performance of Templates: time 0.008698/0.03194, allocations: 6.916 MB / 278.1 MB, free: 11.3 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Lines/CompareLosslessLines/CompareLosslessLines.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.771894640289247]