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.001165/0.001165, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001201/0.001201, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.9348/0.9348, allocations: 177 MB / 204.8 MB, free: 5.582 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.433e-06/1.433e-06, allocations: 3.938 kB / 273 MB, free: 1.414 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.682e-05/1.825e-05, allocations: 4.984 kB / 273 MB, free: 1.41 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.006952/0.00697, allocations: 3.581 MB / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004304/0.01127, allocations: 0.8725 MB / 277.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001671/0.01144, allocations: 11.94 kB / 277.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001688/0.01161, allocations: 75.2 kB / 277.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002946/0.0119, allocations: 158.6 kB / 277.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004173/0.01232, allocations: 215.5 kB / 277.9 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006198/0.01294, allocations: 0.6423 MB / 278.5 MB, free: 11.83 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002623/0.0132, allocations: 153.4 kB / 278.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003935/0.0136, allocations: 371.3 kB / 279 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002374/0.01383, allocations: 219.3 kB / 279.2 MB, free: 11.1 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.582e-05/0.0139, allocations: 60 kB / 279.3 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.705e-05/0.01396, allocations: 56 kB / 279.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.179e-05/0.01403, allocations: 127.6 kB / 279.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000189/0.01422, allocations: 207.5 kB / 279.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003506/0.01457, allocations: 422.5 kB / 280.1 MB, free: 10.24 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.01457, allocations: 4 kB / 280.1 MB, free: 10.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.01457, allocations: 0 / 280.1 MB, free: 10.24 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.01458, allocations: 0 / 280.1 MB, free: 10.24 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.001021/0.0156, allocations: 0.8756 MB / 281 MB, free: 9.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.01564, allocations: 8.031 kB / 281 MB, free: 9.312 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.01575, allocations: 96.61 kB / 281.1 MB, free: 9.219 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.01607, allocations: 307.9 kB / 281.4 MB, free: 8.887 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.01609, allocations: 33.38 kB / 281.4 MB, free: 8.852 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.82e-05/0.01614, allocations: 60.25 kB / 281.5 MB, free: 8.793 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005416/0.01668, allocations: 0.6717 MB / 282.1 MB, free: 8.023 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.0167, allocations: 192 / 282.1 MB, free: 8.023 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.224e-05/0.01673, allocations: 19.94 kB / 282.2 MB, free: 8.004 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.01674, allocations: 12 kB / 282.2 MB, free: 7.992 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002617/0.017, allocations: 177.8 kB / 282.3 MB, free: 7.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001337/0.01834, allocations: 1.328 MB / 283.7 MB, free: 6.402 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002515/0.01859, allocations: 162.9 kB / 283.8 MB, free: 6.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.952e-05/0.01867, allocations: 59.59 kB / 283.9 MB, free: 6.168 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.01869, allocations: 4 kB / 283.9 MB, free: 6.164 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002316/0.01892, allocations: 292.3 kB / 284.2 MB, free: 5.816 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.242e-06/0.01892, allocations: 0 / 284.2 MB, free: 5.816 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006998/0.01962, allocations: 393.7 kB / 284.6 MB, free: 5.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.01972, allocations: 316.4 kB / 284.9 MB, free: 5.027 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002233/0.01995, allocations: 338.2 kB / 285.2 MB, free: 4.676 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.01998, allocations: 37.7 kB / 285.2 MB, free: 4.633 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.02011, allocations: 322.8 kB / 285.5 MB, free: 4.312 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.064e-05/0.02016, allocations: 95.2 kB / 285.6 MB, free: 4.219 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.663e-05/0.02025, allocations: 83.67 kB / 285.7 MB, free: 4.125 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.02038, allocations: 0.5157 MB / 286.2 MB, free: 3.598 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.782e-05/0.02048, allocations: 78.41 kB / 286.3 MB, free: 3.516 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002535/0.02073, allocations: 0.5517 MB / 286.9 MB, free: 2.801 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002299/0.02096, allocations: 287.6 kB / 287.1 MB, free: 2.461 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.02097, allocations: 0 / 287.1 MB, free: 2.461 MB / 266.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005398/0.02151, allocations: 496.6 kB / 287.6 MB, free: 1.945 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.84e-05/0.02154, allocations: 32.36 kB / 287.7 MB, free: 1.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.02154, allocations: 4 kB / 287.7 MB, free: 1.906 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004977/0.02204, allocations: 206.9 kB / 287.9 MB, free: 1.691 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.02214, allocations: 47.92 kB / 287.9 MB, free: 1.645 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002698/0.02484, allocations: 5.927 MB / 293.8 MB, free: 11.35 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.02504, allocations: 55.72 kB / 293.9 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.02506, allocations: 19.98 kB / 293.9 MB, free: 11.28 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.0001196/0.02518, allocations: 188.6 kB / 294.1 MB, free: 11.08 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.031e-05/0.02522, allocations: 39.75 kB / 294.1 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.984e-05/0.02525, allocations: 38.98 kB / 294.2 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.02525, allocations: 4 kB / 294.2 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.02526, allocations: 0 / 294.2 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.02526, allocations: 0 / 294.2 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/0.02548, allocations: 300.4 kB / 294.5 MB, free: 10.67 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.02548, allocations: 0 / 294.5 MB, free: 10.67 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.201e-05/0.02556, allocations: 35.97 kB / 294.5 MB, free: 10.64 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002558/0.02581, allocations: 130.6 kB / 294.6 MB, free: 10.49 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.02583, allocations: 7.984 kB / 294.6 MB, free: 10.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002716/0.02854, allocations: 7.246 MB / 301.9 MB, free: 2.754 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.02855, allocations: 4.188 kB / 301.9 MB, free: 2.75 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003435/0.02889, allocations: 323.5 kB / 302.2 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.35e-05/0.02892, allocations: 35.73 kB / 302.2 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.02895, allocations: 8 kB / 302.3 MB, free: 2.352 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.02906, allocations: 31.98 kB / 302.3 MB, free: 2.32 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.993e-05/0.02915, allocations: 59.91 kB / 302.3 MB, free: 2.262 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.02916, allocations: 12 kB / 302.4 MB, free: 2.25 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001339/0.0293, allocations: 227 kB / 302.6 MB, free: 2.027 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0293, allocations: 0 / 302.6 MB, free: 2.027 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003536/0.02965, allocations: 155.7 kB / 302.7 MB, free: 1.875 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.0001242/0.02978, allocations: 111.1 kB / 302.8 MB, free: 1.758 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000681/0.03046, allocations: 0.83 MB / 303.7 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.03046, allocations: 0.75 kB / 303.7 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003949/0.03085, allocations: 0.7763 MB / 304.4 MB, free: 0 / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.09388/0.1247, allocations: 51.88 kB / 304.5 MB, free: 39.1 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.1259, allocations: 0.6512 MB / 305.1 MB, free: 38.79 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.032e-05/0.126, allocations: 108.1 kB / 305.3 MB, free: 38.72 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001127/0.1261, allocations: 41.06 kB / 305.3 MB, free: 38.72 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.015e-05/0.1262, allocations: 41.06 kB / 305.3 MB, free: 38.71 MB / 282.7 MB Notification: Performance of SimCode: time 1.042e-06/0.1262, allocations: 0.5625 kB / 305.3 MB, free: 38.71 MB / 282.7 MB Notification: Performance of Templates: time 0.009122/0.1353, allocations: 6.182 MB / 311.5 MB, free: 38.01 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.1000918559730053]