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.001579/0.001579, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001784/0.001784, allocations: 213.7 kB / 24.5 MB, free: 4.148 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.433/1.433, allocations: 230.5 MB / 258.1 MB, free: 7.988 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.001891/0.001891, allocations: 63.89 kB / 379.1 MB, free: 2.559 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2368, allocations: 53.4 MB / 432.5 MB, free: 6.766 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.005231/0.242, allocations: 3.645 MB / 436.1 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001891/0.2439, allocations: 0.8958 MB / 437 MB, free: 2.203 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002168/0.2441, allocations: 8 kB / 437 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002391/0.2444, allocations: 87.2 kB / 437.1 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003998/0.2448, allocations: 142.7 kB / 437.2 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004737/0.2452, allocations: 199.7 kB / 437.4 MB, free: 1.773 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006835/0.2459, allocations: 0.6155 MB / 438.1 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003201/0.2462, allocations: 161.4 kB / 438.2 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002908/0.2465, allocations: 251.1 kB / 438.5 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000403/0.2469, allocations: 286.8 kB / 438.7 MB, free: 476 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.191e-05/0.247, allocations: 60 kB / 438.8 MB, free: 416 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.761e-05/0.2471, allocations: 56 kB / 438.8 MB, free: 360 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.2472, allocations: 131.5 kB / 439 MB, free: 228 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002733/0.2475, allocations: 274.8 kB / 439.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000665/0.2482, allocations: 0.6159 MB / 439.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2482, allocations: 0 / 439.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.2482, allocations: 4 kB / 439.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.948e-06/0.2482, allocations: 4 kB / 439.9 MB, free: 15.33 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.001591/0.2498, allocations: 0.7797 MB / 440.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.2498, allocations: 8.031 kB / 440.7 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.2499, allocations: 60.61 kB / 440.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005446/0.2505, allocations: 284.7 kB / 441 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.497e-05/0.2505, allocations: 41.38 kB / 441 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.463e-05/0.2506, allocations: 40.38 kB / 441.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008696/0.2514, allocations: 0.5139 MB / 441.6 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.2515, allocations: 0 / 441.6 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.509e-05/0.2515, allocations: 20 kB / 441.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.674e-05/0.2515, allocations: 15.98 kB / 441.6 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006623/0.2522, allocations: 323.7 kB / 441.9 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002373/0.2546, allocations: 1.498 MB / 443.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005007/0.2551, allocations: 190.5 kB / 443.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002129/0.2553, allocations: 92.8 kB / 443.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.2553, allocations: 8 kB / 443.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004127/0.2557, allocations: 213.6 kB / 443.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.844e-06/0.2557, allocations: 4 kB / 443.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001445/0.2572, allocations: 478.2 kB / 444.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001902/0.2573, allocations: 312.4 kB / 444.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003761/0.2577, allocations: 320.1 kB / 445 MB, free: 9.852 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.587e-05/0.2578, allocations: 33.7 kB / 445.1 MB, free: 9.812 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/0.258, allocations: 280.1 kB / 445.3 MB, free: 9.531 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.931e-05/0.2581, allocations: 91.22 kB / 445.4 MB, free: 9.441 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.2582, allocations: 82.02 kB / 445.5 MB, free: 9.352 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.2584, allocations: 338.8 kB / 445.8 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002424/0.2586, allocations: 96.69 kB / 445.9 MB, free: 8.918 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003692/0.259, allocations: 265.2 kB / 446.2 MB, free: 8.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005653/0.2595, allocations: 339.4 kB / 446.5 MB, free: 8.215 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2595, allocations: 3.938 kB / 446.5 MB, free: 8.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001182/0.2607, allocations: 0.5181 MB / 447 MB, free: 7.672 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.606e-05/0.2608, allocations: 37.64 kB / 447.1 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.2608, allocations: 4 kB / 447.1 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006566/0.2614, allocations: 170.4 kB / 447.2 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/0.2616, allocations: 51.91 kB / 447.3 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004585/0.2662, allocations: 4.634 MB / 451.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005284/0.2667, allocations: 59.77 kB / 452 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.997e-05/0.2668, allocations: 16 kB / 452 MB, free: 2.348 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.0002522/0.267, allocations: 169.3 kB / 452.2 MB, free: 2.176 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001554/0.2672, allocations: 32 kB / 452.2 MB, free: 2.145 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.035e-05/0.2672, allocations: 43.02 kB / 452.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.2672, allocations: 8 kB / 452.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/0.2673, allocations: 4 kB / 452.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.2673, allocations: 3.984 kB / 452.3 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005388/0.2678, allocations: 396.3 kB / 452.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.2678, allocations: 4 kB / 452.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001743/0.268, allocations: 31.97 kB / 452.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003305/0.2683, allocations: 111.3 kB / 452.8 MB, free: 1.496 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.662e-05/0.2683, allocations: 11.94 kB / 452.8 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004438/0.2728, allocations: 5.344 MB / 458.1 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.2728, allocations: 0 / 458.1 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000841/0.2736, allocations: 361 kB / 458.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.377e-05/0.2737, allocations: 35.73 kB / 458.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.435e-05/0.2738, allocations: 8 kB / 458.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/0.274, allocations: 35.97 kB / 458.6 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.972e-05/0.2741, allocations: 23.95 kB / 458.6 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.2741, allocations: 11.98 kB / 458.6 MB, free: 11.19 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002689/0.2744, allocations: 219.1 kB / 458.8 MB, free: 10.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2744, allocations: 0 / 458.8 MB, free: 10.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006229/0.275, allocations: 143.8 kB / 459 MB, free: 10.84 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.0001687/0.2752, allocations: 123.1 kB / 459.1 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001346/0.2766, allocations: 0.6945 MB / 459.8 MB, free: 9.961 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.2766, allocations: 4 kB / 459.8 MB, free: 9.957 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008375/0.2774, allocations: 0.5696 MB / 460.3 MB, free: 9.336 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/0.2778, allocations: 63.16 kB / 460.4 MB, free: 9.277 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.2792, allocations: 0.7228 MB / 461.1 MB, free: 8.523 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006405/0.2798, allocations: 0.804 MB / 461.9 MB, free: 7.691 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.28, allocations: 35.42 kB / 462 MB, free: 7.656 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.28, allocations: 0 / 462 MB, free: 7.656 MB / 366.1 MB Notification: Performance of Templates: time 0.02295/0.3029, allocations: 10.55 MB / 472.5 MB, free: 13.11 MB / 382.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/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_trunk_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.299405463971198]