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.0009344/0.0009344, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001108/0.001108, allocations: 173.9 kB / 24.92 MB, free: 9.18 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.968/0.968, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.333e-06/1.333e-06, allocations: 0 / 273.5 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.02e-05/1.153e-05, allocations: 2.312 kB / 273.5 MB, free: 1.246 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.002818/0.00283, allocations: 3.534 MB / 277 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.00388, allocations: 0.8994 MB / 277.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.004013, allocations: 8 kB / 277.9 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001538/0.004167, allocations: 87.14 kB / 278 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002608/0.004428, allocations: 142.7 kB / 278.2 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000287/0.004715, allocations: 215.6 kB / 278.4 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004086/0.005123, allocations: 0.6384 MB / 279 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000181/0.005304, allocations: 159.3 kB / 279.2 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002664/0.005571, allocations: 371.2 kB / 279.5 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002062/0.005777, allocations: 219.3 kB / 279.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.056e-05/0.005837, allocations: 56 kB / 279.8 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.234e-05/0.00589, allocations: 60 kB / 279.8 MB, free: 10.85 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.379e-05/0.005964, allocations: 131.5 kB / 280 MB, free: 10.72 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001276/0.006091, allocations: 199.5 kB / 280.2 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003037/0.006395, allocations: 434.5 kB / 280.6 MB, free: 10.1 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.006396, allocations: 7.938 kB / 280.6 MB, free: 10.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.006397, allocations: 0 / 280.6 MB, free: 10.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.339e-06/0.006401, allocations: 0 / 280.6 MB, free: 10.09 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.0007583/0.00716, allocations: 0.7587 MB / 281.4 MB, free: 9.301 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.679e-05/0.007186, allocations: 8.031 kB / 281.4 MB, free: 9.293 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.789e-05/0.007264, allocations: 72.88 kB / 281.4 MB, free: 9.223 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002342/0.007499, allocations: 245.2 kB / 281.7 MB, free: 8.953 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.00752, allocations: 33.38 kB / 281.7 MB, free: 8.918 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.198e-05/0.007562, allocations: 52.38 kB / 281.8 MB, free: 8.867 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004062/0.007968, allocations: 0.6326 MB / 282.4 MB, free: 8.148 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.007978, allocations: 192 / 282.4 MB, free: 8.148 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.706e-05/0.008005, allocations: 27.94 kB / 282.4 MB, free: 8.121 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.008012, allocations: 8 kB / 282.4 MB, free: 8.113 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.008145, allocations: 110.9 kB / 282.5 MB, free: 8.004 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.009225, allocations: 1.149 MB / 283.7 MB, free: 6.777 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.009388, allocations: 134.4 kB / 283.8 MB, free: 6.637 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.665e-05/0.009434, allocations: 52.81 kB / 283.9 MB, free: 6.582 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.009447, allocations: 4 kB / 283.9 MB, free: 6.578 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001706/0.009618, allocations: 260.5 kB / 284.1 MB, free: 6.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.232e-06/0.009619, allocations: 0 / 284.1 MB, free: 6.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005643/0.01018, allocations: 315.2 kB / 284.4 MB, free: 5.945 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.916e-05/0.01027, allocations: 316.4 kB / 284.7 MB, free: 5.562 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.01043, allocations: 282.8 kB / 285 MB, free: 5.273 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.01045, allocations: 29.7 kB / 285 MB, free: 5.238 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.568e-05/0.01054, allocations: 260.5 kB / 285.3 MB, free: 4.98 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.186e-05/0.01058, allocations: 91.22 kB / 285.4 MB, free: 4.891 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.405e-05/0.01066, allocations: 81.97 kB / 285.5 MB, free: 4.801 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.984e-05/0.01074, allocations: 346.7 kB / 285.8 MB, free: 4.453 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.223e-05/0.01079, allocations: 62.38 kB / 285.9 MB, free: 4.387 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/0.01098, allocations: 487.9 kB / 286.3 MB, free: 3.773 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.01113, allocations: 231 kB / 286.6 MB, free: 3.504 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.01113, allocations: 0 / 286.6 MB, free: 3.504 MB / 266.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003787/0.01151, allocations: 392.3 kB / 287 MB, free: 3.094 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.01153, allocations: 33.7 kB / 287 MB, free: 3.055 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.01154, allocations: 4 kB / 287 MB, free: 3.051 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003937/0.01193, allocations: 186.4 kB / 287.2 MB, free: 2.859 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.45e-05/0.01203, allocations: 47.92 kB / 287.2 MB, free: 2.812 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001843/0.01387, allocations: 4.038 MB / 291.3 MB, free: 14.51 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.01401, allocations: 55.72 kB / 291.3 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.01403, allocations: 8 kB / 291.3 MB, free: 14.45 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 9.323e-05/0.01412, allocations: 141.8 kB / 291.5 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.272e-05/0.01415, allocations: 35.95 kB / 291.5 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.693e-05/0.01418, allocations: 35 kB / 291.5 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.01418, allocations: 7.922 kB / 291.5 MB, free: 14.22 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.01419, allocations: 4 kB / 291.5 MB, free: 14.22 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.01419, allocations: 0 / 291.5 MB, free: 14.22 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.01433, allocations: 197.6 kB / 291.7 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.01433, allocations: 0 / 291.7 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.866e-05/0.0144, allocations: 31.98 kB / 291.8 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002042/0.01461, allocations: 127.2 kB / 291.9 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.01462, allocations: 7.984 kB / 291.9 MB, free: 13.83 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001791/0.01641, allocations: 4.845 MB / 296.7 MB, free: 8.641 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.01641, allocations: 4.094 kB / 296.7 MB, free: 8.637 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.01663, allocations: 232.3 kB / 297 MB, free: 8.379 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.125e-05/0.01666, allocations: 31.83 kB / 297 MB, free: 8.348 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.01669, allocations: 7.984 kB / 297 MB, free: 8.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.01679, allocations: 31.98 kB / 297 MB, free: 8.309 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.236e-05/0.01686, allocations: 59.84 kB / 297.1 MB, free: 8.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-06/0.01687, allocations: 7.984 kB / 297.1 MB, free: 8.242 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.043e-05/0.01694, allocations: 100.6 kB / 297.2 MB, free: 8.145 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01694, allocations: 0 / 297.2 MB, free: 8.145 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002934/0.01723, allocations: 147.7 kB / 297.4 MB, free: 8 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 7.74e-05/0.01731, allocations: 88.42 kB / 297.4 MB, free: 7.906 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004738/0.01779, allocations: 0.642 MB / 298.1 MB, free: 7.203 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/0.01779, allocations: 4.75 kB / 298.1 MB, free: 7.199 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002834/0.01808, allocations: 0.5422 MB / 298.6 MB, free: 6.602 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001557/0.01823, allocations: 52.95 kB / 298.7 MB, free: 6.547 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007575/0.01899, allocations: 0.6652 MB / 299.3 MB, free: 5.855 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.379e-05/0.01904, allocations: 109.8 kB / 299.5 MB, free: 5.727 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.437e-05/0.01913, allocations: 42.95 kB / 299.5 MB, free: 5.68 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/0.0193, allocations: 139.3 kB / 299.6 MB, free: 5.543 MB / 282.7 MB Notification: Performance of SimCode: time 5.51e-07/0.0193, allocations: 0 / 299.6 MB, free: 5.543 MB / 282.7 MB Notification: Performance of Templates: time 0.09841/0.1177, allocations: 6.434 MB / 306.1 MB, free: 39.25 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.6098684230819345]