Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.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.001638/0.001638, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002127/0.002127, allocations: 211.4 kB / 24.48 MB, free: 3.934 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.477/1.477, allocations: 230.5 MB / 258.1 MB, free: 7.785 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.CompareLineTrunks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|ramp.y|oLine1.p2.v|oLine2.p2.v|oLine3.p2.v|oLine4.p2.v|tLine1.p2.v|tLine2.p2.v|tLine3.p2.v|tLine4.p2.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks") translateModel(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|ramp.y|oLine1.p2.v|oLine2.p2.v|oLine3.p2.v|oLine4.p2.v|tLine1.p2.v|tLine2.p2.v|tLine3.p2.v|tLine4.p2.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 63.91 kB / 379 MB, free: 2.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2357, allocations: 53.41 MB / 432.4 MB, free: 6.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.007348/0.243, allocations: 5.848 MB / 438.3 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003689/0.2467, allocations: 1.68 MB / 440 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007949/0.2475, allocations: 27.88 kB / 440 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007204/0.2482, allocations: 254 kB / 440.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00129/0.2495, allocations: 0.5121 MB / 440.8 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008945/0.2504, allocations: 451.3 kB / 441.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008556/0.259, allocations: 7.786 MB / 449 MB, free: 5.895 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002446/0.2614, allocations: 1.535 MB / 450.5 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004053/0.2655, allocations: 2.789 MB / 453.3 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00556/0.271, allocations: 3.063 MB / 456.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001964/0.273, allocations: 0.6641 MB / 457 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002233/0.2752, allocations: 0.6562 MB / 457.7 MB, free: 13.1 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002218/0.2774, allocations: 1.589 MB / 459.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004901/0.2823, allocations: 2.467 MB / 461.7 MB, free: 9.027 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009418/0.2917, allocations: 8.292 MB / 470 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.2918, allocations: 0 / 470 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2918, allocations: 0 / 470 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002685/0.292, allocations: 0 / 470 MB, free: 0.7109 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1091 * Number of variables: 1091 Notification: Performance of Generate backend data structure: time 0.01585/0.3079, allocations: 5.957 MB / 476 MB, free: 10.69 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.3079, allocations: 12.03 kB / 476 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001434/0.3093, allocations: 0.5407 MB / 476.5 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00591/0.3153, allocations: 2.689 MB / 479.2 MB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003111/0.3156, allocations: 324.5 kB / 479.5 MB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0012/0.3168, allocations: 440.2 kB / 480 MB, free: 6.633 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01516/0.3319, allocations: 8.076 MB / 488.1 MB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-05/0.332, allocations: 0 / 488.1 MB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007088/0.3327, allocations: 176 kB / 488.2 MB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002455/0.333, allocations: 196.5 kB / 488.4 MB, free: 13.67 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01245/0.3454, allocations: 5.545 MB / 494 MB, free: 8.105 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0419/0.3873, allocations: 16.31 MB / 0.4983 GB, free: 7.453 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007859/0.3952, allocations: 4.34 MB / 0.5026 GB, free: 3.098 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005312/0.4005, allocations: 3.349 MB / 0.5058 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001701/0.4007, allocations: 38.81 kB / 0.5059 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001065/0.4008, allocations: 89.81 kB / 0.5059 GB, free: 15.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=358): time 6.623e-06/0.4008, allocations: 0 / 0.5059 GB, free: 15.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=358): time 0.01141/0.4122, allocations: 5.885 MB / 0.5117 GB, free: 9.652 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001975/0.4124, allocations: 303.8 kB / 0.512 GB, free: 9.293 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005291/0.4177, allocations: 2.913 MB / 0.5148 GB, free: 6.344 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008221/0.4185, allocations: 101.7 kB / 0.5149 GB, free: 6.238 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001494/0.42, allocations: 1.745 MB / 0.5166 GB, free: 4.477 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001844/0.4218, allocations: 1.325 MB / 0.5179 GB, free: 3.141 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001341/0.4232, allocations: 0.6458 MB / 0.5186 GB, free: 2.488 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.4233, allocations: 305.1 kB / 0.5188 GB, free: 2.188 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003658/0.427, allocations: 2.127 MB / 0.5209 GB, free: 60 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004442/0.4314, allocations: 2.66 MB / 0.5235 GB, free: 13.31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01969/0.4511, allocations: 8.937 MB / 0.5322 GB, free: 4.379 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/0.4511, allocations: 3.938 kB / 0.5322 GB, free: 4.375 MB / 446.1 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.2514/0.7025, allocations: 5.577 MB / 0.5377 GB, free: 98.11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.084e-05/0.7026, allocations: 5.406 kB / 0.5377 GB, free: 98.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/0.7026, allocations: 5.188 kB / 0.5377 GB, free: 98.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009881/0.7036, allocations: 326 kB / 0.538 GB, free: 98.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004161/0.7077, allocations: 0.9122 MB / 0.5389 GB, free: 98.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005445/0.7132, allocations: 7.28 MB / 0.546 GB, free: 92.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003168/0.7163, allocations: 383.2 kB / 0.5464 GB, free: 92.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002572/0.7166, allocations: 107 kB / 0.5465 GB, free: 92.54 MB / 446.1 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: oLine1.i[8] = 0.0 oLine2.i[8] = 0.0 oLine3.i[8] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (453): * Single equations (assignments): 449 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002252/0.7188, allocations: 1.412 MB / 0.5479 GB, free: 91.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006064/0.7194, allocations: 325.3 kB / 0.5482 GB, free: 91.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006204/0.7201, allocations: 432 kB / 0.5486 GB, free: 91.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.292e-05/0.7201, allocations: 34.7 kB / 0.5486 GB, free: 91.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.323e-05/0.7201, allocations: 3.656 kB / 0.5486 GB, free: 91.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.156e-05/0.7201, allocations: 22.92 kB / 0.5486 GB, free: 91.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01312/0.7333, allocations: 10.86 MB / 0.5592 GB, free: 87.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.032e-05/0.7333, allocations: 13.78 kB / 0.5593 GB, free: 87.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003124/0.7364, allocations: 0.8173 MB / 0.5601 GB, free: 86.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006127/0.737, allocations: 281.8 kB / 0.5603 GB, free: 86.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002045/0.7372, allocations: 127.9 kB / 0.5605 GB, free: 86.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004869/0.7421, allocations: 10.13 MB / 0.5703 GB, free: 75.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.678e-06/0.7421, allocations: 23.88 kB / 0.5704 GB, free: 75.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00813/0.7502, allocations: 7.113 MB / 0.5773 GB, free: 68.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001558/0.7518, allocations: 468.5 kB / 0.5778 GB, free: 67.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006097/0.7524, allocations: 135 kB / 0.5779 GB, free: 67.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002854/0.7553, allocations: 411.6 kB / 0.5783 GB, free: 67.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003762/0.7556, allocations: 269.5 kB / 0.5785 GB, free: 66.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002181/0.7559, allocations: 124 kB / 0.5787 GB, free: 66.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002302/0.7582, allocations: 2.051 MB / 0.5807 GB, free: 64.72 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.7582, allocations: 4 kB / 0.5807 GB, free: 64.72 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003288/0.7614, allocations: 1.352 MB / 0.582 GB, free: 63.46 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * Number of states: 57 (oLine1.L[1].i,oLine1.L[2].i,oLine1.L[3].i,oLine1.L[4].i,oLine1.L[5].i,oLine1.L[6].i,oLine1.L[7].i,oLine1.L[8].i,oLine1.C[1].v,oLine1.C[2].v,oLine1.C[3].v,oLine1.C[4].v,oLine1.C[5].v,oLine1.C[6].v,oLine1.C[7].v,oLine2.L[2].i,oLine2.L[3].i,oLine2.L[4].i,oLine2.L[5].i,oLine2.L[6].i,oLine2.L[7].i,oLine2.L[8].i,oLine2.C[1].v,oLine2.C[2].v,oLine2.C[3].v,oLine2.C[4].v,oLine2.C[5].v,oLine2.C[6].v,oLine2.C[7].v,oLine3.L[2].i,oLine3.L[3].i,oLine3.L[4].i,oLine3.L[5].i,oLine3.L[6].i,oLine3.L[7].i,oLine3.L[8].i,oLine3.C[1].v,oLine3.C[2].v,oLine3.C[3].v,oLine3.C[4].v,oLine3.C[5].v,oLine3.C[6].v,oLine3.C[7].v,oLine4.L[2].i,oLine4.L[3].i,oLine4.L[4].i,oLine4.L[5].i,oLine4.L[6].i,oLine4.L[7].i,oLine4.L[8].i,oLine4.C[1].v,oLine4.C[2].v,oLine4.C[3].v,oLine4.C[4].v,oLine4.C[5].v,oLine4.C[6].v,oLine4.C[7].v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (342): * Single equations (assignments): 335 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004375/0.7619, allocations: 300.6 kB / 0.5823 GB, free: 63.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005776/0.7677, allocations: 4.947 MB / 0.5871 GB, free: 58.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-05/0.7677, allocations: 10.66 kB / 0.5871 GB, free: 58.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002933/0.7706, allocations: 2.912 MB / 0.59 GB, free: 55.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003075/0.7737, allocations: 0.6748 MB / 0.5906 GB, free: 54.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01474/0.7884, allocations: 12.64 MB / 0.603 GB, free: 41.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002218/0.7906, allocations: 2.619 MB / 0.6055 GB, free: 39.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001388/0.792, allocations: 255.4 kB / 0.6058 GB, free: 38.8 MB / 446.1 MB Notification: Performance of SimCode: time 8.11e-07/0.792, allocations: 4 kB / 0.6058 GB, free: 38.8 MB / 446.1 MB Notification: Performance of Templates: time 0.3594/1.151, allocations: 171.5 MB / 0.7732 GB, free: 163 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Lines/CompareLineTrunks/CompareLineTrunks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,ramp.y,oLine1.p2.v,oLine2.p2.v,oLine3.p2.v,oLine4.p2.v,tLine1.p2.v,tLine2.p2.v,tLine3.p2.v,tLine4.p2.v Variables in the result:oLine1.p2.v,oLine2.p2.v,oLine3.p2.v,oLine4.p2.v,ramp.y,tLine1.p2.v,tLine2.p2.v,tLine3.p2.v,tLine4.p2.v,time [Calling sys.exit(0), Time elapsed: 14.843505785800517]