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.000922/0.000922, allocations: 67.77 kB / 21.69 MB, free: 2.852 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.0009892/0.0009892, allocations: 165.5 kB / 24.99 MB, free: 8.742 MB / 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.029/1.029, allocations: 177.1 MB / 205.3 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] 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.295e-06/2.295e-06, allocations: 0 / 273.1 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.649e-05/2.879e-05, allocations: 2.312 kB / 273.1 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.006102/0.00613, allocations: 6.524 MB / 279.6 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002637/0.008767, allocations: 1.703 MB / 281.3 MB, free: 9.535 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003785/0.009146, allocations: 27.88 kB / 281.4 MB, free: 9.508 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005444/0.00969, allocations: 253.9 kB / 281.6 MB, free: 9.258 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007778/0.01047, allocations: 0.5429 MB / 282.2 MB, free: 8.711 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006625/0.01113, allocations: 471.2 kB / 282.6 MB, free: 8.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004989/0.01612, allocations: 8.009 MB / 290.6 MB, free: 212 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.147/0.1632, allocations: 1.531 MB / 292.2 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006398/0.1696, allocations: 4.053 MB / 296.2 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006156/0.1757, allocations: 2.832 MB / 299 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003041/0.1788, allocations: 0.6593 MB / 299.7 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003726/0.1825, allocations: 0.6588 MB / 300.4 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003236/0.1857, allocations: 1.625 MB / 302 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005588/0.1913, allocations: 2.16 MB / 304.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005715/0.197, allocations: 5.199 MB / 309.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.197, allocations: 1.062 kB / 309.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.197, allocations: 0 / 309.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002912/0.1973, allocations: 0 / 309.3 MB, free: 11.09 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.01069/0.208, allocations: 6.279 MB / 315.6 MB, free: 6.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.2081, allocations: 8.031 kB / 315.6 MB, free: 6.742 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/0.2093, allocations: 0.8571 MB / 316.5 MB, free: 5.883 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003206/0.2125, allocations: 2.366 MB / 318.8 MB, free: 3.598 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001498/0.2127, allocations: 324.4 kB / 319.2 MB, free: 3.281 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005547/0.2132, allocations: 468.2 kB / 319.6 MB, free: 2.824 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006445/0.2197, allocations: 5.095 MB / 324.7 MB, free: 13.21 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-05/0.2198, allocations: 192 / 324.7 MB, free: 13.21 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003728/0.2201, allocations: 172.6 kB / 324.9 MB, free: 13.04 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001925/0.2203, allocations: 204.4 kB / 325.1 MB, free: 12.84 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00462/0.2249, allocations: 1.626 MB / 326.7 MB, free: 11.19 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06975/0.2947, allocations: 13.59 MB / 340.3 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004635/0.2993, allocations: 2.596 MB / 342.9 MB, free: 11.09 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003123/0.3024, allocations: 1.74 MB / 344.6 MB, free: 9.332 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001365/0.3026, allocations: 58.81 kB / 344.7 MB, free: 9.273 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001024/0.3027, allocations: 91.95 kB / 344.8 MB, free: 9.172 MB / 298.7 MB Notification: Performance of pre-optimization done (n=358): time 9.909e-06/0.3027, allocations: 4 kB / 344.8 MB, free: 9.168 MB / 298.7 MB Notification: Performance of matching and sorting (n=358): time 0.008231/0.3109, allocations: 2.871 MB / 347.7 MB, free: 6.25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001695/0.3111, allocations: 299.8 kB / 348 MB, free: 5.895 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005101/0.3162, allocations: 2.406 MB / 350.4 MB, free: 3.449 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006057/0.3168, allocations: 105.7 kB / 350.5 MB, free: 3.34 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001586/0.3184, allocations: 1.894 MB / 352.4 MB, free: 1.426 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001625/0.32, allocations: 1.435 MB / 353.8 MB, free: 8 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001349/0.3214, allocations: 0.7397 MB / 354.5 MB, free: 15.26 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.3215, allocations: 476.8 kB / 355 MB, free: 14.79 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001752/0.3233, allocations: 0.5656 MB / 355.6 MB, free: 14.22 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002318/0.3256, allocations: 1.251 MB / 356.8 MB, free: 12.88 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003789/0.3294, allocations: 3.066 MB / 359.9 MB, free: 9.816 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.3294, allocations: 0 / 359.9 MB, free: 9.816 MB / 314.7 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.004723/0.3341, allocations: 2.625 MB / 362.5 MB, free: 7.184 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.335e-05/0.3341, allocations: 8 kB / 362.5 MB, free: 7.176 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/0.3341, allocations: 0 / 362.5 MB, free: 7.176 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001151/0.3353, allocations: 328.6 kB / 362.8 MB, free: 6.844 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0031/0.3384, allocations: 0.9209 MB / 363.8 MB, free: 5.965 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005179/0.3436, allocations: 8.697 MB / 372.5 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002443/0.346, allocations: 381.5 kB / 372.8 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002989/0.3463, allocations: 111.9 kB / 372.9 MB, free: 12.35 MB / 330.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.001618/0.3479, allocations: 363.8 kB / 373.3 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008657/0.3488, allocations: 438.2 kB / 373.7 MB, free: 11.58 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004654/0.3493, allocations: 401.8 kB / 374.1 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.782e-05/0.3493, allocations: 32 kB / 374.1 MB, free: 11.15 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-05/0.3493, allocations: 4 kB / 374.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.767e-05/0.3493, allocations: 15.94 kB / 374.2 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01106/0.3604, allocations: 7.208 MB / 381.4 MB, free: 3.633 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.589e-05/0.3604, allocations: 16 kB / 381.4 MB, free: 3.617 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001954/0.3624, allocations: 0.8151 MB / 382.2 MB, free: 2.801 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005818/0.3629, allocations: 285.7 kB / 382.5 MB, free: 2.492 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001706/0.3631, allocations: 123.9 kB / 382.6 MB, free: 2.371 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005558/0.3687, allocations: 13.26 MB / 395.9 MB, free: 4.285 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.049e-05/0.3687, allocations: 19.88 kB / 395.9 MB, free: 4.266 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005209/0.3739, allocations: 3.919 MB / 399.8 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00103/0.3749, allocations: 449.1 kB / 400.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003702/0.3753, allocations: 119.9 kB / 400.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001513/0.3768, allocations: 411.6 kB / 400.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000372/0.3772, allocations: 305.4 kB / 401.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001543/0.3773, allocations: 132 kB / 401.2 MB, free: 14.53 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001482/0.3788, allocations: 1.321 MB / 402.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3788, allocations: 0 / 402.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002802/0.3816, allocations: 1.364 MB / 403.9 MB, free: 11.82 MB / 362.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.0004246/0.382, allocations: 288.9 kB / 404.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003568/0.3856, allocations: 2.847 MB / 407 MB, free: 8.598 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.627e-05/0.3856, allocations: 6.656 kB / 407 MB, free: 8.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002066/0.3877, allocations: 2.33 MB / 409.3 MB, free: 6.133 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002441/0.3901, allocations: 0.679 MB / 410 MB, free: 5.461 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01364/0.4038, allocations: 9.89 MB / 419.9 MB, free: 11.26 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001307/0.4051, allocations: 1.237 MB / 421.1 MB, free: 9.996 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002658/0.4077, allocations: 0.9589 MB / 422.1 MB, free: 9.031 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007497/0.4085, allocations: 240.5 kB / 422.3 MB, free: 8.797 MB / 378.7 MB Notification: Performance of SimCode: time 2.004e-06/0.4085, allocations: 0 / 422.3 MB, free: 8.797 MB / 378.7 MB Notification: Performance of Templates: time 0.1598/0.5683, allocations: 48.98 MB / 471.3 MB, free: 97.73 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.456381649011746]