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.001661/0.001661, allocations: 107.6 kB / 21.18 MB, free: 0.6758 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.001415/0.001415, allocations: 209.1 kB / 24.48 MB, free: 3.973 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.453/1.453, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.001518/0.001518, allocations: 39.94 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2515, allocations: 53.37 MB / 432.4 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.004969/0.2565, allocations: 3.287 MB / 435.7 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001836/0.2583, allocations: 0.8453 MB / 436.5 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000208/0.2585, allocations: 11.94 kB / 436.5 MB, free: 2.535 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002317/0.2588, allocations: 83.2 kB / 436.6 MB, free: 2.453 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003911/0.2591, allocations: 146.8 kB / 436.7 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004568/0.2596, allocations: 203.6 kB / 436.9 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006732/0.2603, allocations: 0.6154 MB / 437.6 MB, free: 1.488 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003125/0.2606, allocations: 165.4 kB / 437.7 MB, free: 1.324 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000281/0.2609, allocations: 247.2 kB / 438 MB, free: 1.082 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003836/0.2613, allocations: 294.8 kB / 438.2 MB, free: 0.793 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.807e-05/0.2613, allocations: 56 kB / 438.3 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.101e-05/0.2614, allocations: 60 kB / 438.4 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.2616, allocations: 123.6 kB / 438.5 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000268/0.2618, allocations: 239 kB / 438.7 MB, free: 332 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007039/0.2625, allocations: 0.6176 MB / 439.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.2625, allocations: 0 / 439.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2625, allocations: 0 / 439.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.787e-06/0.2625, allocations: 0 / 439.3 MB, free: 15.71 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.001626/0.2642, allocations: 0.7875 MB / 440.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.2642, allocations: 8.031 kB / 440.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.2643, allocations: 56.61 kB / 440.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005458/0.2649, allocations: 288.7 kB / 440.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.358e-05/0.2649, allocations: 37.31 kB / 440.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.569e-05/0.265, allocations: 44.38 kB / 440.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/0.2661, allocations: 0.7727 MB / 441.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.2661, allocations: 3.984 kB / 441.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.773e-05/0.2662, allocations: 20 kB / 441.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.2662, allocations: 8 kB / 441.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006835/0.2669, allocations: 315.8 kB / 441.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002254/0.2691, allocations: 1.315 MB / 443 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005137/0.2696, allocations: 190.5 kB / 443.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/0.2698, allocations: 88.81 kB / 443.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.2699, allocations: 8 kB / 443.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004925/0.2704, allocations: 324.4 kB / 443.6 MB, free: 11.17 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.623e-06/0.2704, allocations: 0 / 443.6 MB, free: 11.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001491/0.2719, allocations: 466.4 kB / 444 MB, free: 10.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001867/0.272, allocations: 320.4 kB / 444.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003613/0.2724, allocations: 304.1 kB / 444.6 MB, free: 10 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.96e-05/0.2724, allocations: 33.7 kB / 444.7 MB, free: 9.965 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000225/0.2727, allocations: 280.1 kB / 444.9 MB, free: 9.684 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.361e-05/0.2728, allocations: 91.22 kB / 445 MB, free: 9.594 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.2729, allocations: 82.02 kB / 445.1 MB, free: 9.504 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.2731, allocations: 346.7 kB / 445.4 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002642/0.2733, allocations: 122.4 kB / 445.6 MB, free: 9.031 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006773/0.274, allocations: 0.5428 MB / 446.1 MB, free: 8.352 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006126/0.2746, allocations: 335.1 kB / 446.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.2746, allocations: 3.938 kB / 446.4 MB, free: 7.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001233/0.2758, allocations: 0.5547 MB / 447 MB, free: 7.395 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.817e-05/0.2759, allocations: 33.83 kB / 447 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.2759, allocations: 11.94 kB / 447 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006999/0.2766, allocations: 166.4 kB / 447.2 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002068/0.2768, allocations: 47.91 kB / 447.2 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004734/0.2816, allocations: 4.538 MB / 451.8 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004441/0.282, allocations: 63.84 kB / 451.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.25e-05/0.282, allocations: 15.98 kB / 451.9 MB, free: 2.203 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.0002993/0.2823, allocations: 169.7 kB / 452 MB, free: 2.027 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.727e-05/0.2824, allocations: 31.81 kB / 452.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.321e-05/0.2824, allocations: 34.98 kB / 452.1 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.2825, allocations: 8 kB / 452.1 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.2825, allocations: 4 kB / 452.1 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.2825, allocations: 0 / 452.1 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004097/0.2829, allocations: 289 kB / 452.4 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.2829, allocations: 4 kB / 452.4 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.2831, allocations: 31.92 kB / 452.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003239/0.2834, allocations: 99.36 kB / 452.5 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.085e-05/0.2834, allocations: 15.97 kB / 452.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004262/0.2877, allocations: 5.24 MB / 457.8 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2877, allocations: 0 / 457.8 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008543/0.2885, allocations: 365.2 kB / 458.1 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.911e-05/0.2886, allocations: 31.73 kB / 458.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.223e-05/0.2887, allocations: 8 kB / 458.2 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002743/0.2889, allocations: 27.97 kB / 458.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.2891, allocations: 39.89 kB / 458.2 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/0.2891, allocations: 11.98 kB / 458.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002619/0.2893, allocations: 207.1 kB / 458.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2893, allocations: 0 / 458.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006771/0.29, allocations: 151.7 kB / 458.6 MB, free: 10.97 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.0001538/0.2902, allocations: 119.2 kB / 458.7 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001334/0.2915, allocations: 0.7276 MB / 459.4 MB, free: 10.06 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.2915, allocations: 4.75 kB / 459.4 MB, free: 10.06 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007999/0.2923, allocations: 0.5689 MB / 460 MB, free: 9.438 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003923/0.2927, allocations: 52.98 kB / 460.1 MB, free: 9.383 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.2941, allocations: 0.7085 MB / 460.8 MB, free: 8.641 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002151/0.2943, allocations: 208.2 kB / 461 MB, free: 8.414 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.706e-05/0.2944, allocations: 35.42 kB / 461 MB, free: 8.379 MB / 366.1 MB Notification: Performance of SimCode: time 1.042e-06/0.2944, allocations: 0 / 461 MB, free: 8.379 MB / 366.1 MB Notification: Performance of Templates: time 0.01419/0.3086, allocations: 10.61 MB / 471.6 MB, free: 13.77 MB / 382.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Lines/CompareLosslessLines/CompareLosslessLines.csv","/var/lib/jenkins1/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] "" Variables in the reference: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 Variables in the result:line1.i1,line1.i2,line1.v1,line1.v2,line2.i1,line2.i2,line2.v1,line2.v2,line3.i1,line3.i2,line3.v1,line3.v2,time [Calling sys.exit(0), Time elapsed: 8.225386067992076]