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.001265/0.001265, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.001424/0.001424, allocations: 173.1 kB / 25.61 MB, free: 8.457 MB / 18.57 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.9315/0.9315, allocations: 177.1 MB / 206 MB, free: 4.512 MB / 186.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.573e-06/1.573e-06, allocations: 0 / 274.2 MB, free: 4.371 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.657e-05/2.814e-05, allocations: 2.312 kB / 274.2 MB, free: 4.367 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.005437/0.005465, allocations: 3.518 MB / 277.7 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002006/0.007472, allocations: 0.867 MB / 278.6 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002614/0.007733, allocations: 8 kB / 278.6 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002355/0.007968, allocations: 79.22 kB / 278.7 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004343/0.008403, allocations: 159.8 kB / 278.9 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004786/0.008881, allocations: 211.5 kB / 279.1 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006615/0.009543, allocations: 0.6424 MB / 279.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002938/0.009837, allocations: 145.4 kB / 279.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004482/0.01028, allocations: 375.2 kB / 280.2 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003554/0.01064, allocations: 219.3 kB / 280.4 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.463e-05/0.01073, allocations: 60 kB / 280.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.708e-05/0.01082, allocations: 60 kB / 280.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.01093, allocations: 127.5 kB / 280.7 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002139/0.01114, allocations: 195.6 kB / 280.9 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004999/0.01164, allocations: 430.5 kB / 281.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.01165, allocations: 4 kB / 281.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.01165, allocations: 0 / 281.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.01165, allocations: 0 / 281.3 MB, free: 13.29 MB / 266.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.001346/0.013, allocations: 0.8872 MB / 282.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.01304, allocations: 19.98 kB / 282.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000157/0.0132, allocations: 92.61 kB / 282.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004722/0.01367, allocations: 291.9 kB / 282.6 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.601e-05/0.01371, allocations: 33.38 kB / 282.6 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.893e-05/0.01378, allocations: 52.38 kB / 282.7 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006719/0.01445, allocations: 0.6403 MB / 283.3 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.01447, allocations: 192 / 283.3 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.781e-05/0.01451, allocations: 31.92 kB / 283.3 MB, free: 11.08 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.01453, allocations: 12 kB / 283.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002592/0.01479, allocations: 126.9 kB / 283.5 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002034/0.01682, allocations: 1.367 MB / 284.8 MB, free: 9.488 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000277/0.0171, allocations: 139 kB / 285 MB, free: 9.34 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.45e-05/0.01718, allocations: 47.66 kB / 285 MB, free: 9.289 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.0172, allocations: 4 kB / 285 MB, free: 9.285 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002948/0.0175, allocations: 292.2 kB / 285.3 MB, free: 8.938 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 2.214e-06/0.0175, allocations: 0 / 285.3 MB, free: 8.938 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.00089/0.01839, allocations: 363.9 kB / 285.7 MB, free: 8.562 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/0.01851, allocations: 320.4 kB / 286 MB, free: 8.176 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000274/0.01879, allocations: 330 kB / 286.3 MB, free: 7.836 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.01882, allocations: 33.7 kB / 286.3 MB, free: 7.797 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.019, allocations: 326.8 kB / 286.6 MB, free: 7.473 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.864e-05/0.01907, allocations: 95.14 kB / 286.7 MB, free: 7.379 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.0192, allocations: 91.62 kB / 286.8 MB, free: 7.277 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.01935, allocations: 0.5117 MB / 287.3 MB, free: 6.754 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000184/0.01954, allocations: 66.42 kB / 287.4 MB, free: 6.684 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004027/0.01994, allocations: 0.54 MB / 287.9 MB, free: 5.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003342/0.02027, allocations: 263 kB / 288.2 MB, free: 5.664 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.02028, allocations: 4 kB / 288.2 MB, free: 5.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005366/0.02081, allocations: 462 kB / 288.6 MB, free: 5.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.22e-05/0.02085, allocations: 33.7 kB / 288.7 MB, free: 5.141 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.02085, allocations: 4 kB / 288.7 MB, free: 5.137 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004581/0.02131, allocations: 202.8 kB / 288.9 MB, free: 4.926 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.02142, allocations: 47.91 kB / 288.9 MB, free: 4.879 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002602/0.02402, allocations: 5.827 MB / 294.8 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.02419, allocations: 59.72 kB / 294.8 MB, free: 14.65 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.02421, allocations: 16.06 kB / 294.8 MB, free: 14.64 MB / 282.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 0.0001194/0.02433, allocations: 180.5 kB / 295 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.204e-05/0.02437, allocations: 43.75 kB / 295.1 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.529e-05/0.02441, allocations: 38.98 kB / 295.1 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.02441, allocations: 4.047 kB / 295.1 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.02442, allocations: 3.984 kB / 295.1 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.02442, allocations: 3.984 kB / 295.1 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.0246, allocations: 237.1 kB / 295.3 MB, free: 14.1 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.02461, allocations: 4 kB / 295.3 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.85e-05/0.02468, allocations: 31.98 kB / 295.4 MB, free: 14.06 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002442/0.02493, allocations: 126.6 kB / 295.5 MB, free: 13.92 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.02494, allocations: 11.98 kB / 295.5 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002465/0.02741, allocations: 7.158 MB / 302.7 MB, free: 6.301 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.02741, allocations: 3.984 kB / 302.7 MB, free: 6.297 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003215/0.02773, allocations: 294.9 kB / 303 MB, free: 5.969 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.353e-05/0.02776, allocations: 39.73 kB / 303 MB, free: 5.93 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/0.02779, allocations: 4 kB / 303 MB, free: 5.926 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.02791, allocations: 36 kB / 303 MB, free: 5.891 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.904e-05/0.028, allocations: 59.84 kB / 303.1 MB, free: 5.832 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.02801, allocations: 4 kB / 303.1 MB, free: 5.828 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001194/0.02813, allocations: 215 kB / 303.3 MB, free: 5.617 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02813, allocations: 0 / 303.3 MB, free: 5.617 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004231/0.02855, allocations: 155.7 kB / 303.5 MB, free: 5.465 MB / 282.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 0.0001237/0.02867, allocations: 115.2 kB / 303.6 MB, free: 5.344 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006249/0.0293, allocations: 0.8148 MB / 304.4 MB, free: 4.453 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.0293, allocations: 0 / 304.4 MB, free: 4.453 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003821/0.02968, allocations: 0.7684 MB / 305.2 MB, free: 3.609 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.02993, allocations: 53.2 kB / 305.2 MB, free: 3.555 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009301/0.03086, allocations: 0.651 MB / 305.9 MB, free: 2.871 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.852e-05/0.03093, allocations: 109.8 kB / 306 MB, free: 2.742 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.626e-05/0.03103, allocations: 35.11 kB / 306 MB, free: 2.703 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002023/0.03123, allocations: 170.1 kB / 306.2 MB, free: 2.535 MB / 282.7 MB Notification: Performance of SimCode: time 8.22e-07/0.03123, allocations: 0 / 306.2 MB, free: 2.535 MB / 282.7 MB Notification: Performance of Templates: time 0.01054/0.04177, allocations: 6.686 MB / 312.8 MB, free: 11.95 MB / 298.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8254641368985176]