Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009234/0.0009234, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009432/0.0009432, allocations: 159.4 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9747/0.9747, allocations: 177 MB / 205.9 MB, free: 4.406 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 274.2 MB, free: 4.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.183e-05/2.346e-05, allocations: 8.422 kB / 274.2 MB, free: 4.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.00378/0.003803, allocations: 3.524 MB / 277.7 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.005192, allocations: 0.8666 MB / 278.6 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001814/0.005374, allocations: 8 kB / 278.6 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000125/0.005499, allocations: 83.92 kB / 278.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002616/0.00576, allocations: 153 kB / 278.8 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003759/0.006136, allocations: 214.1 kB / 279 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000611/0.006747, allocations: 0.6308 MB / 279.6 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002347/0.006982, allocations: 157.3 kB / 279.8 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000377/0.007359, allocations: 371.2 kB / 280.1 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002446/0.007603, allocations: 219.3 kB / 280.4 MB, free: 14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.356e-05/0.007667, allocations: 56 kB / 280.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.791e-05/0.007725, allocations: 60 kB / 280.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.304e-05/0.007798, allocations: 127.6 kB / 280.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.007938, allocations: 199.5 kB / 280.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003622/0.0083, allocations: 434.5 kB / 281.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.008304, allocations: 4 kB / 281.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.008305, allocations: 0 / 281.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.008311, allocations: 0 / 281.2 MB, free: 13.14 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.001012/0.009323, allocations: 0.8794 MB / 282.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.009366, allocations: 12.03 kB / 282.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.009481, allocations: 96.61 kB / 282.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003329/0.009814, allocations: 288 kB / 282.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.731e-05/0.009841, allocations: 37.38 kB / 282.5 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.71e-05/0.009888, allocations: 52.36 kB / 282.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007195/0.01061, allocations: 0.652 MB / 283.2 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.01062, allocations: 192 / 283.2 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.153e-05/0.01065, allocations: 23.94 kB / 283.3 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.01066, allocations: 12 kB / 283.3 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.01082, allocations: 126.9 kB / 283.4 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001314/0.01213, allocations: 1.359 MB / 284.7 MB, free: 9.352 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.01232, allocations: 143 kB / 284.9 MB, free: 9.199 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.071e-05/0.01238, allocations: 47.66 kB / 284.9 MB, free: 9.148 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.01239, allocations: 4 kB / 284.9 MB, free: 9.145 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002077/0.0126, allocations: 300.2 kB / 285.2 MB, free: 8.789 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.453e-06/0.0126, allocations: 0 / 285.2 MB, free: 8.789 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005806/0.01318, allocations: 363.4 kB / 285.6 MB, free: 8.414 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.01328, allocations: 316.4 kB / 285.9 MB, free: 8.031 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.01347, allocations: 330 kB / 286.2 MB, free: 7.691 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.01349, allocations: 33.7 kB / 286.2 MB, free: 7.652 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.01362, allocations: 334.7 kB / 286.6 MB, free: 7.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.85e-05/0.01367, allocations: 95.2 kB / 286.7 MB, free: 7.227 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.685e-05/0.01376, allocations: 87.64 kB / 286.8 MB, free: 7.129 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.01388, allocations: 0.5156 MB / 287.3 MB, free: 6.602 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.288e-05/0.01394, allocations: 62.42 kB / 287.3 MB, free: 6.535 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002299/0.01417, allocations: 0.5439 MB / 287.9 MB, free: 5.828 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.01436, allocations: 263.9 kB / 288.1 MB, free: 5.512 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.01436, allocations: 0 / 288.1 MB, free: 5.512 MB / 266.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004686/0.01483, allocations: 457.8 kB / 288.6 MB, free: 5.035 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/0.01486, allocations: 37.7 kB / 288.6 MB, free: 4.992 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.01486, allocations: 4 kB / 288.6 MB, free: 4.988 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004272/0.01529, allocations: 198.8 kB / 288.8 MB, free: 4.781 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.592e-05/0.01539, allocations: 47.92 kB / 288.9 MB, free: 4.734 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002851/0.01824, allocations: 5.831 MB / 294.7 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.01841, allocations: 55.91 kB / 294.7 MB, free: 14.51 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.01842, allocations: 16 kB / 294.8 MB, free: 14.49 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.000138/0.01856, allocations: 188.5 kB / 294.9 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.428e-05/0.0186, allocations: 43.75 kB / 295 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.258e-05/0.01864, allocations: 38.98 kB / 295 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.01864, allocations: 4 kB / 295 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.01865, allocations: 3.938 kB / 295 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.01865, allocations: 3.984 kB / 295 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.01884, allocations: 225 kB / 295.3 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.01885, allocations: 4 kB / 295.3 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.126e-05/0.01893, allocations: 31.92 kB / 295.3 MB, free: 13.92 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002554/0.01918, allocations: 138.6 kB / 295.4 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.0192, allocations: 4 kB / 295.4 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00265/0.02185, allocations: 7.154 MB / 302.6 MB, free: 6.16 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.02185, allocations: 0 / 302.6 MB, free: 6.16 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003232/0.02217, allocations: 311.7 kB / 302.9 MB, free: 5.816 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.383e-05/0.0222, allocations: 31.73 kB / 302.9 MB, free: 5.785 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.02223, allocations: 4 kB / 302.9 MB, free: 5.781 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.02234, allocations: 27.98 kB / 303 MB, free: 5.754 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.882e-05/0.02242, allocations: 59.98 kB / 303 MB, free: 5.695 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.02244, allocations: 15.98 kB / 303 MB, free: 5.68 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001119/0.02255, allocations: 222.9 kB / 303.2 MB, free: 5.461 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.02255, allocations: 0 / 303.2 MB, free: 5.461 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004145/0.02296, allocations: 151.7 kB / 303.4 MB, free: 5.312 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.0001131/0.02308, allocations: 107.2 kB / 303.5 MB, free: 5.199 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007773/0.02385, allocations: 0.8144 MB / 304.3 MB, free: 4.309 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.02386, allocations: 0 / 304.3 MB, free: 4.309 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003624/0.02422, allocations: 0.7731 MB / 305.1 MB, free: 3.461 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.02446, allocations: 50.92 kB / 305.1 MB, free: 3.41 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008942/0.02535, allocations: 0.6532 MB / 305.8 MB, free: 2.727 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.591e-05/0.02542, allocations: 109.8 kB / 305.9 MB, free: 2.602 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.782e-05/0.02551, allocations: 42.95 kB / 305.9 MB, free: 2.555 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000187/0.0257, allocations: 166.1 kB / 306.1 MB, free: 2.391 MB / 282.7 MB Notification: Performance of SimCode: time 7.41e-07/0.0257, allocations: 0 / 306.1 MB, free: 2.391 MB / 282.7 MB Notification: Performance of Templates: time 0.009014/0.03472, allocations: 6.681 MB / 312.8 MB, free: 11.81 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.9008877803571522]