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.001559/0.001559, allocations: 109.1 kB / 21.18 MB, free: 0.7852 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.001919/0.001919, allocations: 217.3 kB / 24.49 MB, free: 4.172 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.443/1.443, allocations: 230.5 MB / 258.1 MB, free: 8.027 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.001874/0.001874, allocations: 55.91 kB / 379.1 MB, free: 2.508 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2609, allocations: 53.41 MB / 432.5 MB, free: 6.777 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.008088/0.269, allocations: 6.736 MB / 439.2 MB, free: 12 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003474/0.2725, allocations: 1.707 MB / 440.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005366/0.273, allocations: 27.88 kB / 441 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000661/0.2737, allocations: 261.9 kB / 441.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00111/0.2748, allocations: 0.5161 MB / 441.7 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008721/0.2757, allocations: 451.3 kB / 442.2 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007902/0.2836, allocations: 7.786 MB / 450 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002242/0.2858, allocations: 1.568 MB / 451.5 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004144/0.2899, allocations: 2.786 MB / 454.3 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004836/0.2948, allocations: 2.907 MB / 457.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001143/0.2959, allocations: 0.6602 MB / 457.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001362/0.2973, allocations: 0.6562 MB / 458.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001611/0.2989, allocations: 1.605 MB / 460.1 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004244/0.3031, allocations: 2.941 MB / 463.1 MB, free: 8.012 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008672/0.3118, allocations: 8.242 MB / 471.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.3118, allocations: 0 / 471.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3118, allocations: 4 kB / 471.3 MB, free: 15.74 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002699/0.3121, allocations: 0 / 471.3 MB, free: 15.74 MB / 382.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.01507/0.3272, allocations: 5.961 MB / 477.3 MB, free: 9.719 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.3272, allocations: 12.03 kB / 477.3 MB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/0.3283, allocations: 0.5407 MB / 477.8 MB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005484/0.3338, allocations: 2.689 MB / 480.5 MB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002609/0.334, allocations: 316.5 kB / 480.8 MB, free: 6.102 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000752/0.3348, allocations: 448.2 kB / 481.3 MB, free: 5.664 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01231/0.3471, allocations: 6.303 MB / 487.6 MB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.472e-05/0.3471, allocations: 0 / 487.6 MB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004807/0.3476, allocations: 179.9 kB / 487.7 MB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002185/0.3478, allocations: 204.5 kB / 487.9 MB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01147/0.3593, allocations: 5.549 MB / 493.5 MB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04073/0.4, allocations: 18.52 MB / 0.5 GB, free: 6.398 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00787/0.4079, allocations: 4.334 MB / 0.5043 GB, free: 2.051 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005179/0.4131, allocations: 3.354 MB / 0.5075 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001794/0.4133, allocations: 42.8 kB / 0.5076 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.068e-05/0.4134, allocations: 85.88 kB / 0.5076 GB, free: 14.54 MB / 430.1 MB Notification: Performance of pre-optimization done (n=358): time 5.41e-06/0.4134, allocations: 0 / 0.5076 GB, free: 14.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=358): time 0.01113/0.4245, allocations: 5.912 MB / 0.5134 GB, free: 8.574 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001848/0.4247, allocations: 299.8 kB / 0.5137 GB, free: 8.219 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005343/0.43, allocations: 3.209 MB / 0.5168 GB, free: 4.984 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000601/0.4306, allocations: 101.7 kB / 0.5169 GB, free: 4.879 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001436/0.4321, allocations: 1.711 MB / 0.5186 GB, free: 3.152 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001533/0.4336, allocations: 1.328 MB / 0.5199 GB, free: 1.812 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001116/0.4347, allocations: 0.642 MB / 0.5205 GB, free: 1.164 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.4348, allocations: 305.1 kB / 0.5208 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003344/0.4382, allocations: 2.127 MB / 0.5229 GB, free: 14.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003601/0.4418, allocations: 2.463 MB / 0.5253 GB, free: 12.24 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0179/0.4597, allocations: 8.93 MB / 0.534 GB, free: 3.309 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/0.4597, allocations: 4 kB / 0.534 GB, free: 3.305 MB / 446.1 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.2165/0.6762, allocations: 5.597 MB / 0.5395 GB, free: 97.74 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.001e-05/0.6763, allocations: 6.031 kB / 0.5395 GB, free: 97.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/0.6763, allocations: 5.984 kB / 0.5395 GB, free: 97.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009777/0.6773, allocations: 330.3 kB / 0.5398 GB, free: 97.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003823/0.6811, allocations: 0.9142 MB / 0.5407 GB, free: 97.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005492/0.6866, allocations: 7.419 MB / 0.548 GB, free: 91.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003219/0.6898, allocations: 409.8 kB / 0.5484 GB, free: 91.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003969/0.6902, allocations: 110.2 kB / 0.5485 GB, free: 91.73 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.002515/0.6927, allocations: 1.409 MB / 0.5498 GB, free: 91.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007922/0.6935, allocations: 356.6 kB / 0.5502 GB, free: 91.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000844/0.6943, allocations: 448.4 kB / 0.5506 GB, free: 90.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-05/0.6944, allocations: 34.84 kB / 0.5506 GB, free: 90.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.118e-05/0.6944, allocations: 3.5 kB / 0.5506 GB, free: 90.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-05/0.6944, allocations: 18.98 kB / 0.5507 GB, free: 90.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01507/0.7095, allocations: 12.05 MB / 0.5624 GB, free: 85.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-05/0.7095, allocations: 16 kB / 0.5624 GB, free: 85.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003157/0.7127, allocations: 0.8055 MB / 0.5632 GB, free: 84.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006495/0.7133, allocations: 295.1 kB / 0.5635 GB, free: 84.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002617/0.7136, allocations: 127.9 kB / 0.5636 GB, free: 84.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005107/0.7187, allocations: 10.3 MB / 0.5737 GB, free: 73.06 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.987e-06/0.7187, allocations: 24.03 kB / 0.5737 GB, free: 73.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00865/0.7273, allocations: 7.149 MB / 0.5807 GB, free: 65.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001397/0.7287, allocations: 0.4993 MB / 0.5812 GB, free: 65.15 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006001/0.7293, allocations: 123.9 kB / 0.5813 GB, free: 65.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002634/0.732, allocations: 407.6 kB / 0.5817 GB, free: 64.63 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003577/0.7323, allocations: 273.5 kB / 0.5819 GB, free: 64.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002088/0.7325, allocations: 120 kB / 0.5821 GB, free: 64.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002518/0.7351, allocations: 2.275 MB / 0.5843 GB, free: 61.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7351, allocations: 4 kB / 0.5843 GB, free: 61.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003399/0.7385, allocations: 1.336 MB / 0.5856 GB, free: 60.7 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.00054/0.739, allocations: 297 kB / 0.5859 GB, free: 60.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006173/0.7452, allocations: 4.938 MB / 0.5907 GB, free: 55.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.558e-05/0.7452, allocations: 10.66 kB / 0.5907 GB, free: 55.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00309/0.7483, allocations: 2.917 MB / 0.5936 GB, free: 52.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004102/0.7524, allocations: 0.8069 MB / 0.5943 GB, free: 51.58 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01741/0.7698, allocations: 12.72 MB / 0.6068 GB, free: 38.74 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002349/0.7721, allocations: 3.159 MB / 0.6098 GB, free: 35.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001524/0.7737, allocations: 263.4 kB / 0.6101 GB, free: 35.29 MB / 446.1 MB Notification: Performance of SimCode: time 1.713e-06/0.7737, allocations: 0 / 0.6101 GB, free: 35.29 MB / 446.1 MB Notification: Performance of Templates: time 0.3861/1.16, allocations: 172.1 MB / 0.7781 GB, free: 158.7 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: 15.65013125911355]