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.0009177/0.0009177, allocations: 81.86 kB / 21.42 MB, free: 3.078 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.001073/0.001073, allocations: 169.1 kB / 24.82 MB, free: 8.867 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.9549/0.9549, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.493e-06/1.493e-06, allocations: 0 / 273.4 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.972e-05/2.121e-05, allocations: 2.312 kB / 273.4 MB, free: 1.227 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.003324/0.003345, allocations: 3.522 MB / 277 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.005276, allocations: 0.8725 MB / 277.8 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001901/0.005466, allocations: 8 kB / 277.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000174/0.00564, allocations: 83.16 kB / 277.9 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003159/0.005956, allocations: 154.7 kB / 278.1 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003793/0.006335, allocations: 203.6 kB / 278.3 MB, free: 12.37 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005151/0.00685, allocations: 0.6384 MB / 278.9 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002266/0.007077, allocations: 157.4 kB / 279.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000382/0.007459, allocations: 363.2 kB / 279.4 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002357/0.007694, allocations: 227.3 kB / 279.6 MB, free: 10.99 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.258e-05/0.007757, allocations: 56 kB / 279.7 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.004e-05/0.007817, allocations: 60 kB / 279.8 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.645e-05/0.007893, allocations: 131.5 kB / 279.9 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.008023, allocations: 203.5 kB / 280.1 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003507/0.008374, allocations: 426.5 kB / 280.5 MB, free: 10.13 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.008376, allocations: 4 kB / 280.5 MB, free: 10.13 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.008377, allocations: 0 / 280.5 MB, free: 10.13 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.008383, allocations: 0 / 280.5 MB, free: 10.13 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.0009872/0.00937, allocations: 0.8911 MB / 281.4 MB, free: 9.195 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.009413, allocations: 12.03 kB / 281.4 MB, free: 9.184 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.951e-05/0.009513, allocations: 96.61 kB / 281.5 MB, free: 9.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003006/0.009813, allocations: 288 kB / 281.8 MB, free: 8.777 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.312e-05/0.009846, allocations: 37.31 kB / 281.8 MB, free: 8.738 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.532e-05/0.009892, allocations: 48.38 kB / 281.9 MB, free: 8.691 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004952/0.01039, allocations: 0.6442 MB / 282.5 MB, free: 7.953 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.0104, allocations: 192 / 282.5 MB, free: 7.953 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.939e-05/0.01043, allocations: 31.88 kB / 282.5 MB, free: 7.922 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.01044, allocations: 12 kB / 282.5 MB, free: 7.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.0106, allocations: 130.9 kB / 282.7 MB, free: 7.781 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001395/0.01199, allocations: 1.351 MB / 284 MB, free: 6.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.0122, allocations: 146.9 kB / 284.2 MB, free: 6.184 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.234e-05/0.01225, allocations: 47.66 kB / 284.2 MB, free: 6.133 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.01227, allocations: 11.94 kB / 284.2 MB, free: 6.121 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005423/0.01281, allocations: 284.3 kB / 284.5 MB, free: 5.781 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.563e-06/0.01281, allocations: 0 / 284.5 MB, free: 5.781 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006364/0.01345, allocations: 378.4 kB / 284.9 MB, free: 5.391 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.01355, allocations: 316.4 kB / 285.2 MB, free: 5.008 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/0.01376, allocations: 334 kB / 285.5 MB, free: 4.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.01378, allocations: 29.7 kB / 285.5 MB, free: 4.625 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.01393, allocations: 326.8 kB / 285.9 MB, free: 4.301 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.935e-05/0.01398, allocations: 91.22 kB / 285.9 MB, free: 4.211 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.01409, allocations: 91.64 kB / 286 MB, free: 4.109 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.01422, allocations: 0.5156 MB / 286.6 MB, free: 3.582 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.514e-05/0.01429, allocations: 70.42 kB / 286.6 MB, free: 3.508 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002403/0.01453, allocations: 0.5399 MB / 287.2 MB, free: 2.805 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.01473, allocations: 263.9 kB / 287.4 MB, free: 2.488 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.01474, allocations: 4 kB / 287.4 MB, free: 2.484 MB / 266.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005061/0.01524, allocations: 456.6 kB / 287.9 MB, free: 2.008 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.086e-05/0.01527, allocations: 33.7 kB / 287.9 MB, free: 1.969 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.01528, allocations: 4 kB / 287.9 MB, free: 1.965 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004447/0.01572, allocations: 198.8 kB / 288.1 MB, free: 1.758 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.01583, allocations: 55.91 kB / 288.2 MB, free: 1.703 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003181/0.01901, allocations: 5.827 MB / 294 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.01919, allocations: 59.78 kB / 294 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.01921, allocations: 12 kB / 294.1 MB, free: 11.46 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.0001295/0.01934, allocations: 192.4 kB / 294.2 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.395e-05/0.01939, allocations: 43.75 kB / 294.3 MB, free: 11.22 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.321e-05/0.01942, allocations: 38.98 kB / 294.3 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.01942, allocations: 4 kB / 294.3 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.01943, allocations: 7.984 kB / 294.3 MB, free: 11.17 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.01943, allocations: 0 / 294.3 MB, free: 11.17 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.01963, allocations: 221 kB / 294.6 MB, free: 10.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.01963, allocations: 4 kB / 294.6 MB, free: 10.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.706e-05/0.01971, allocations: 27.98 kB / 294.6 MB, free: 10.9 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002622/0.01997, allocations: 142.5 kB / 294.7 MB, free: 10.74 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.01998, allocations: 4 kB / 294.7 MB, free: 10.74 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002749/0.02273, allocations: 7.162 MB / 301.9 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.02273, allocations: 0 / 301.9 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003453/0.02308, allocations: 306.5 kB / 302.2 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.754e-05/0.02311, allocations: 35.83 kB / 302.2 MB, free: 2.75 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.986e-05/0.02314, allocations: 12 kB / 302.2 MB, free: 2.738 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.02325, allocations: 27.98 kB / 302.3 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.847e-05/0.02334, allocations: 55.91 kB / 302.3 MB, free: 2.656 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.02335, allocations: 7.984 kB / 302.3 MB, free: 2.648 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001179/0.02347, allocations: 218.9 kB / 302.5 MB, free: 2.434 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02347, allocations: 0 / 302.5 MB, free: 2.434 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004397/0.02391, allocations: 151.7 kB / 302.7 MB, free: 2.285 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.0001175/0.02403, allocations: 115.1 kB / 302.8 MB, free: 2.164 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006121/0.02464, allocations: 0.8105 MB / 303.6 MB, free: 1.277 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.02465, allocations: 3.938 kB / 303.6 MB, free: 1.273 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004043/0.02505, allocations: 0.7653 MB / 304.4 MB, free: 444 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.02529, allocations: 64.83 kB / 304.4 MB, free: 376 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1052/0.1305, allocations: 0.6414 MB / 305.1 MB, free: 38.14 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.636e-05/0.1306, allocations: 111.7 kB / 305.2 MB, free: 38.07 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001622/0.1307, allocations: 40.11 kB / 305.2 MB, free: 38.07 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002335/0.131, allocations: 171.5 kB / 305.4 MB, free: 38 MB / 282.7 MB Notification: Performance of SimCode: time 1.753e-06/0.131, allocations: 2.531 kB / 305.4 MB, free: 38 MB / 282.7 MB Notification: Performance of Templates: time 0.01059/0.1416, allocations: 6.531 MB / 311.9 MB, free: 37.21 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 -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.896148809697479]