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.001/0.001, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.00115/0.00115, allocations: 164.8 kB / 24.82 MB, free: 9.309 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 1.027/1.027, allocations: 177 MB / 205.1 MB, free: 5.496 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.603e-06/1.603e-06, allocations: 0 / 273.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.786e-05/2.947e-05, allocations: 2.312 kB / 273.4 MB, free: 1.199 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.004947/0.004976, allocations: 3.53 MB / 276.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001898/0.006875, allocations: 0.8686 MB / 277.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002987/0.007174, allocations: 11.94 kB / 277.8 MB, free: 12.76 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002315/0.007405, allocations: 75.28 kB / 277.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004266/0.007832, allocations: 162.5 kB / 278 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004677/0.008299, allocations: 203.7 kB / 278.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006335/0.008933, allocations: 0.6384 MB / 278.9 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002705/0.009203, allocations: 157.4 kB / 279 MB, free: 11.53 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004709/0.009674, allocations: 367.2 kB / 279.4 MB, free: 11.17 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003139/0.009988, allocations: 219.4 kB / 279.6 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.048e-05/0.01008, allocations: 56 kB / 279.6 MB, free: 10.9 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.164e-05/0.01016, allocations: 60 kB / 279.7 MB, free: 10.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.949e-05/0.01025, allocations: 131.5 kB / 279.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001823/0.01043, allocations: 203.5 kB / 280 MB, free: 10.51 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004579/0.01089, allocations: 426.5 kB / 280.4 MB, free: 10.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.01089, allocations: 0 / 280.4 MB, free: 10.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.0109, allocations: 0 / 280.4 MB, free: 10.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.0109, allocations: 0 / 280.4 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.001177/0.01208, allocations: 0.8951 MB / 281.3 MB, free: 9.156 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.01212, allocations: 8.031 kB / 281.3 MB, free: 9.148 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.01225, allocations: 92.61 kB / 281.4 MB, free: 9.059 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003606/0.01261, allocations: 295.9 kB / 281.7 MB, free: 8.738 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.354e-05/0.01264, allocations: 33.38 kB / 281.8 MB, free: 8.703 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.619e-05/0.0127, allocations: 48.38 kB / 281.8 MB, free: 8.656 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006197/0.01332, allocations: 0.6442 MB / 282.4 MB, free: 7.914 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.01333, allocations: 192 / 282.4 MB, free: 7.914 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.866e-05/0.01337, allocations: 31.94 kB / 282.5 MB, free: 7.883 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/0.01339, allocations: 12 kB / 282.5 MB, free: 7.871 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002414/0.01363, allocations: 126.9 kB / 282.6 MB, free: 7.746 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001799/0.01543, allocations: 1.355 MB / 284 MB, free: 6.301 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002602/0.01569, allocations: 146.8 kB / 284.1 MB, free: 6.145 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.95e-05/0.01577, allocations: 51.66 kB / 284.2 MB, free: 6.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.01578, allocations: 4 kB / 284.2 MB, free: 6.086 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002813/0.01607, allocations: 296.2 kB / 284.5 MB, free: 5.734 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.593e-06/0.01607, allocations: 0 / 284.5 MB, free: 5.734 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.0008083/0.01688, allocations: 361.8 kB / 284.8 MB, free: 5.359 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/0.017, allocations: 320.4 kB / 285.1 MB, free: 4.973 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002638/0.01726, allocations: 330 kB / 285.4 MB, free: 4.629 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/0.01729, allocations: 37.7 kB / 285.5 MB, free: 4.586 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001776/0.01747, allocations: 326.8 kB / 285.8 MB, free: 4.262 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.415e-05/0.01753, allocations: 91.2 kB / 285.9 MB, free: 4.172 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.01765, allocations: 87.64 kB / 286 MB, free: 4.074 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.01781, allocations: 0.5156 MB / 286.5 MB, free: 3.547 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.418e-05/0.0179, allocations: 66.42 kB / 286.6 MB, free: 3.477 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000304/0.01821, allocations: 0.5439 MB / 287.1 MB, free: 2.77 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002662/0.01847, allocations: 267.6 kB / 287.4 MB, free: 2.449 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.01848, allocations: 0 / 287.4 MB, free: 2.449 MB / 266.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006916/0.01917, allocations: 452.7 kB / 287.8 MB, free: 1.977 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.074e-05/0.01921, allocations: 36.36 kB / 287.8 MB, free: 1.938 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.01922, allocations: 4 kB / 287.8 MB, free: 1.934 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006401/0.01986, allocations: 218.8 kB / 288.1 MB, free: 1.707 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.02001, allocations: 47.92 kB / 288.1 MB, free: 1.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00356/0.02357, allocations: 5.819 MB / 293.9 MB, free: 11.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002872/0.02386, allocations: 55.78 kB / 294 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.523e-05/0.02388, allocations: 16 kB / 294 MB, free: 11.43 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.0001752/0.02406, allocations: 188.4 kB / 294.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.498e-05/0.02412, allocations: 43.75 kB / 294.2 MB, free: 11.19 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.503e-05/0.02417, allocations: 38.98 kB / 294.3 MB, free: 11.15 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.02417, allocations: 0 / 294.3 MB, free: 11.15 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.02418, allocations: 8 kB / 294.3 MB, free: 11.14 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.02419, allocations: 0 / 294.3 MB, free: 11.14 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.02446, allocations: 229 kB / 294.5 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.02446, allocations: 0 / 294.5 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001264/0.02459, allocations: 44.05 kB / 294.5 MB, free: 10.85 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003473/0.02493, allocations: 126.6 kB / 294.7 MB, free: 10.71 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.382e-05/0.02496, allocations: 12 kB / 294.7 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003517/0.02848, allocations: 7.166 MB / 301.8 MB, free: 3.082 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.02848, allocations: 0 / 301.8 MB, free: 3.082 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000464/0.02894, allocations: 303.7 kB / 302.1 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.911e-05/0.029, allocations: 43.81 kB / 302.2 MB, free: 2.703 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.231e-05/0.02904, allocations: 8 kB / 302.2 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.02922, allocations: 23.98 kB / 302.2 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.02935, allocations: 59.91 kB / 302.3 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/0.02936, allocations: 7.984 kB / 302.3 MB, free: 2.605 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001622/0.02953, allocations: 218.9 kB / 302.5 MB, free: 2.391 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02953, allocations: 0 / 302.5 MB, free: 2.391 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006595/0.03019, allocations: 151.7 kB / 302.6 MB, free: 2.242 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.0001419/0.03033, allocations: 115.1 kB / 302.7 MB, free: 2.121 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008234/0.03115, allocations: 0.8105 MB / 303.6 MB, free: 1.234 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.03116, allocations: 4 kB / 303.6 MB, free: 1.23 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005211/0.03168, allocations: 0.7652 MB / 304.3 MB, free: 400 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.03201, allocations: 61.09 kB / 304.4 MB, free: 336 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1037/0.1357, allocations: 0.6444 MB / 305 MB, free: 37.89 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.692e-05/0.1358, allocations: 109.3 kB / 305.1 MB, free: 37.82 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001586/0.1359, allocations: 38.5 kB / 305.2 MB, free: 37.82 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002189/0.1362, allocations: 167.6 kB / 305.3 MB, free: 37.76 MB / 282.7 MB Notification: Performance of SimCode: time 1.002e-06/0.1362, allocations: 0 / 305.3 MB, free: 37.76 MB / 282.7 MB Notification: Performance of Templates: time 0.01069/0.1468, allocations: 6.52 MB / 311.9 MB, free: 36.95 MB / 282.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: 3.051943268161267]