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.000788/0.000788, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001009/0.001797, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.000665/0.000665, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008284/0.001493, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9901/0.9901, allocations: 177.4 MB / 189.9 MB, free: 4.84 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08187/1.072, allocations: 53.87 MB / 243.8 MB, free: 14.91 MB / 250.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.543e-06/1.543e-06, allocations: 0 / 245.1 MB, free: 13.62 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.205e-05/1.36e-05, allocations: 2.312 kB / 245.1 MB, free: 13.61 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.00427/0.004283, allocations: 3.597 MB / 248.7 MB, free: 9.988 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001801/0.006084, allocations: 0.9033 MB / 249.6 MB, free: 9.082 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000164/0.006248, allocations: 11.94 kB / 249.6 MB, free: 9.07 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001219/0.00637, allocations: 83.2 kB / 249.6 MB, free: 8.988 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000228/0.006598, allocations: 158.6 kB / 249.8 MB, free: 8.832 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.006869, allocations: 199.7 kB / 250 MB, free: 8.637 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004485/0.007318, allocations: 0.6346 MB / 250.6 MB, free: 8 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001981/0.007516, allocations: 167.3 kB / 250.8 MB, free: 7.832 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000371/0.007887, allocations: 407.9 kB / 251.2 MB, free: 7.434 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002142/0.008101, allocations: 211.3 kB / 251.4 MB, free: 7.227 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.176e-05/0.008163, allocations: 60 kB / 251.5 MB, free: 7.168 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.365e-05/0.008216, allocations: 56 kB / 251.5 MB, free: 7.113 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.162e-05/0.008278, allocations: 95.67 kB / 251.6 MB, free: 7.02 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.008401, allocations: 163.7 kB / 251.8 MB, free: 6.859 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003052/0.008706, allocations: 378.7 kB / 252.1 MB, free: 6.488 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.347e-05/0.008719, allocations: 0 / 252.1 MB, free: 6.488 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.00872, allocations: 0 / 252.1 MB, free: 6.488 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.573e-05/0.008735, allocations: 4 kB / 252.1 MB, free: 6.484 MB / 250.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.00096/0.009695, allocations: 0.8677 MB / 253 MB, free: 5.582 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.009727, allocations: 12.62 kB / 253 MB, free: 5.57 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.642e-05/0.009813, allocations: 76.88 kB / 253.1 MB, free: 5.496 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/0.01009, allocations: 229.3 kB / 253.3 MB, free: 5.246 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.01011, allocations: 41.31 kB / 253.4 MB, free: 5.207 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.962e-05/0.01015, allocations: 48.38 kB / 253.4 MB, free: 5.16 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004215/0.01058, allocations: 0.6327 MB / 254 MB, free: 4.441 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.01059, allocations: 192 / 254 MB, free: 4.441 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.797e-05/0.01062, allocations: 31.86 kB / 254.1 MB, free: 4.41 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.168e-06/0.01063, allocations: 12 kB / 254.1 MB, free: 4.398 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.01076, allocations: 107 kB / 254.2 MB, free: 4.293 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/0.01194, allocations: 1.16 MB / 255.3 MB, free: 3.055 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.01213, allocations: 130.5 kB / 255.5 MB, free: 2.918 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.532e-05/0.01217, allocations: 44.83 kB / 255.5 MB, free: 2.871 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.01219, allocations: 4 kB / 255.5 MB, free: 2.867 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002071/0.0124, allocations: 260.5 kB / 255.8 MB, free: 2.559 MB / 250.7 MB Notification: Performance of pre-optimization done (n=27): time 1.212e-06/0.0124, allocations: 4 kB / 255.8 MB, free: 2.555 MB / 250.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005143/0.01291, allocations: 314.5 kB / 256.1 MB, free: 2.23 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.01294, allocations: 63.39 kB / 256.1 MB, free: 2.156 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.01314, allocations: 266.8 kB / 256.4 MB, free: 1.883 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/0.01317, allocations: 33.7 kB / 256.4 MB, free: 1.844 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.01329, allocations: 260.5 kB / 256.7 MB, free: 1.586 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.588e-05/0.01335, allocations: 91.2 kB / 256.8 MB, free: 1.496 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.684e-05/0.01342, allocations: 89.92 kB / 256.9 MB, free: 1.402 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.991e-05/0.01351, allocations: 346.7 kB / 257.2 MB, free: 1.055 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.636e-05/0.01357, allocations: 58.44 kB / 257.3 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002006/0.01377, allocations: 495.9 kB / 257.8 MB, free: 380 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.01393, allocations: 228.2 kB / 258 MB, free: 108 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.01394, allocations: 0 / 258 MB, free: 108 kB / 250.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004189/0.01435, allocations: 392.5 kB / 258.4 MB, free: 15.69 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.521e-05/0.01439, allocations: 33.7 kB / 258.4 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.0144, allocations: 4 kB / 258.4 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004124/0.01481, allocations: 190.4 kB / 258.6 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.01492, allocations: 55.92 kB / 258.6 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002089/0.017, allocations: 4.038 MB / 262.7 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.01715, allocations: 67.7 kB / 262.7 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.01717, allocations: 8 kB / 262.8 MB, free: 11.02 MB / 266.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 9.593e-05/0.01726, allocations: 145.7 kB / 262.9 MB, free: 10.87 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.068e-05/0.01729, allocations: 31.97 kB / 262.9 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.774e-05/0.01732, allocations: 34.98 kB / 263 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.01732, allocations: 7.938 kB / 263 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.086e-06/0.01733, allocations: 4 kB / 263 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.01734, allocations: 3.984 kB / 263 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.01749, allocations: 193.6 kB / 263.2 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.01749, allocations: 0 / 263.2 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.0176, allocations: 47.95 kB / 263.2 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.61e-05/0.01763, allocations: 31.75 kB / 263.2 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002077/0.01783, allocations: 127.2 kB / 263.4 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.01784, allocations: 4 kB / 263.4 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001885/0.01973, allocations: 4.87 MB / 268.2 MB, free: 5.145 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01973, allocations: 0 / 268.2 MB, free: 5.145 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002271/0.01996, allocations: 232.1 kB / 268.5 MB, free: 4.887 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.01998, allocations: 8 kB / 268.5 MB, free: 4.879 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.509e-05/0.02008, allocations: 28.02 kB / 268.5 MB, free: 4.852 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.952e-05/0.02016, allocations: 59.91 kB / 268.6 MB, free: 4.793 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.02017, allocations: 0 / 268.6 MB, free: 4.793 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.224e-05/0.02024, allocations: 100.6 kB / 268.7 MB, free: 4.695 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02024, allocations: 0 / 268.7 MB, free: 4.695 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003196/0.02056, allocations: 155.7 kB / 268.8 MB, free: 4.543 MB / 266.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 8.672e-05/0.02064, allocations: 100.3 kB / 268.9 MB, free: 4.438 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004664/0.02111, allocations: 0.6241 MB / 269.5 MB, free: 3.754 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.848e-05/0.02113, allocations: 24.05 kB / 269.6 MB, free: 3.73 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000291/0.02142, allocations: 0.5384 MB / 270.1 MB, free: 3.137 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/0.02161, allocations: 87.91 kB / 270.2 MB, free: 3.047 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002313/0.02392, allocations: 0.688 MB / 270.9 MB, free: 2.328 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.802e-05/0.02398, allocations: 113.6 kB / 271 MB, free: 2.195 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.566e-05/0.02406, allocations: 34.97 kB / 271 MB, free: 2.164 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001744/0.02424, allocations: 147.3 kB / 271.2 MB, free: 2.02 MB / 266.7 MB Notification: Performance of SimCode: time 7.71e-07/0.02424, allocations: 0 / 271.2 MB, free: 2.02 MB / 266.7 MB Notification: Performance of Templates: time 0.008119/0.03236, allocations: 6.858 MB / 278 MB, free: 11.24 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 -ignoreHideResult -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.7519085984677076]