Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.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.001719/0.001719, allocations: 85.28 kB / 20.68 MB, free: 1.035 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.001376/0.001376, allocations: 164.9 kB / 23.96 MB, free: 4.164 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.491/1.491, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.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.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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 325.1 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.017e-05/3.239e-05, allocations: 7.781 kB / 325.1 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.008178/0.008211, allocations: 5.86 MB / 331 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005077/0.01329, allocations: 1.686 MB / 332.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001078/0.01437, allocations: 22.94 kB / 332.7 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007979/0.01516, allocations: 262.7 kB / 332.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001693/0.01686, allocations: 0.5338 MB / 333.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.01805, allocations: 466.9 kB / 333.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009325/0.02738, allocations: 8.003 MB / 341.9 MB, free: 4.258 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002713/0.03009, allocations: 1.546 MB / 343.5 MB, free: 2.641 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008753/0.03884, allocations: 4.04 MB / 347.5 MB, free: 14.59 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007144/0.04599, allocations: 2.763 MB / 350.3 MB, free: 11.82 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001893/0.04788, allocations: 0.6641 MB / 351 MB, free: 11.16 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002395/0.05027, allocations: 0.6562 MB / 351.6 MB, free: 10.5 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001871/0.05215, allocations: 1.628 MB / 353.2 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005393/0.05754, allocations: 2.148 MB / 355.4 MB, free: 6.719 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009744/0.06728, allocations: 8.54 MB / 363.9 MB, free: 14.15 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.06729, allocations: 4 kB / 363.9 MB, free: 14.15 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.06729, allocations: 0 / 363.9 MB, free: 14.15 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003164/0.06761, allocations: 0 / 363.9 MB, free: 14.15 MB / 334.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.0164/0.084, allocations: 5.906 MB / 369.8 MB, free: 8.184 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/0.08406, allocations: 12.03 kB / 369.8 MB, free: 8.172 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001311/0.08537, allocations: 0.5407 MB / 370.4 MB, free: 7.629 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005524/0.09089, allocations: 2.689 MB / 373.1 MB, free: 4.879 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003138/0.0912, allocations: 316.5 kB / 373.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008859/0.09209, allocations: 440.2 kB / 373.8 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01444/0.1065, allocations: 8.069 MB / 381.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.707e-05/0.1066, allocations: 192 / 381.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005426/0.1071, allocations: 184.3 kB / 382.1 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002408/0.1074, allocations: 200.4 kB / 382.3 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01126/0.1186, allocations: 5.537 MB / 387.8 MB, free: 5.613 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03951/0.1581, allocations: 16.33 MB / 404.1 MB, free: 4.934 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007842/0.166, allocations: 4.328 MB / 408.5 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00493/0.1709, allocations: 3.35 MB / 411.8 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001373/0.1711, allocations: 38.81 kB / 411.8 MB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001198/0.1712, allocations: 89.81 kB / 411.9 MB, free: 13.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=358): time 7.584e-06/0.1712, allocations: 0 / 411.9 MB, free: 13.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=358): time 0.01105/0.1822, allocations: 5.892 MB / 417.8 MB, free: 7.145 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002044/0.1824, allocations: 295.8 kB / 418.1 MB, free: 6.793 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00488/0.1873, allocations: 2.917 MB / 421 MB, free: 3.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003818/0.1877, allocations: 105.7 kB / 421.1 MB, free: 3.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001661/0.1894, allocations: 1.737 MB / 422.9 MB, free: 1.977 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001452/0.1908, allocations: 1.305 MB / 424.2 MB, free: 0.6602 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001148/0.192, allocations: 0.6458 MB / 424.8 MB, free: 8 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002077/0.1922, allocations: 309.1 kB / 425.1 MB, free: 15.7 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003585/0.1958, allocations: 2.127 MB / 427.2 MB, free: 13.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003943/0.1997, allocations: 2.656 MB / 429.9 MB, free: 10.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01825/0.218, allocations: 8.93 MB / 438.8 MB, free: 1.902 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.478e-06/0.218, allocations: 0 / 438.8 MB, free: 1.902 MB / 398.1 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.01022/0.2282, allocations: 5.579 MB / 444.4 MB, free: 12.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.199e-05/0.2282, allocations: 4 kB / 444.4 MB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/0.2282, allocations: 4 kB / 444.4 MB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/0.2293, allocations: 331.1 kB / 444.7 MB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003727/0.2331, allocations: 0.9205 MB / 445.7 MB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007993/0.241, allocations: 7.285 MB / 453 MB, free: 3.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003412/0.2445, allocations: 381.7 kB / 453.3 MB, free: 2.965 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002477/0.2447, allocations: 104 kB / 453.4 MB, free: 2.863 MB / 414.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.003036/0.2477, allocations: 1.41 MB / 454.8 MB, free: 1.441 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008167/0.2486, allocations: 326.1 kB / 455.2 MB, free: 1.121 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008649/0.2494, allocations: 433.8 kB / 455.6 MB, free: 0.6914 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.592e-05/0.2495, allocations: 36 kB / 455.6 MB, free: 0.6562 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.776e-05/0.2495, allocations: 8 kB / 455.6 MB, free: 0.6484 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.107e-05/0.2495, allocations: 15.94 kB / 455.6 MB, free: 0.6328 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01918/0.2687, allocations: 10.86 MB / 466.5 MB, free: 5.469 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.653e-05/0.2687, allocations: 12.22 kB / 466.5 MB, free: 5.457 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003747/0.2725, allocations: 0.8228 MB / 467.3 MB, free: 4.633 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008211/0.2733, allocations: 289.8 kB / 467.6 MB, free: 4.328 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002645/0.2736, allocations: 127.9 kB / 467.7 MB, free: 4.203 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2003/0.4739, allocations: 10.09 MB / 477.8 MB, free: 118.8 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.865e-05/0.4739, allocations: 24.53 kB / 477.9 MB, free: 118.8 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01171/0.4856, allocations: 7.091 MB / 485 MB, free: 116.6 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001447/0.4871, allocations: 468 kB / 485.4 MB, free: 116.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006232/0.4877, allocations: 125.7 kB / 485.5 MB, free: 116.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003064/0.4908, allocations: 421.7 kB / 485.9 MB, free: 116.4 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005015/0.4913, allocations: 297.6 kB / 486.2 MB, free: 116.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002667/0.4915, allocations: 120.8 kB / 486.4 MB, free: 116.3 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002765/0.4943, allocations: 2.049 MB / 488.4 MB, free: 115.6 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4943, allocations: 0 / 488.4 MB, free: 115.6 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003313/0.4976, allocations: 1.36 MB / 489.8 MB, free: 115.4 MB / 430.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.0004833/0.4981, allocations: 295.2 kB / 490 MB, free: 115.2 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006488/0.5046, allocations: 4.945 MB / 495 MB, free: 113.3 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-05/0.5046, allocations: 12.91 kB / 495 MB, free: 113.3 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003834/0.5084, allocations: 3.229 MB / 498.2 MB, free: 111.7 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00344/0.5119, allocations: 0.6643 MB / 498.9 MB, free: 111.4 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0157/0.5276, allocations: 11.45 MB / 0.4984 GB, free: 101.8 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00226/0.5298, allocations: 2.678 MB / 0.501 GB, free: 99.09 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00295/0.5328, allocations: 1.252 MB / 0.5022 GB, free: 97.84 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008123/0.5336, allocations: 236.5 kB / 0.5025 GB, free: 97.61 MB / 430.1 MB Notification: Performance of SimCode: time 1.353e-06/0.5336, allocations: 0 / 0.5025 GB, free: 97.61 MB / 430.1 MB Notification: Performance of Templates: time 0.06698/0.6006, allocations: 48.81 MB / 0.5501 GB, free: 49.59 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Lines/CompareLineTrunks/CompareLineTrunks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.782812193036079]