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.001286/0.001286, allocations: 112.2 kB / 21.19 MB, free: 0.7734 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.001395/0.001395, allocations: 210.1 kB / 24.5 MB, free: 4.152 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.377/1.377, allocations: 230.6 MB / 258.3 MB, free: 8.227 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.001616/0.001616, allocations: 43.92 kB / 379.1 MB, free: 2.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2381, allocations: 53.37 MB / 432.4 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.004969/0.2431, allocations: 3.64 MB / 436.1 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001591/0.2446, allocations: 0.892 MB / 437 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001734/0.2448, allocations: 8 kB / 437 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002048/0.245, allocations: 79.22 kB / 437 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003337/0.2454, allocations: 150.7 kB / 437.2 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004426/0.2458, allocations: 199.6 kB / 437.4 MB, free: 1.973 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007434/0.2465, allocations: 0.6116 MB / 438 MB, free: 1.355 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003148/0.2469, allocations: 165.4 kB / 438.2 MB, free: 1.191 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003229/0.2472, allocations: 255.1 kB / 438.4 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004024/0.2476, allocations: 286.8 kB / 438.7 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.48e-05/0.2477, allocations: 56 kB / 438.7 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.045e-05/0.2478, allocations: 60 kB / 438.8 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.2479, allocations: 131.5 kB / 438.9 MB, free: 428 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002781/0.2482, allocations: 274.8 kB / 439.2 MB, free: 152 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007208/0.2489, allocations: 0.6159 MB / 439.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.2489, allocations: 0 / 439.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2489, allocations: 0 / 439.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.729e-06/0.2489, allocations: 0 / 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.001595/0.2505, allocations: 0.7913 MB / 440.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.2505, allocations: 12.03 kB / 440.6 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.2507, allocations: 60.55 kB / 440.7 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005328/0.2512, allocations: 276.8 kB / 441 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.154e-05/0.2512, allocations: 33.38 kB / 441 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.669e-05/0.2513, allocations: 52.31 kB / 441 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000873/0.2522, allocations: 0.5101 MB / 441.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.2522, allocations: 4 kB / 441.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.795e-05/0.2522, allocations: 23.98 kB / 441.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.2522, allocations: 12 kB / 441.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006499/0.2529, allocations: 319.8 kB / 441.9 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002403/0.2553, allocations: 1.506 MB / 443.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005283/0.2558, allocations: 190.5 kB / 443.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002136/0.256, allocations: 84.81 kB / 443.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.2561, allocations: 8 kB / 443.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003997/0.2565, allocations: 213.6 kB / 443.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.674e-06/0.2565, allocations: 0 / 443.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001422/0.2579, allocations: 482.2 kB / 444.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002013/0.2581, allocations: 320.4 kB / 444.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003562/0.2584, allocations: 300.2 kB / 445 MB, free: 10.06 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.255e-05/0.2585, allocations: 33.7 kB / 445 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002146/0.2587, allocations: 284.1 kB / 445.3 MB, free: 9.738 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.192e-05/0.2588, allocations: 95.22 kB / 445.4 MB, free: 9.645 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.2589, allocations: 78.02 kB / 445.4 MB, free: 9.559 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.2591, allocations: 346.8 kB / 445.8 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002396/0.2593, allocations: 92.7 kB / 445.9 MB, free: 9.121 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003737/0.2597, allocations: 269.1 kB / 446.1 MB, free: 8.789 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005444/0.2602, allocations: 331.1 kB / 446.5 MB, free: 8.422 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.2602, allocations: 0 / 446.5 MB, free: 8.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001148/0.2614, allocations: 0.5259 MB / 447 MB, free: 7.875 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.501e-05/0.2614, allocations: 41.64 kB / 447 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.2614, allocations: 3.984 kB / 447 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006328/0.2621, allocations: 166.4 kB / 447.2 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/0.2623, allocations: 47.91 kB / 447.2 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004648/0.2669, allocations: 4.638 MB / 451.9 MB, free: 2.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004407/0.2673, allocations: 67.64 kB / 451.9 MB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.095e-05/0.2674, allocations: 20.06 kB / 452 MB, free: 2.539 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.0002898/0.2677, allocations: 169.7 kB / 452.1 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.137e-05/0.2677, allocations: 35.75 kB / 452.2 MB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.267e-05/0.2678, allocations: 43.02 kB / 452.2 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.2678, allocations: 0 / 452.2 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/0.2678, allocations: 4 kB / 452.2 MB, free: 2.277 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2678, allocations: 0 / 452.2 MB, free: 2.277 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004498/0.2683, allocations: 400.3 kB / 452.6 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.2683, allocations: 0 / 452.6 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001705/0.2685, allocations: 39.97 kB / 452.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003113/0.2688, allocations: 103.3 kB / 452.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.2688, allocations: 7.938 kB / 452.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004346/0.2731, allocations: 5.344 MB / 458.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.2731, allocations: 3.984 kB / 458.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000776/0.2739, allocations: 365 kB / 458.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.163e-05/0.274, allocations: 31.73 kB / 458.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.911e-05/0.274, allocations: 8 kB / 458.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002549/0.2743, allocations: 27.97 kB / 458.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.2744, allocations: 39.94 kB / 458.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.2744, allocations: 8 kB / 458.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002497/0.2747, allocations: 219.1 kB / 458.8 MB, free: 11.17 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2747, allocations: 0 / 458.8 MB, free: 11.17 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005734/0.2752, allocations: 147.7 kB / 458.9 MB, free: 11.02 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.0001434/0.2754, allocations: 111.2 kB / 459 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001206/0.2766, allocations: 0.6952 MB / 459.7 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2766, allocations: 0 / 459.7 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007389/0.2773, allocations: 0.5689 MB / 460.3 MB, free: 9.539 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.2777, allocations: 64.94 kB / 460.4 MB, free: 9.477 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.279, allocations: 0.7201 MB / 461.1 MB, free: 8.723 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000451/0.2794, allocations: 0.8117 MB / 461.9 MB, free: 7.883 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.256e-05/0.2795, allocations: 35.42 kB / 461.9 MB, free: 7.848 MB / 366.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2795, allocations: 0 / 461.9 MB, free: 7.848 MB / 366.1 MB Notification: Performance of Templates: time 0.01335/0.2928, allocations: 10.55 MB / 472.5 MB, free: 13.31 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: 7.7750797821208835]