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.0009647/0.0009647, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001044/0.001044, allocations: 160.5 kB / 24.55 MB, free: 20 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 1.055/1.055, 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 2.585e-06/2.585e-06, allocations: 0 / 273 MB, free: 1.406 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.517e-05/3.775e-05, allocations: 2.312 kB / 273 MB, free: 1.402 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.005733/0.005771, allocations: 3.578 MB / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00207/0.007841, allocations: 0.8803 MB / 277.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003234/0.008164, allocations: 4 kB / 277.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002654/0.00843, allocations: 83.16 kB / 277.5 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005084/0.008938, allocations: 158.6 kB / 277.7 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005444/0.009483, allocations: 203.6 kB / 277.9 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00082/0.0103, allocations: 0.6346 MB / 278.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003057/0.01061, allocations: 161.4 kB / 278.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005323/0.01114, allocations: 371.2 kB / 279 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003611/0.0115, allocations: 215.3 kB / 279.2 MB, free: 11.1 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001185/0.01162, allocations: 60 kB / 279.3 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.436e-05/0.01171, allocations: 56 kB / 279.3 MB, free: 10.99 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.01183, allocations: 135.5 kB / 279.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002483/0.01208, allocations: 203.5 kB / 279.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005957/0.01267, allocations: 426.5 kB / 280.1 MB, free: 10.24 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.01268, allocations: 0 / 280.1 MB, free: 10.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.01268, allocations: 0 / 280.1 MB, free: 10.24 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.845e-05/0.0127, 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.001614/0.01431, allocations: 0.8835 MB / 281 MB, free: 9.312 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.01436, allocations: 8.031 kB / 281 MB, free: 9.305 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001777/0.01454, allocations: 100.5 kB / 281.1 MB, free: 9.207 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004938/0.01503, allocations: 288 kB / 281.4 MB, free: 8.895 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.174e-05/0.01507, allocations: 37.38 kB / 281.4 MB, free: 8.855 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.694e-05/0.01515, allocations: 60.3 kB / 281.4 MB, free: 8.797 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000851/0.016, allocations: 0.6717 MB / 282.1 MB, free: 8.027 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.01602, allocations: 4.188 kB / 282.1 MB, free: 8.023 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.621e-05/0.01606, allocations: 23.94 kB / 282.1 MB, free: 8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.642e-05/0.01608, allocations: 12 kB / 282.2 MB, free: 7.988 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003901/0.01647, allocations: 169.8 kB / 282.3 MB, free: 7.824 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002046/0.01851, allocations: 1.336 MB / 283.7 MB, free: 6.398 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003749/0.01889, allocations: 162.8 kB / 283.8 MB, free: 6.227 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.01901, allocations: 59.59 kB / 283.9 MB, free: 6.164 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.01903, allocations: 8 kB / 283.9 MB, free: 6.156 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003242/0.01936, allocations: 292.3 kB / 284.2 MB, free: 5.809 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 2.846e-06/0.01936, allocations: 0 / 284.2 MB, free: 5.809 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.001052/0.02041, allocations: 393.7 kB / 284.6 MB, free: 5.402 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000144/0.02056, allocations: 320.4 kB / 284.9 MB, free: 5.016 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000328/0.02088, allocations: 334.2 kB / 285.2 MB, free: 4.668 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.582e-05/0.02092, allocations: 37.69 kB / 285.2 MB, free: 4.625 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001866/0.02111, allocations: 322.8 kB / 285.5 MB, free: 4.305 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.202e-05/0.02118, allocations: 91.22 kB / 285.6 MB, free: 4.215 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.0213, allocations: 87.67 kB / 285.7 MB, free: 4.117 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.02146, allocations: 0.5157 MB / 286.2 MB, free: 3.59 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.02161, allocations: 78.41 kB / 286.3 MB, free: 3.508 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003572/0.02197, allocations: 0.5517 MB / 286.9 MB, free: 2.793 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003555/0.02233, allocations: 287.6 kB / 287.1 MB, free: 2.453 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.02233, allocations: 0 / 287.1 MB, free: 2.453 MB / 266.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009299/0.02326, allocations: 484.6 kB / 287.6 MB, free: 1.949 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.272e-05/0.0233, allocations: 33.7 kB / 287.7 MB, free: 1.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.02331, allocations: 4 kB / 287.7 MB, free: 1.906 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008569/0.02417, allocations: 214.8 kB / 287.9 MB, free: 1.684 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.02434, allocations: 51.91 kB / 287.9 MB, free: 1.633 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004196/0.02854, allocations: 5.919 MB / 293.8 MB, free: 11.35 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003203/0.02886, allocations: 63.77 kB / 293.9 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.863e-05/0.02889, allocations: 16 kB / 293.9 MB, free: 11.27 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.0001881/0.02908, allocations: 192.3 kB / 294.1 MB, free: 11.07 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.791e-05/0.02914, allocations: 39.81 kB / 294.1 MB, free: 11.03 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.656e-05/0.02919, allocations: 34.98 kB / 294.2 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.0292, allocations: 8 kB / 294.2 MB, free: 10.99 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.0292, allocations: 0 / 294.2 MB, free: 10.99 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.02921, allocations: 3.984 kB / 294.2 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000327/0.02954, allocations: 284.4 kB / 294.5 MB, free: 10.67 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.02954, allocations: 0 / 294.5 MB, free: 10.67 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.02969, allocations: 31.98 kB / 294.5 MB, free: 10.64 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004244/0.03011, allocations: 138.5 kB / 294.6 MB, free: 10.49 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/0.03014, allocations: 8 kB / 294.6 MB, free: 10.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004263/0.0344, allocations: 7.258 MB / 301.9 MB, free: 2.738 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.0344, allocations: 0 / 301.9 MB, free: 2.738 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005523/0.03495, allocations: 323.6 kB / 302.2 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.924e-05/0.03501, allocations: 35.73 kB / 302.2 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.231e-05/0.03507, allocations: 8 kB / 302.3 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.03526, allocations: 27.98 kB / 302.3 MB, free: 2.312 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.03539, allocations: 59.91 kB / 302.3 MB, free: 2.254 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.03541, allocations: 11.98 kB / 302.4 MB, free: 2.242 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000198/0.03561, allocations: 231 kB / 302.6 MB, free: 2.016 MB / 282.7 MB Notification: Performance of sort global known variables: time 2e-07/0.03561, allocations: 0 / 302.6 MB, free: 2.016 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006321/0.03624, allocations: 155.7 kB / 302.7 MB, free: 1.863 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.0001553/0.0364, allocations: 103.2 kB / 302.8 MB, free: 1.754 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001051/0.03745, allocations: 0.8301 MB / 303.7 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.03745, allocations: 0 / 303.7 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005964/0.03805, allocations: 0.7731 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.1252/0.1632, allocations: 52.56 kB / 304.5 MB, free: 39.13 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.1645, allocations: 0.6542 MB / 305.1 MB, free: 38.82 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.417e-05/0.1645, allocations: 108.5 kB / 305.2 MB, free: 38.75 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001181/0.1647, allocations: 39.75 kB / 305.3 MB, free: 38.75 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.039e-05/0.1647, allocations: 39.41 kB / 305.3 MB, free: 38.74 MB / 282.7 MB Notification: Performance of SimCode: time 1.473e-06/0.1647, allocations: 1.719 kB / 305.3 MB, free: 38.74 MB / 282.7 MB Notification: Performance of Templates: time 0.0101/0.1748, allocations: 6.461 MB / 311.8 MB, free: 37.88 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.0280399662442505]