Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 214.4 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.498/1.498, allocations: 230.6 MB / 257.5 MB, free: 8.016 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 51.91 kB / 378.3 MB, free: 2.574 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2649, allocations: 53.38 MB / 431.7 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.00531/0.2702, allocations: 3.63 MB / 435.3 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002117/0.2724, allocations: 0.8959 MB / 436.2 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002398/0.2726, allocations: 8 kB / 436.2 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002365/0.2728, allocations: 87.2 kB / 436.3 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003985/0.2732, allocations: 142.7 kB / 436.4 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004669/0.2737, allocations: 195.7 kB / 436.6 MB, free: 1.902 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006905/0.2744, allocations: 0.6193 MB / 437.2 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003048/0.2747, allocations: 165.4 kB / 437.4 MB, free: 1.113 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002974/0.275, allocations: 251.2 kB / 437.6 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003836/0.2754, allocations: 286.8 kB / 437.9 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.594e-05/0.2755, allocations: 56 kB / 438 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.721e-05/0.2756, allocations: 56 kB / 438 MB, free: 488 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.2757, allocations: 131.5 kB / 438.2 MB, free: 356 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002643/0.2759, allocations: 274.8 kB / 438.4 MB, free: 80 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007398/0.2767, allocations: 0.616 MB / 439 MB, free: 15.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.776e-06/0.2767, allocations: 8 kB / 439.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2767, allocations: 7.938 kB / 439.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.2767, allocations: 0 / 439.1 MB, free: 15.45 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.00155/0.2782, allocations: 0.7719 MB / 439.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.2783, allocations: 8.031 kB / 439.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.2784, allocations: 60.61 kB / 439.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00053/0.2789, allocations: 284.7 kB / 440.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.087e-05/0.279, allocations: 37.38 kB / 440.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.26e-05/0.279, allocations: 48.38 kB / 440.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008991/0.2799, allocations: 0.5139 MB / 440.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.28, allocations: 0 / 440.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.051e-05/0.28, allocations: 24 kB / 440.8 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.28, allocations: 12 kB / 440.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006866/0.2807, allocations: 319.8 kB / 441.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002332/0.283, allocations: 1.498 MB / 442.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005079/0.2836, allocations: 198.4 kB / 442.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002106/0.2838, allocations: 88.81 kB / 442.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.2838, allocations: 7.922 kB / 442.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004212/0.2842, allocations: 217.7 kB / 443.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.432e-06/0.2842, allocations: 0 / 443.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001436/0.2856, allocations: 478.2 kB / 443.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001812/0.2858, allocations: 316.4 kB / 443.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003689/0.2862, allocations: 312.2 kB / 444.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.083e-05/0.2862, allocations: 33.7 kB / 444.2 MB, free: 9.938 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.2864, allocations: 272.1 kB / 444.5 MB, free: 9.664 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.752e-05/0.2865, allocations: 103.2 kB / 444.6 MB, free: 9.562 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/0.2867, allocations: 78.02 kB / 444.7 MB, free: 9.477 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.2868, allocations: 338.8 kB / 445 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002404/0.2871, allocations: 100.7 kB / 445.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003733/0.2874, allocations: 265.2 kB / 445.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005456/0.288, allocations: 335.1 kB / 445.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.288, allocations: 0 / 445.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.00117/0.2891, allocations: 0.522 MB / 446.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.441e-05/0.2892, allocations: 37.62 kB / 446.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.2892, allocations: 4 kB / 446.3 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006412/0.2898, allocations: 174.4 kB / 446.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001961/0.29, allocations: 47.91 kB / 446.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004466/0.2945, allocations: 4.63 MB / 451.1 MB, free: 2.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003834/0.2949, allocations: 63.78 kB / 451.2 MB, free: 2.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.965e-05/0.2949, allocations: 23.92 kB / 451.2 MB, free: 2.465 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.0002232/0.2951, allocations: 165.7 kB / 451.4 MB, free: 2.293 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.84e-05/0.2952, allocations: 35.81 kB / 451.4 MB, free: 2.258 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.284e-05/0.2953, allocations: 43.05 kB / 451.4 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.2953, allocations: 8 kB / 451.4 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.2953, allocations: 0 / 451.4 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.2953, allocations: 4 kB / 451.4 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000459/0.2957, allocations: 404.3 kB / 451.8 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2958, allocations: 0 / 451.8 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/0.2959, allocations: 31.98 kB / 451.9 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003105/0.2963, allocations: 103.3 kB / 452 MB, free: 1.617 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.547e-05/0.2963, allocations: 15.92 kB / 452 MB, free: 1.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004289/0.3006, allocations: 5.34 MB / 457.3 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3006, allocations: 0 / 457.3 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000852/0.3014, allocations: 357 kB / 457.7 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.848e-05/0.3015, allocations: 35.73 kB / 457.7 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.757e-05/0.3015, allocations: 8.094 kB / 457.7 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002685/0.3018, allocations: 39.91 kB / 457.8 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/0.3019, allocations: 51.91 kB / 457.8 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.509e-05/0.302, allocations: 12 kB / 457.8 MB, free: 11.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002619/0.3022, allocations: 219.1 kB / 458 MB, free: 11.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3022, allocations: 0 / 458 MB, free: 11.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006272/0.3029, allocations: 143.7 kB / 458.2 MB, free: 10.93 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.0001632/0.303, allocations: 115.2 kB / 458.3 MB, free: 10.81 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001314/0.3043, allocations: 0.7021 MB / 459 MB, free: 10.06 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3043, allocations: 0 / 459 MB, free: 10.06 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007797/0.3051, allocations: 0.5813 MB / 459.6 MB, free: 9.426 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003891/0.3055, allocations: 66.53 kB / 459.6 MB, free: 9.367 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.3069, allocations: 0.6795 MB / 460.3 MB, free: 8.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004439/0.3074, allocations: 0.8079 MB / 461.1 MB, free: 7.824 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000149/0.3075, allocations: 50.94 kB / 461.2 MB, free: 7.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.909e-05/0.3076, allocations: 35.42 kB / 461.2 MB, free: 7.734 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3076, allocations: 0 / 461.2 MB, free: 7.734 MB / 366.1 MB Notification: Performance of Templates: time 0.01331/0.3209, allocations: 6.195 MB / 467.4 MB, free: 1.574 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.776218001963571]