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.0009809/0.0009809, allocations: 83.58 kB / 21.18 MB, free: 3.383 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.001467/0.001467, allocations: 161 kB / 24.56 MB, free: 16 kB / 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 1.104/1.104, allocations: 177.1 MB / 205 MB, free: 5.641 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 2.946e-06/2.946e-06, allocations: 0 / 273 MB, free: 1.516 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.841e-05/4.136e-05, allocations: 2.312 kB / 273 MB, free: 1.512 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.006012/0.006053, allocations: 3.573 MB / 276.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002448/0.008501, allocations: 0.8725 MB / 277.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003708/0.008872, allocations: 11.94 kB / 277.5 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003209/0.009192, allocations: 79.27 kB / 277.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007781/0.009971, allocations: 158.6 kB / 277.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006754/0.01065, allocations: 207.6 kB / 277.9 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008775/0.01152, allocations: 0.6424 MB / 278.6 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004038/0.01193, allocations: 145.4 kB / 278.7 MB, free: 11.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007325/0.01266, allocations: 379.2 kB / 279.1 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000431/0.01309, allocations: 215.4 kB / 279.3 MB, free: 11.22 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001211/0.01321, allocations: 56 kB / 279.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.791e-05/0.01331, allocations: 56 kB / 279.4 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.01343, allocations: 135.5 kB / 279.5 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002456/0.01367, allocations: 195.6 kB / 279.7 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005938/0.01427, allocations: 434.5 kB / 280.1 MB, free: 10.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.01427, allocations: 0 / 280.1 MB, free: 10.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.01427, allocations: 4 kB / 280.1 MB, free: 10.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.657e-05/0.01429, allocations: 0 / 280.1 MB, free: 10.36 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.0019/0.01619, allocations: 0.8795 MB / 281 MB, free: 9.434 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.449e-05/0.01626, allocations: 8.031 kB / 281 MB, free: 9.426 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002246/0.01648, allocations: 96.61 kB / 281.1 MB, free: 9.332 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000645/0.01712, allocations: 295.9 kB / 281.4 MB, free: 9.012 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.118e-05/0.01718, allocations: 41.36 kB / 281.5 MB, free: 8.969 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.879e-05/0.01725, allocations: 52.38 kB / 281.5 MB, free: 8.918 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008933/0.01815, allocations: 0.6716 MB / 282.2 MB, free: 8.152 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.01817, allocations: 192 / 282.2 MB, free: 8.152 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.91e-05/0.01822, allocations: 23.94 kB / 282.2 MB, free: 8.129 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.702e-05/0.01823, allocations: 12 kB / 282.2 MB, free: 8.117 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004506/0.01868, allocations: 169.9 kB / 282.4 MB, free: 7.949 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002873/0.02156, allocations: 1.344 MB / 283.7 MB, free: 6.516 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004738/0.02203, allocations: 158.9 kB / 283.9 MB, free: 6.348 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.02217, allocations: 59.64 kB / 283.9 MB, free: 6.285 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.354e-05/0.02222, allocations: 8 kB / 283.9 MB, free: 6.277 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004404/0.02266, allocations: 296.2 kB / 284.2 MB, free: 5.926 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 3.547e-06/0.02266, allocations: 4 kB / 284.2 MB, free: 5.922 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.001234/0.0239, allocations: 390.5 kB / 284.6 MB, free: 5.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001962/0.02409, allocations: 320.4 kB / 284.9 MB, free: 5.133 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004292/0.02452, allocations: 338.2 kB / 285.3 MB, free: 4.781 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.707e-05/0.02456, allocations: 29.7 kB / 285.3 MB, free: 4.746 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002392/0.0248, allocations: 330.8 kB / 285.6 MB, free: 4.418 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.219e-05/0.02488, allocations: 95.22 kB / 285.7 MB, free: 4.324 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.02502, allocations: 87.67 kB / 285.8 MB, free: 4.227 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000206/0.02523, allocations: 0.5078 MB / 286.3 MB, free: 3.707 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001756/0.0254, allocations: 86.41 kB / 286.4 MB, free: 3.617 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000415/0.02582, allocations: 0.544 MB / 286.9 MB, free: 2.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004078/0.02622, allocations: 291.9 kB / 287.2 MB, free: 2.566 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.02623, allocations: 0 / 287.2 MB, free: 2.566 MB / 266.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008991/0.02713, allocations: 484.5 kB / 287.7 MB, free: 2.062 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.583e-05/0.02718, allocations: 37.69 kB / 287.7 MB, free: 2.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.02719, allocations: 4.156 kB / 287.7 MB, free: 2.016 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006107/0.0278, allocations: 214.8 kB / 287.9 MB, free: 1.793 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.02793, allocations: 43.92 kB / 288 MB, free: 1.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003856/0.03178, allocations: 5.927 MB / 293.9 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002123/0.03199, allocations: 55.72 kB / 294 MB, free: 11.4 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.03202, allocations: 15.98 kB / 294 MB, free: 11.39 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.0001919/0.03221, allocations: 188.6 kB / 294.2 MB, free: 11.19 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.102e-05/0.03226, allocations: 47.84 kB / 294.2 MB, free: 11.14 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.315e-05/0.03229, allocations: 34.98 kB / 294.2 MB, free: 11.11 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.0323, allocations: 8 kB / 294.2 MB, free: 11.1 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.03231, allocations: 4 kB / 294.3 MB, free: 11.1 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.03231, allocations: 0 / 294.3 MB, free: 11.1 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002345/0.03255, allocations: 288.3 kB / 294.5 MB, free: 10.78 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.03255, allocations: 0 / 294.5 MB, free: 10.78 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.412e-05/0.03263, allocations: 39.86 kB / 294.6 MB, free: 10.74 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002595/0.03289, allocations: 134.6 kB / 294.7 MB, free: 10.59 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.03291, allocations: 11.97 kB / 294.7 MB, free: 10.58 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003292/0.0362, allocations: 7.253 MB / 302 MB, free: 2.844 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.0362, allocations: 0 / 302 MB, free: 2.844 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003756/0.03658, allocations: 314.8 kB / 302.3 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.971e-05/0.03662, allocations: 39.73 kB / 302.3 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.03665, allocations: 7.938 kB / 302.3 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.03676, allocations: 27.98 kB / 302.3 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.03688, allocations: 55.91 kB / 302.4 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.0369, allocations: 8 kB / 302.4 MB, free: 2.359 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001602/0.03706, allocations: 235 kB / 302.6 MB, free: 2.129 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03706, allocations: 0 / 302.6 MB, free: 2.129 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004629/0.03752, allocations: 155.7 kB / 302.8 MB, free: 1.977 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.0001236/0.03764, allocations: 103.2 kB / 302.9 MB, free: 1.867 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008002/0.03844, allocations: 0.83 MB / 303.7 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.03845, allocations: 4 kB / 303.7 MB, free: 0.957 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004097/0.03886, allocations: 0.7692 MB / 304.5 MB, free: 116 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005677/0.03942, allocations: 56.89 kB / 304.6 MB, free: 56 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1272/0.1666, allocations: 0.6619 MB / 305.2 MB, free: 38.95 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.525e-05/0.1667, allocations: 107.6 kB / 305.3 MB, free: 38.88 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001426/0.1668, allocations: 37.73 kB / 305.4 MB, free: 38.88 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.983e-05/0.1669, allocations: 38.09 kB / 305.4 MB, free: 38.87 MB / 282.7 MB Notification: Performance of SimCode: time 1.543e-06/0.1669, allocations: 0 / 305.4 MB, free: 38.87 MB / 282.7 MB Notification: Performance of Templates: time 0.01151/0.1784, allocations: 6.187 MB / 311.6 MB, free: 38.26 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: 3.5305881439708173]