Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001711/0.001711, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001681/0.001681, allocations: 211.8 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.466/1.466, allocations: 230.6 MB / 258.3 MB, free: 8.07 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 68.77 kB / 379.1 MB, free: 2.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2714, allocations: 53.38 MB / 432.4 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.004992/0.2764, allocations: 3.63 MB / 436.1 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001592/0.278, allocations: 0.892 MB / 437 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001846/0.2782, allocations: 11.94 kB / 437 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001984/0.2784, allocations: 75.22 kB / 437.1 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003373/0.2787, allocations: 150.7 kB / 437.2 MB, free: 2.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004068/0.2791, allocations: 199.6 kB / 437.4 MB, free: 1.984 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006533/0.2797, allocations: 0.6155 MB / 438 MB, free: 1.363 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002837/0.28, allocations: 167.4 kB / 438.2 MB, free: 1.199 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002833/0.2803, allocations: 247.2 kB / 438.4 MB, free: 0.957 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003709/0.2807, allocations: 294.7 kB / 438.7 MB, free: 0.668 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.233e-05/0.2808, allocations: 56 kB / 438.8 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.77e-05/0.2809, allocations: 60 kB / 438.8 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.281, allocations: 127.5 kB / 438.9 MB, free: 440 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002534/0.2812, allocations: 278.7 kB / 439.2 MB, free: 160 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006491/0.2819, allocations: 0.6144 MB / 439.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.2819, allocations: 0 / 439.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.2819, allocations: 0 / 439.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.2819, allocations: 4 kB / 439.8 MB, free: 15.54 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.001523/0.2834, allocations: 0.7836 MB / 440.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.2834, allocations: 8.031 kB / 440.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.2836, allocations: 56.61 kB / 440.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004765/0.284, allocations: 280.7 kB / 441 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.039e-05/0.2841, allocations: 37.38 kB / 441 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.67e-05/0.2842, allocations: 52.38 kB / 441 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008999/0.2851, allocations: 0.5178 MB / 441.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.2851, allocations: 0 / 441.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.218e-05/0.2851, allocations: 16 kB / 441.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.2851, allocations: 16 kB / 441.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006554/0.2858, allocations: 315.8 kB / 441.9 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002339/0.2881, allocations: 1.502 MB / 443.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005619/0.2887, allocations: 198.5 kB / 443.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002117/0.2889, allocations: 96.8 kB / 443.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.091e-05/0.2889, allocations: 7.984 kB / 443.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004215/0.2893, allocations: 213.6 kB / 443.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.493e-06/0.2894, allocations: 0 / 443.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001451/0.2908, allocations: 474.3 kB / 444.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001818/0.291, allocations: 324.4 kB / 444.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003928/0.2914, allocations: 308.2 kB / 445 MB, free: 10.06 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.662e-05/0.2914, allocations: 29.7 kB / 445 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002168/0.2916, allocations: 276.1 kB / 445.3 MB, free: 9.746 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.168e-05/0.2917, allocations: 95.2 kB / 445.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.2919, allocations: 89.95 kB / 445.5 MB, free: 9.555 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.2921, allocations: 338.8 kB / 445.8 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002541/0.2923, allocations: 96.7 kB / 445.9 MB, free: 9.121 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003842/0.2927, allocations: 265.2 kB / 446.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005474/0.2932, allocations: 331.1 kB / 446.5 MB, free: 8.426 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.2932, allocations: 8 kB / 446.5 MB, free: 8.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001137/0.2944, allocations: 0.5219 MB / 447 MB, free: 7.875 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.334e-05/0.2944, allocations: 40.14 kB / 447 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.2944, allocations: 4 kB / 447 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006326/0.2951, allocations: 162.4 kB / 447.2 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.2953, allocations: 56 kB / 447.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004697/0.3, allocations: 4.63 MB / 451.9 MB, free: 2.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000388/0.3003, allocations: 67.77 kB / 452 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.3004, allocations: 12 kB / 452 MB, free: 2.555 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.0002528/0.3006, allocations: 165.7 kB / 452.1 MB, free: 2.383 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.004e-05/0.3007, allocations: 35.8 kB / 452.2 MB, free: 2.348 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.774e-05/0.3008, allocations: 43.02 kB / 452.2 MB, free: 2.301 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3008, allocations: 192 / 452.2 MB, free: 2.301 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.356e-05/0.3008, allocations: 12 kB / 452.2 MB, free: 2.289 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3008, allocations: 0 / 452.2 MB, free: 2.289 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004769/0.3013, allocations: 400.3 kB / 452.6 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.3013, allocations: 3.938 kB / 452.6 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/0.3014, allocations: 35.97 kB / 452.6 MB, free: 1.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003229/0.3018, allocations: 107.3 kB / 452.8 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.746e-05/0.3018, allocations: 11.94 kB / 452.8 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004346/0.3061, allocations: 5.344 MB / 458.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3061, allocations: 0 / 458.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008556/0.307, allocations: 357 kB / 458.5 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.169e-05/0.3071, allocations: 35.73 kB / 458.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.668e-05/0.3071, allocations: 8 kB / 458.5 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002556/0.3074, allocations: 35.91 kB / 458.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/0.3075, allocations: 55.91 kB / 458.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.3075, allocations: 4 kB / 458.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003347/0.3078, allocations: 223.1 kB / 458.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3078, allocations: 0 / 458.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006621/0.3085, allocations: 147.7 kB / 459 MB, free: 11.01 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.0001825/0.3087, allocations: 107.2 kB / 459.1 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001324/0.31, allocations: 0.6987 MB / 459.8 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.31, allocations: 4 kB / 459.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008022/0.3108, allocations: 0.5774 MB / 460.3 MB, free: 9.516 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.3112, allocations: 64.48 kB / 460.4 MB, free: 9.453 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.3126, allocations: 0.6911 MB / 461.1 MB, free: 8.734 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004851/0.3131, allocations: 0.8118 MB / 461.9 MB, free: 7.895 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001536/0.3133, allocations: 42.95 kB / 461.9 MB, free: 7.848 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.369e-05/0.3134, allocations: 35.44 kB / 462 MB, free: 7.812 MB / 366.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3134, allocations: 0 / 462 MB, free: 7.812 MB / 366.1 MB Notification: Performance of Templates: time 0.01329/0.3266, allocations: 6.186 MB / 468.2 MB, free: 1.66 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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.643771250732243]