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.001009/0.001009, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001011/0.001011, allocations: 162.7 kB / 24.99 MB, free: 8.801 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.9817/0.9817, allocations: 177 MB / 205.2 MB, free: 5.609 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.523e-06/1.523e-06, allocations: 0 / 273 MB, free: 1.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.901e-05/2.053e-05, allocations: 5.125 kB / 273 MB, free: 1.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.003361/0.003382, allocations: 3.577 MB / 276.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.004847, allocations: 0.8686 MB / 277.5 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.005002, allocations: 8 kB / 277.5 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001757/0.005177, allocations: 87.14 kB / 277.6 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002988/0.005476, allocations: 146.7 kB / 277.7 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003203/0.005797, allocations: 211.6 kB / 277.9 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004966/0.006293, allocations: 0.6384 MB / 278.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002196/0.006513, allocations: 153.4 kB / 278.7 MB, free: 12.01 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003356/0.006848, allocations: 371.2 kB / 279.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002231/0.007072, allocations: 219.3 kB / 279.3 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.03e-05/0.007132, allocations: 56 kB / 279.3 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.879e-05/0.007191, allocations: 60 kB / 279.4 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.429e-05/0.007265, allocations: 139.5 kB / 279.5 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.007407, allocations: 199.5 kB / 279.7 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003293/0.007736, allocations: 426.5 kB / 280.2 MB, free: 10.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.033e-06/0.007739, allocations: 4 kB / 280.2 MB, free: 10.56 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.007739, allocations: 0 / 280.2 MB, free: 10.56 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.007745, allocations: 3.938 kB / 280.2 MB, free: 10.56 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.0009365/0.008681, allocations: 0.8756 MB / 281 MB, free: 9.641 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.008715, allocations: 12.03 kB / 281 MB, free: 9.629 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.008824, allocations: 92.59 kB / 281.1 MB, free: 9.539 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/0.009146, allocations: 303.9 kB / 281.4 MB, free: 9.211 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.386e-05/0.009189, allocations: 33.38 kB / 281.5 MB, free: 9.176 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.699e-05/0.009236, allocations: 56.36 kB / 281.5 MB, free: 9.121 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005645/0.009801, allocations: 0.6716 MB / 282.2 MB, free: 8.352 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.009812, allocations: 192 / 282.2 MB, free: 8.352 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.34e-05/0.009845, allocations: 27.94 kB / 282.2 MB, free: 8.324 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.009859, allocations: 12 kB / 282.2 MB, free: 8.312 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002497/0.01011, allocations: 165.9 kB / 282.4 MB, free: 8.152 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/0.01151, allocations: 1.336 MB / 283.7 MB, free: 6.727 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002515/0.01176, allocations: 166.8 kB / 283.9 MB, free: 6.551 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.378e-05/0.01185, allocations: 59.66 kB / 284 MB, free: 6.488 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.01187, allocations: 4 kB / 284 MB, free: 6.484 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002334/0.0121, allocations: 292.3 kB / 284.2 MB, free: 6.137 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.302e-06/0.0121, allocations: 3.938 kB / 284.2 MB, free: 6.133 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.000815/0.01292, allocations: 390.4 kB / 284.6 MB, free: 5.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.01302, allocations: 324.4 kB / 284.9 MB, free: 5.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.01323, allocations: 338.2 kB / 285.3 MB, free: 4.988 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.01326, allocations: 33.7 kB / 285.3 MB, free: 4.949 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.01339, allocations: 326.8 kB / 285.6 MB, free: 4.625 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.677e-05/0.01343, allocations: 91.22 kB / 285.7 MB, free: 4.535 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.189e-05/0.01351, allocations: 87.67 kB / 285.8 MB, free: 4.438 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.01362, allocations: 0.5117 MB / 286.3 MB, free: 3.914 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.003e-05/0.01371, allocations: 74.41 kB / 286.4 MB, free: 3.836 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002571/0.01397, allocations: 0.5517 MB / 286.9 MB, free: 3.121 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002472/0.01422, allocations: 287.6 kB / 287.2 MB, free: 2.781 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/0.01422, allocations: 4 kB / 287.2 MB, free: 2.777 MB / 266.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005748/0.0148, allocations: 488.6 kB / 287.7 MB, free: 2.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.786e-05/0.01484, allocations: 40.36 kB / 287.7 MB, free: 2.227 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003092/0.01514, allocations: 4 kB / 287.7 MB, free: 2.223 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004893/0.01563, allocations: 202.8 kB / 287.9 MB, free: 2.012 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.01574, allocations: 51.91 kB / 288 MB, free: 1.961 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002874/0.01861, allocations: 5.923 MB / 293.9 MB, free: 11.67 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/0.01879, allocations: 63.64 kB / 294 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.0188, allocations: 16 kB / 294 MB, free: 11.59 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.0001215/0.01892, allocations: 188.5 kB / 294.2 MB, free: 11.4 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.25e-05/0.01897, allocations: 39.81 kB / 294.2 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.213e-05/0.019, allocations: 38.98 kB / 294.3 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.019, allocations: 0 / 294.3 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.01901, allocations: 4 kB / 294.3 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.01901, allocations: 3.984 kB / 294.3 MB, free: 11.31 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002172/0.01923, allocations: 284.3 kB / 294.5 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.01923, allocations: 0 / 294.5 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.125e-05/0.01931, allocations: 31.98 kB / 294.6 MB, free: 10.97 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002681/0.01958, allocations: 142.5 kB / 294.7 MB, free: 10.81 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.0196, allocations: 8 kB / 294.7 MB, free: 10.8 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002925/0.02252, allocations: 7.25 MB / 302 MB, free: 3.07 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.02252, allocations: 0 / 302 MB, free: 3.07 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006496/0.02317, allocations: 322.8 kB / 302.3 MB, free: 2.715 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.103e-05/0.0232, allocations: 31.73 kB / 302.3 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/0.02323, allocations: 11.94 kB / 302.3 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.02334, allocations: 28.02 kB / 302.4 MB, free: 2.645 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.02345, allocations: 55.91 kB / 302.4 MB, free: 2.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.02346, allocations: 15.98 kB / 302.4 MB, free: 2.574 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001379/0.0236, allocations: 227 kB / 302.6 MB, free: 2.352 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0236, allocations: 0 / 302.6 MB, free: 2.352 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000372/0.02397, allocations: 155.6 kB / 302.8 MB, free: 2.199 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.0001132/0.02408, allocations: 107.2 kB / 302.9 MB, free: 2.086 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006551/0.02474, allocations: 0.8305 MB / 303.7 MB, free: 1.18 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.02474, allocations: 8.25 kB / 303.7 MB, free: 1.172 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003846/0.02512, allocations: 0.7684 MB / 304.5 MB, free: 336 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.02537, allocations: 69.02 kB / 304.6 MB, free: 264 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09586/0.1212, allocations: 0.6456 MB / 305.2 MB, free: 41.2 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.371e-05/0.1213, allocations: 109.2 kB / 305.3 MB, free: 41.13 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001392/0.1214, allocations: 39.97 kB / 305.4 MB, free: 41.13 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.456e-05/0.1215, allocations: 39.7 kB / 305.4 MB, free: 41.12 MB / 282.7 MB Notification: Performance of SimCode: time 8.81e-07/0.1215, allocations: 0 / 305.4 MB, free: 41.12 MB / 282.7 MB Notification: Performance of Templates: time 0.008371/0.1299, allocations: 6.17 MB / 311.6 MB, free: 40.27 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.024339983938262]