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.0009027/0.0009027, allocations: 91.5 kB / 21.19 MB, free: 3.398 MB / 18.57 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.001376/0.001376, allocations: 160.5 kB / 24.56 MB, free: 40 kB / 18.57 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.9831/0.9831, allocations: 177 MB / 204.8 MB, free: 5.562 MB / 186.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 2.184e-06/2.184e-06, allocations: 4 kB / 273 MB, free: 1.383 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.713e-05/1.932e-05, allocations: 5.125 kB / 273 MB, free: 1.379 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.005018/0.005037, allocations: 6.559 MB / 279.5 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00219/0.007227, allocations: 1.703 MB / 281.2 MB, free: 9.074 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003175/0.007545, allocations: 27.88 kB / 281.3 MB, free: 9.047 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003853/0.00793, allocations: 253.9 kB / 281.5 MB, free: 8.797 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006614/0.008592, allocations: 0.5391 MB / 282 MB, free: 8.254 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005009/0.009092, allocations: 471.2 kB / 282.5 MB, free: 7.793 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1112/0.1203, allocations: 7.997 MB / 290.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002311/0.1226, allocations: 1.538 MB / 292 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004561/0.1272, allocations: 4.054 MB / 296.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003284/0.1305, allocations: 2.829 MB / 298.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001145/0.1316, allocations: 0.6589 MB / 299.6 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009682/0.1326, allocations: 0.6595 MB / 300.2 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009607/0.1336, allocations: 1.631 MB / 301.9 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001768/0.1353, allocations: 2.158 MB / 304 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002699/0.138, allocations: 5.194 MB / 309.2 MB, free: 10.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.138, allocations: 1.312 kB / 309.2 MB, free: 10.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.138, allocations: 0 / 309.2 MB, free: 10.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.601e-05/0.1381, allocations: 0 / 309.2 MB, free: 10.91 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.005623/0.1437, allocations: 6.281 MB / 315.5 MB, free: 6.422 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.1437, allocations: 8.031 kB / 315.5 MB, free: 6.414 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006663/0.1444, allocations: 0.8571 MB / 316.4 MB, free: 5.555 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002081/0.1465, allocations: 2.368 MB / 318.7 MB, free: 3.266 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.881e-05/0.1466, allocations: 316.5 kB / 319 MB, free: 2.953 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003794/0.147, allocations: 474.3 kB / 319.5 MB, free: 2.496 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004332/0.1513, allocations: 5.095 MB / 324.6 MB, free: 12.88 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.002e-05/0.1513, allocations: 192 / 324.6 MB, free: 12.88 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002693/0.1516, allocations: 176.6 kB / 324.8 MB, free: 12.71 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001409/0.1518, allocations: 200.4 kB / 325 MB, free: 12.51 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003174/0.1549, allocations: 1.627 MB / 326.6 MB, free: 10.86 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0157/0.1706, allocations: 13.59 MB / 340.2 MB, free: 13.35 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002669/0.1733, allocations: 2.604 MB / 342.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001777/0.1751, allocations: 1.737 MB / 344.5 MB, free: 8.992 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001146/0.1752, allocations: 58.81 kB / 344.6 MB, free: 8.934 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.142e-05/0.1753, allocations: 88.7 kB / 344.7 MB, free: 8.832 MB / 298.7 MB Notification: Performance of pre-optimization done (n=358): time 5.41e-06/0.1753, allocations: 4 kB / 344.7 MB, free: 8.828 MB / 298.7 MB Notification: Performance of matching and sorting (n=358): time 0.004024/0.1793, allocations: 2.869 MB / 347.6 MB, free: 5.914 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.1794, allocations: 307.3 kB / 347.9 MB, free: 5.555 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002311/0.1817, allocations: 2.403 MB / 350.3 MB, free: 3.109 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001503/0.1819, allocations: 105.7 kB / 350.4 MB, free: 3 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001124/0.183, allocations: 1.894 MB / 352.3 MB, free: 1.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008206/0.1838, allocations: 1.434 MB / 353.7 MB, free: 15.67 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007665/0.1846, allocations: 0.7358 MB / 354.4 MB, free: 14.92 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.1848, allocations: 480.8 kB / 354.9 MB, free: 14.45 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009613/0.1857, allocations: 0.5695 MB / 355.5 MB, free: 13.88 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001301/0.187, allocations: 1.247 MB / 356.7 MB, free: 12.54 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003945/0.191, allocations: 3.065 MB / 359.8 MB, free: 9.477 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.014e-06/0.191, allocations: 0 / 359.8 MB, free: 9.477 MB / 314.7 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.003485/0.1945, allocations: 2.625 MB / 362.4 MB, free: 6.848 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.1945, allocations: 8 kB / 362.4 MB, free: 6.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.1945, allocations: 0 / 362.4 MB, free: 6.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007293/0.1952, allocations: 327.3 kB / 362.7 MB, free: 6.508 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001867/0.1971, allocations: 0.9216 MB / 363.6 MB, free: 5.633 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004175/0.2013, allocations: 8.698 MB / 372.3 MB, free: 12.51 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/0.2027, allocations: 385.4 kB / 372.7 MB, free: 12.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001434/0.2028, allocations: 108 kB / 372.8 MB, free: 12.03 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.0009196/0.2037, allocations: 356.4 kB / 373.2 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000457/0.2042, allocations: 445.5 kB / 373.6 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003229/0.2045, allocations: 397.8 kB / 374 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.815e-05/0.2045, allocations: 35.98 kB / 374 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-05/0.2046, allocations: 4 kB / 374 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.677e-05/0.2046, allocations: 15.94 kB / 374.1 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008355/0.2129, allocations: 7.204 MB / 381.3 MB, free: 3.312 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.53e-05/0.213, allocations: 16 kB / 381.3 MB, free: 3.297 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001833/0.2148, allocations: 0.819 MB / 382.1 MB, free: 2.477 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006054/0.2154, allocations: 277.6 kB / 382.4 MB, free: 2.176 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002327/0.2156, allocations: 127.9 kB / 382.5 MB, free: 2.051 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005353/0.221, allocations: 13.26 MB / 395.8 MB, free: 3.953 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.847e-06/0.221, allocations: 19.94 kB / 395.8 MB, free: 3.934 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004204/0.2252, allocations: 3.919 MB / 399.7 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005591/0.2258, allocations: 445.1 kB / 400.1 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002718/0.226, allocations: 127.9 kB / 400.2 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001583/0.2276, allocations: 411.5 kB / 400.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000439/0.228, allocations: 301.5 kB / 400.9 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000147/0.2282, allocations: 128.7 kB / 401.1 MB, free: 14.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001387/0.2296, allocations: 1.317 MB / 402.4 MB, free: 12.87 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2296, allocations: 3.938 kB / 402.4 MB, free: 12.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002289/0.2319, allocations: 1.36 MB / 403.8 MB, free: 11.5 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.0003163/0.2322, allocations: 289.1 kB / 404 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003126/0.2353, allocations: 2.847 MB / 406.9 MB, free: 8.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.555e-06/0.2353, allocations: 6.656 kB / 406.9 MB, free: 8.266 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001855/0.2372, allocations: 2.33 MB / 409.2 MB, free: 5.809 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001632/0.2388, allocations: 0.6816 MB / 409.9 MB, free: 5.141 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01072/0.2495, allocations: 9.889 MB / 419.8 MB, free: 10.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/0.2505, allocations: 1.233 MB / 421 MB, free: 9.672 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001753/0.2523, allocations: 0.9589 MB / 422 MB, free: 8.707 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007338/0.253, allocations: 244.5 kB / 422.2 MB, free: 8.469 MB / 378.7 MB Notification: Performance of SimCode: time 1.833e-06/0.253, allocations: 0 / 422.2 MB, free: 8.469 MB / 378.7 MB Notification: Performance of Templates: time 0.1614/0.4145, allocations: 48.95 MB / 471.2 MB, free: 94.79 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.3056605393067]