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.00193/0.00193, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001916/0.001916, allocations: 169.3 kB / 24.27 MB, free: 156 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.559/1.559, allocations: 177.1 MB / 204.6 MB, free: 5.625 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.994e-06/1.994e-06, allocations: 0 / 272.4 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.814e-05/3.014e-05, allocations: 2.312 kB / 272.4 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.009279/0.009309, allocations: 6.493 MB / 278.9 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004105/0.01341, allocations: 1.707 MB / 280.6 MB, free: 9.566 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007799/0.01419, allocations: 27.88 kB / 280.6 MB, free: 9.539 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007998/0.01499, allocations: 257.9 kB / 280.8 MB, free: 9.285 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001423/0.01642, allocations: 0.5351 MB / 281.4 MB, free: 8.746 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009879/0.0174, allocations: 475.2 kB / 281.8 MB, free: 8.281 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.009517/0.02692, allocations: 7.994 MB / 289.8 MB, free: 264 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1431/0.17, allocations: 1.531 MB / 291.4 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00795/0.178, allocations: 4.056 MB / 295.4 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006856/0.1848, allocations: 2.83 MB / 298.3 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002721/0.1875, allocations: 0.6589 MB / 298.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003653/0.1912, allocations: 0.6629 MB / 299.6 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003168/0.1944, allocations: 1.627 MB / 301.2 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005968/0.2003, allocations: 2.156 MB / 303.4 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007484/0.2078, allocations: 8.574 MB / 311.9 MB, free: 8.371 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2078, allocations: 7.062 kB / 311.9 MB, free: 8.367 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.2078, allocations: 0.5625 kB / 311.9 MB, free: 8.367 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002645/0.2081, allocations: 0.625 kB / 311.9 MB, free: 8.367 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.01418/0.2223, allocations: 6.573 MB / 318.5 MB, free: 3.113 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.2223, allocations: 8.031 kB / 318.5 MB, free: 3.105 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001323/0.2236, allocations: 0.8645 MB / 319.4 MB, free: 2.242 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004599/0.2282, allocations: 2.449 MB / 321.8 MB, free: 15.88 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003093/0.2285, allocations: 315.3 kB / 322.1 MB, free: 15.57 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008708/0.2294, allocations: 476.2 kB / 322.6 MB, free: 15.1 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01564/0.2451, allocations: 8.007 MB / 330.6 MB, free: 6.574 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.64e-05/0.2451, allocations: 4.188 kB / 330.6 MB, free: 6.57 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005242/0.2457, allocations: 172.6 kB / 330.8 MB, free: 6.402 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002569/0.2459, allocations: 208.4 kB / 331 MB, free: 6.195 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01169/0.2576, allocations: 4.994 MB / 336 MB, free: 1.188 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05532/0.3129, allocations: 22.35 MB / 358.3 MB, free: 10.36 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008867/0.3218, allocations: 4.07 MB / 362.4 MB, free: 6.273 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005086/0.3269, allocations: 3.048 MB / 365.5 MB, free: 3.211 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000187/0.3271, allocations: 58.81 kB / 365.5 MB, free: 3.152 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001126/0.3272, allocations: 94.3 kB / 365.6 MB, free: 3.047 MB / 314.7 MB Notification: Performance of pre-optimization done (n=358): time 6.372e-06/0.3272, allocations: 0 / 365.6 MB, free: 3.047 MB / 314.7 MB Notification: Performance of matching and sorting (n=358): time 0.01102/0.3382, allocations: 5.366 MB / 371 MB, free: 13.63 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002173/0.3384, allocations: 303.8 kB / 371.3 MB, free: 13.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005842/0.3443, allocations: 3.309 MB / 374.6 MB, free: 9.918 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005794/0.3448, allocations: 101.7 kB / 374.7 MB, free: 9.812 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002028/0.3469, allocations: 1.971 MB / 376.6 MB, free: 7.828 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001978/0.3488, allocations: 1.5 MB / 378.1 MB, free: 6.344 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001466/0.3503, allocations: 0.81 MB / 379 MB, free: 5.523 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002261/0.3505, allocations: 480.3 kB / 379.4 MB, free: 5.055 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003342/0.3539, allocations: 1.803 MB / 381.2 MB, free: 3.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003941/0.3578, allocations: 2.559 MB / 383.8 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01837/0.3762, allocations: 8.364 MB / 392.1 MB, free: 8.23 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-05/0.3762, allocations: 6.375 kB / 392.2 MB, free: 8.227 MB / 346.7 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.01048/0.3867, allocations: 5.154 MB / 397.3 MB, free: 3.062 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.129e-05/0.3867, allocations: 7.938 kB / 397.3 MB, free: 3.055 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/0.3867, allocations: 0 / 397.3 MB, free: 3.055 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00157/0.3883, allocations: 410.4 kB / 397.7 MB, free: 2.645 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004101/0.3924, allocations: 0.9233 MB / 398.6 MB, free: 1.762 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01004/0.4024, allocations: 9.624 MB / 408.3 MB, free: 7.703 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003253/0.4057, allocations: 381.5 kB / 408.6 MB, free: 7.328 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002977/0.406, allocations: 108 kB / 408.7 MB, free: 7.223 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.002766/0.4088, allocations: 1.311 MB / 410.1 MB, free: 5.922 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009736/0.4097, allocations: 438.1 kB / 410.5 MB, free: 5.492 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001131/0.4109, allocations: 401.8 kB / 410.9 MB, free: 5.094 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.441e-05/0.4109, allocations: 36.03 kB / 410.9 MB, free: 5.059 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.764e-05/0.4109, allocations: 4.125 kB / 410.9 MB, free: 5.055 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.718e-05/0.411, allocations: 18.38 kB / 410.9 MB, free: 5.039 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0226/0.4336, allocations: 11.95 MB / 422.9 MB, free: 8.805 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-05/0.4336, allocations: 16.25 kB / 422.9 MB, free: 8.789 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003958/0.4376, allocations: 0.819 MB / 423.7 MB, free: 7.969 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001394/0.4389, allocations: 353.5 kB / 424.1 MB, free: 7.594 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004023/0.4393, allocations: 123.9 kB / 424.2 MB, free: 7.473 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1589/0.5982, allocations: 14.03 MB / 438.2 MB, free: 106.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-05/0.5982, allocations: 24.61 kB / 438.2 MB, free: 106.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01116/0.6094, allocations: 6.918 MB / 445.1 MB, free: 104.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001724/0.6111, allocations: 444.9 kB / 445.6 MB, free: 104.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008636/0.612, allocations: 123.6 kB / 445.7 MB, free: 104.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003136/0.6151, allocations: 416.8 kB / 446.1 MB, free: 104.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006581/0.6158, allocations: 305.1 kB / 446.4 MB, free: 104.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003493/0.6161, allocations: 118 kB / 446.5 MB, free: 104.9 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003328/0.6195, allocations: 2.08 MB / 448.6 MB, free: 104.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.6195, allocations: 0 / 448.6 MB, free: 104.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004244/0.6237, allocations: 1.359 MB / 450 MB, free: 104.5 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.0005417/0.6242, allocations: 294.5 kB / 450.2 MB, free: 104.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00664/0.6309, allocations: 5.045 MB / 455.3 MB, free: 102.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.326e-05/0.6309, allocations: 10.38 kB / 455.3 MB, free: 102.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003094/0.634, allocations: 3.281 MB / 458.6 MB, free: 100.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00318/0.6372, allocations: 0.6763 MB / 459.3 MB, free: 100.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01415/0.6513, allocations: 11.12 MB / 470.4 MB, free: 94.13 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00211/0.6534, allocations: 2.432 MB / 472.8 MB, free: 93.11 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002601/0.656, allocations: 0.9612 MB / 473.8 MB, free: 92.14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007655/0.6568, allocations: 244.5 kB / 474 MB, free: 91.9 MB / 378.7 MB Notification: Performance of SimCode: time 1.623e-06/0.6568, allocations: 0 / 474 MB, free: 91.9 MB / 378.7 MB Notification: Performance of Templates: time 0.06482/0.7216, allocations: 48.97 MB / 0.5107 GB, free: 43.76 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe 2>&1) [Timeout 240] 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.78578124800697]