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.001281/0.001281, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001811/0.003092, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001074/0.001074, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001466/0.002541, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9854/0.9854, allocations: 177.5 MB / 190 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08719/1.073, allocations: 53.87 MB / 243.9 MB, free: 14.85 MB / 250.7 MB " [Timeout remaining time 179] 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 1.312e-06/1.312e-06, allocations: 0 / 245.2 MB, free: 13.53 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.01e-05/1.141e-05, allocations: 6.312 kB / 245.2 MB, free: 13.52 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.005065/0.005076, allocations: 6.489 MB / 251.7 MB, free: 6.996 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003773/0.00885, allocations: 1.803 MB / 253.5 MB, free: 5.184 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007029/0.009553, allocations: 27.88 kB / 253.6 MB, free: 5.156 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004836/0.01004, allocations: 254 kB / 253.8 MB, free: 4.906 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008823/0.01092, allocations: 0.539 MB / 254.4 MB, free: 4.363 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006528/0.01157, allocations: 463.3 kB / 254.8 MB, free: 3.91 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004765/0.01634, allocations: 8.041 MB / 262.8 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001426/0.01776, allocations: 1.593 MB / 264.4 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004069/0.02183, allocations: 4.517 MB / 269 MB, free: 5.59 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002744/0.02458, allocations: 3.224 MB / 272.2 MB, free: 2.359 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005922/0.02517, allocations: 0.6562 MB / 272.8 MB, free: 1.703 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006749/0.02584, allocations: 0.6602 MB / 273.5 MB, free: 1.043 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1255/0.1513, allocations: 1.194 MB / 274.7 MB, free: 9.145 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00855/0.1599, allocations: 1.702 MB / 276.4 MB, free: 9.145 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006995/0.1669, allocations: 4.739 MB / 281.1 MB, free: 8.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.45e-05/0.1669, allocations: 0.6094 kB / 281.1 MB, free: 8.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1669, allocations: 0.5 kB / 281.1 MB, free: 8.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002283/0.1671, allocations: 2.062 kB / 281.1 MB, free: 8.73 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.0118/0.1789, allocations: 6.361 MB / 287.5 MB, free: 6.766 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.179, allocations: 7.375 kB / 287.5 MB, free: 6.766 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009177/0.1799, allocations: 0.6937 MB / 288.2 MB, free: 6.766 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001945/0.1818, allocations: 1.426 MB / 289.6 MB, free: 6.152 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/0.1819, allocations: 322.9 kB / 289.9 MB, free: 6.141 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004461/0.1824, allocations: 471.3 kB / 290.4 MB, free: 6.129 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003595/0.186, allocations: 4.872 MB / 295.3 MB, free: 3.633 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.146e-05/0.186, allocations: 192 / 295.3 MB, free: 3.633 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003098/0.1863, allocations: 178.4 kB / 295.4 MB, free: 3.633 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001343/0.1865, allocations: 202.1 kB / 295.6 MB, free: 3.617 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001526/0.188, allocations: 1.036 MB / 296.7 MB, free: 3.535 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01151/0.1995, allocations: 9.843 MB / 306.5 MB, free: 12.59 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002331/0.2018, allocations: 2.166 MB / 308.7 MB, free: 10.51 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001273/0.2031, allocations: 1.414 MB / 310.1 MB, free: 9.121 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001084/0.2032, allocations: 58.81 kB / 310.2 MB, free: 9.062 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.925e-05/0.2033, allocations: 89.86 kB / 310.2 MB, free: 8.965 MB / 282.7 MB Notification: Performance of pre-optimization done (n=358): time 4.208e-06/0.2033, allocations: 4 kB / 310.3 MB, free: 8.961 MB / 282.7 MB Notification: Performance of matching and sorting (n=358): time 0.002713/0.206, allocations: 1.991 MB / 312.2 MB, free: 6.949 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.2061, allocations: 94.2 kB / 312.3 MB, free: 6.844 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00152/0.2076, allocations: 1.648 MB / 314 MB, free: 5.449 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001823/0.2078, allocations: 105.7 kB / 314.1 MB, free: 5.34 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009701/0.2087, allocations: 1.366 MB / 315.5 MB, free: 4.047 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006863/0.2094, allocations: 1.305 MB / 316.8 MB, free: 2.82 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006569/0.2101, allocations: 0.5971 MB / 317.4 MB, free: 2.301 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.617e-05/0.2102, allocations: 305.7 kB / 317.7 MB, free: 2 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006018/0.2108, allocations: 367.4 kB / 318 MB, free: 1.641 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008101/0.2116, allocations: 0.896 MB / 318.9 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002449/0.214, allocations: 2.524 MB / 321.4 MB, free: 14.3 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.852e-06/0.214, allocations: 3.188 kB / 321.4 MB, free: 14.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.00234/0.2164, allocations: 1.754 MB / 323.2 MB, free: 12.56 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.2164, allocations: 4 kB / 323.2 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.2164, allocations: 4 kB / 323.2 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006071/0.217, allocations: 290.9 kB / 323.5 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00249/0.2195, allocations: 1.308 MB / 324.8 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003194/0.2227, allocations: 5.95 MB / 330.7 MB, free: 4.809 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/0.2241, allocations: 281.7 kB / 331 MB, free: 4.531 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001366/0.2242, allocations: 76.55 kB / 331.1 MB, free: 4.457 MB / 298.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.00101/0.2253, allocations: 319.2 kB / 331.4 MB, free: 4.18 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003911/0.2256, allocations: 340.3 kB / 331.7 MB, free: 3.848 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003523/0.226, allocations: 397.8 kB / 332.1 MB, free: 3.453 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.645e-05/0.226, allocations: 36 kB / 332.2 MB, free: 3.418 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.008e-05/0.226, allocations: 4.875 kB / 332.2 MB, free: 3.414 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.616e-05/0.2261, allocations: 15.94 kB / 332.2 MB, free: 3.398 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006798/0.2329, allocations: 4.503 MB / 336.7 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-05/0.2329, allocations: 16 kB / 336.7 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003393/0.2363, allocations: 1.216 MB / 337.9 MB, free: 13.83 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004437/0.2367, allocations: 333.2 kB / 338.2 MB, free: 13.51 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005382/0.2372, allocations: 259.7 kB / 338.5 MB, free: 13.24 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002211/0.2375, allocations: 123.9 kB / 338.6 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004308/0.2418, allocations: 8.924 MB / 347.5 MB, free: 3.645 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.379e-05/0.2418, allocations: 15.94 kB / 347.6 MB, free: 3.629 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00348/0.2453, allocations: 2.933 MB / 350.5 MB, free: 440 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004006/0.2457, allocations: 119.9 kB / 350.6 MB, free: 320 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001533/0.2472, allocations: 275.8 kB / 350.9 MB, free: 44 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004239/0.2476, allocations: 305.7 kB / 351.2 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001916/0.2478, allocations: 91.98 kB / 351.3 MB, free: 15.65 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001122/0.2489, allocations: 0.8573 MB / 352.1 MB, free: 14.86 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2489, allocations: 0 / 352.1 MB, free: 14.86 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00284/0.2518, allocations: 1.349 MB / 353.5 MB, free: 13.51 MB / 330.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.0004618/0.2522, allocations: 278.7 kB / 353.7 MB, free: 13.23 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002706/0.255, allocations: 2.171 MB / 355.9 MB, free: 11.1 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.399e-05/0.255, allocations: 65.44 kB / 356 MB, free: 11.03 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002359/0.2574, allocations: 1.904 MB / 357.9 MB, free: 9.121 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004921/0.2623, allocations: 7.53 MB / 365.4 MB, free: 116 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01383/0.2761, allocations: 9.505 MB / 374.9 MB, free: 6.34 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008713/0.277, allocations: 1.096 MB / 376 MB, free: 5.215 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001265/0.2783, allocations: 432.6 kB / 376.4 MB, free: 4.789 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001851/0.2801, allocations: 0.9598 MB / 377.4 MB, free: 3.824 MB / 346.7 MB Notification: Performance of SimCode: time 1.693e-06/0.2801, allocations: 2.844 kB / 377.4 MB, free: 3.824 MB / 346.7 MB Notification: Performance of Templates: time 0.1615/0.4416, allocations: 59.87 MB / 437.3 MB, free: 110.9 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.341782798990607]