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.001987/0.001987, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 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.00235/0.00235, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 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.485/1.485, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 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 1.462e-06/1.462e-06, allocations: 0 / 272.4 MB, free: 1.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.562e-05/3.708e-05, allocations: 2.312 kB / 272.4 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.008277/0.008314, allocations: 5.857 MB / 278.2 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003624/0.01194, allocations: 1.707 MB / 279.9 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004628/0.0124, allocations: 23.88 kB / 280 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007037/0.0131, allocations: 261.9 kB / 280.2 MB, free: 9.898 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001176/0.01428, allocations: 0.5312 MB / 280.7 MB, free: 9.363 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009226/0.0152, allocations: 471.2 kB / 281.2 MB, free: 8.902 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.009473/0.02468, allocations: 8.002 MB / 289.2 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.164/0.1887, allocations: 1.528 MB / 290.7 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006719/0.1954, allocations: 4.045 MB / 294.8 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00618/0.2016, allocations: 2.763 MB / 297.5 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002197/0.2038, allocations: 0.6594 MB / 298.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002655/0.2064, allocations: 0.6583 MB / 298.9 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001811/0.2082, allocations: 1.624 MB / 300.5 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004006/0.2122, allocations: 2.152 MB / 302.6 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006126/0.2184, allocations: 8.54 MB / 311.2 MB, free: 8.859 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.2184, allocations: 0 / 311.2 MB, free: 8.859 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2184, allocations: 0.7188 kB / 311.2 MB, free: 8.859 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002488/0.2186, allocations: 3.438 kB / 311.2 MB, free: 8.859 MB / 266.7 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.01196/0.2306, allocations: 5.922 MB / 317.1 MB, free: 4.363 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.2306, allocations: 8.031 kB / 317.1 MB, free: 4.355 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001184/0.2318, allocations: 0.8637 MB / 318 MB, free: 3.492 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003843/0.2356, allocations: 2.73 MB / 320.7 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001566/0.2358, allocations: 312.5 kB / 321 MB, free: 0.543 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005774/0.2364, allocations: 483 kB / 321.5 MB, free: 76 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01452/0.2509, allocations: 8.067 MB / 329.5 MB, free: 7.492 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.579e-05/0.251, allocations: 192 / 329.5 MB, free: 7.492 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005231/0.2515, allocations: 181.5 kB / 329.7 MB, free: 7.316 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002504/0.2517, allocations: 200.4 kB / 329.9 MB, free: 7.117 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01184/0.2636, allocations: 5.537 MB / 335.5 MB, free: 1.562 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0399/0.3035, allocations: 16.5 MB / 352 MB, free: 1.152 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008445/0.3119, allocations: 4.326 MB / 356.3 MB, free: 12.82 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005637/0.3175, allocations: 3.353 MB / 359.6 MB, free: 9.449 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001616/0.3177, allocations: 62.81 kB / 359.7 MB, free: 9.387 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000125/0.3178, allocations: 89.62 kB / 359.8 MB, free: 9.289 MB / 314.7 MB Notification: Performance of pre-optimization done (n=358): time 6.082e-06/0.3178, allocations: 0 / 359.8 MB, free: 9.289 MB / 314.7 MB Notification: Performance of matching and sorting (n=358): time 0.01233/0.3302, allocations: 5.995 MB / 365.8 MB, free: 3.25 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002424/0.3304, allocations: 303.6 kB / 366.1 MB, free: 2.895 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005942/0.3364, allocations: 2.917 MB / 369 MB, free: 15.94 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007192/0.3371, allocations: 105.7 kB / 369.1 MB, free: 15.83 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001657/0.3387, allocations: 1.739 MB / 370.8 MB, free: 14.08 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001653/0.3404, allocations: 1.305 MB / 372.1 MB, free: 12.79 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001256/0.3416, allocations: 0.6458 MB / 372.8 MB, free: 12.14 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.3418, allocations: 305.1 kB / 373.1 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003947/0.3458, allocations: 2.123 MB / 375.2 MB, free: 9.711 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004104/0.3499, allocations: 2.66 MB / 377.9 MB, free: 6.969 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01905/0.3689, allocations: 8.934 MB / 386.8 MB, free: 14.04 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.998e-06/0.3689, allocations: 0 / 386.8 MB, free: 14.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.0112/0.3801, allocations: 5.735 MB / 392.5 MB, free: 8.309 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/0.3802, allocations: 4 kB / 392.5 MB, free: 8.305 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.3802, allocations: 0 / 392.5 MB, free: 8.305 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001574/0.3817, allocations: 404.9 kB / 392.9 MB, free: 7.902 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004037/0.3858, allocations: 0.9094 MB / 393.8 MB, free: 7.035 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00908/0.3949, allocations: 7.314 MB / 401.2 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003322/0.3982, allocations: 381.5 kB / 401.5 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004795/0.3987, allocations: 108 kB / 401.6 MB, free: 14.88 MB / 362.7 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.003266/0.4019, allocations: 1.413 MB / 403.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001158/0.4031, allocations: 438.1 kB / 403.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/0.4042, allocations: 429.8 kB / 403.9 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.532e-05/0.4042, allocations: 36 kB / 403.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.842e-05/0.4043, allocations: 0.5156 kB / 403.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.353e-05/0.4043, allocations: 19.92 kB / 404 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02078/0.4251, allocations: 10.87 MB / 414.8 MB, free: 1.504 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.579e-05/0.4251, allocations: 12 kB / 414.8 MB, free: 1.492 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003861/0.429, allocations: 0.8192 MB / 415.7 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001219/0.4302, allocations: 338.1 kB / 416 MB, free: 328 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002849/0.4305, allocations: 131.9 kB / 416.1 MB, free: 196 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01078/0.4412, allocations: 10.12 MB / 426.2 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.476e-05/0.4413, allocations: 27.94 kB / 426.3 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1606/0.6018, allocations: 7.195 MB / 433.5 MB, free: 117.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001503/0.6033, allocations: 474.6 kB / 433.9 MB, free: 117.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008075/0.6042, allocations: 121.6 kB / 434 MB, free: 117.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00289/0.607, allocations: 414.3 kB / 434.4 MB, free: 117.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006528/0.6077, allocations: 299.3 kB / 434.7 MB, free: 117.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003127/0.608, allocations: 121.3 kB / 434.9 MB, free: 117.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003209/0.6112, allocations: 2.057 MB / 436.9 MB, free: 117.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.6112, allocations: 0 / 436.9 MB, free: 117.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004043/0.6153, allocations: 1.359 MB / 438.3 MB, free: 117.3 MB / 378.7 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.0008664/0.6161, allocations: 297.3 kB / 438.6 MB, free: 117.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007291/0.6234, allocations: 4.947 MB / 443.5 MB, free: 115.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.722e-05/0.6234, allocations: 11.44 kB / 443.5 MB, free: 115.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004008/0.6275, allocations: 3.234 MB / 446.8 MB, free: 113.6 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003798/0.6312, allocations: 0.6806 MB / 447.4 MB, free: 113.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01555/0.6468, allocations: 11.57 MB / 459 MB, free: 107.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002575/0.6494, allocations: 2.691 MB / 461.7 MB, free: 106.4 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003229/0.6526, allocations: 1.252 MB / 462.9 MB, free: 105.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000825/0.6534, allocations: 247.6 kB / 463.2 MB, free: 105.3 MB / 378.7 MB Notification: Performance of SimCode: time 1.703e-06/0.6534, allocations: 0 / 463.2 MB, free: 105.3 MB / 378.7 MB Notification: Performance of Templates: time 0.0643/0.7177, allocations: 49.01 MB / 0.5002 GB, free: 57.26 MB / 378.7 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.872044341056608]