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.001431/0.001431, allocations: 106.5 kB / 21.22 MB, free: 0.6797 MB / 14.72 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.001607/0.001607, allocations: 209.3 kB / 24.54 MB, free: 4.055 MB / 14.72 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.533/1.533, allocations: 230.3 MB / 258 MB, free: 8.25 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001929/0.001929, allocations: 59.89 kB / 378.8 MB, free: 2.738 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2814, allocations: 53.37 MB / 432.2 MB, free: 7.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.006317/0.2877, allocations: 3.633 MB / 435.8 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002076/0.2898, allocations: 0.8998 MB / 436.7 MB, free: 2.496 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002903/0.2901, allocations: 8 kB / 436.7 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002718/0.2903, allocations: 83.14 kB / 436.8 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005565/0.2909, allocations: 146.8 kB / 436.9 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006112/0.2915, allocations: 199.6 kB / 437.1 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009269/0.2924, allocations: 0.6077 MB / 437.7 MB, free: 1.453 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000349/0.2928, allocations: 171.4 kB / 437.9 MB, free: 1.285 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003648/0.2931, allocations: 243.2 kB / 438.1 MB, free: 1.047 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003865/0.2935, allocations: 290.8 kB / 438.4 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.444e-05/0.2936, allocations: 60 kB / 438.5 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.2937, allocations: 60 kB / 438.5 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.2939, allocations: 127.5 kB / 438.7 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002955/0.2941, allocations: 278.8 kB / 438.9 MB, free: 252 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007585/0.2949, allocations: 0.6183 MB / 439.5 MB, free: 15.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2949, allocations: 0 / 439.5 MB, free: 15.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2949, allocations: 0 / 439.5 MB, free: 15.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.2949, allocations: 0 / 439.5 MB, free: 15.63 MB / 350.1 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.00186/0.2968, allocations: 0.7836 MB / 440.3 MB, free: 14.81 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.2968, allocations: 12.03 kB / 440.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/0.297, allocations: 56.61 kB / 440.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005801/0.2976, allocations: 280.7 kB / 440.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.117e-05/0.2976, allocations: 37.38 kB / 440.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.628e-05/0.2977, allocations: 52.36 kB / 440.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.2987, allocations: 0.51 MB / 441.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.2987, allocations: 0 / 441.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.858e-05/0.2988, allocations: 24 kB / 441.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.2988, allocations: 12 kB / 441.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007453/0.2996, allocations: 311.8 kB / 441.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002698/0.3023, allocations: 1.506 MB / 443.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006058/0.3029, allocations: 198.4 kB / 443.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002393/0.3031, allocations: 88.81 kB / 443.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.3031, allocations: 0 / 443.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004808/0.3036, allocations: 221.7 kB / 443.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.502e-06/0.3036, allocations: 3.938 kB / 443.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001609/0.3052, allocations: 478.2 kB / 444.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001807/0.3054, allocations: 320.4 kB / 444.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004039/0.3058, allocations: 304.2 kB / 444.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.706e-05/0.3059, allocations: 33.7 kB / 444.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002181/0.3061, allocations: 280.1 kB / 445 MB, free: 9.832 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.901e-05/0.3062, allocations: 95.22 kB / 445.1 MB, free: 9.738 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/0.3063, allocations: 82.02 kB / 445.2 MB, free: 9.648 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.3065, allocations: 338.8 kB / 445.5 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002696/0.3068, allocations: 100.7 kB / 445.6 MB, free: 9.211 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004123/0.3072, allocations: 261.2 kB / 445.9 MB, free: 8.887 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005985/0.3078, allocations: 334.2 kB / 446.2 MB, free: 8.516 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.3078, allocations: 0 / 446.2 MB, free: 8.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001295/0.3091, allocations: 0.5298 MB / 446.7 MB, free: 7.965 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.663e-05/0.3091, allocations: 37.64 kB / 446.8 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.3091, allocations: 0 / 446.8 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006943/0.3098, allocations: 170.4 kB / 446.9 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.31, allocations: 51.91 kB / 447 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00479/0.3148, allocations: 4.634 MB / 451.6 MB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000533/0.3153, allocations: 67.64 kB / 451.7 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.395e-05/0.3154, allocations: 12 kB / 451.7 MB, free: 2.641 MB / 350.1 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.0002713/0.3157, allocations: 170 kB / 451.8 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.329e-05/0.3157, allocations: 31.81 kB / 451.9 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.948e-05/0.3158, allocations: 47.05 kB / 451.9 MB, free: 2.383 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.3158, allocations: 4 kB / 451.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.3158, allocations: 4 kB / 451.9 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3158, allocations: 0 / 451.9 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000501/0.3163, allocations: 400.3 kB / 452.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3163, allocations: 0 / 452.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001953/0.3165, allocations: 35.92 kB / 452.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003433/0.3169, allocations: 103.4 kB / 452.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.377e-05/0.3169, allocations: 15.92 kB / 452.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004727/0.3216, allocations: 5.343 MB / 457.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3216, allocations: 0 / 457.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009186/0.3225, allocations: 361 kB / 458.2 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.983e-05/0.3226, allocations: 35.73 kB / 458.2 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.057e-05/0.3227, allocations: 8 kB / 458.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002946/0.323, allocations: 27.97 kB / 458.2 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/0.3232, allocations: 55.91 kB / 458.3 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.3232, allocations: 8.094 kB / 458.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002826/0.3235, allocations: 227 kB / 458.5 MB, free: 11.24 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3235, allocations: 3.938 kB / 458.5 MB, free: 11.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007271/0.3242, allocations: 147.7 kB / 458.7 MB, free: 11.09 MB / 366.1 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.0001556/0.3243, allocations: 103.2 kB / 458.8 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001403/0.3257, allocations: 0.7108 MB / 459.5 MB, free: 10.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.3257, allocations: 4.188 kB / 459.5 MB, free: 10.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00086/0.3266, allocations: 0.5728 MB / 460.1 MB, free: 9.594 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004314/0.327, allocations: 60.78 kB / 460.1 MB, free: 9.535 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.3287, allocations: 0.6756 MB / 460.8 MB, free: 8.832 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005636/0.3293, allocations: 0.8195 MB / 461.6 MB, free: 7.984 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002037/0.3295, allocations: 39 kB / 461.7 MB, free: 7.941 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.3296, allocations: 43.36 kB / 461.7 MB, free: 7.898 MB / 366.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3296, allocations: 0 / 461.7 MB, free: 7.898 MB / 366.1 MB Notification: Performance of Templates: time 0.0141/0.3437, allocations: 6.199 MB / 467.9 MB, free: 1.738 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.98120441287756]