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.0009666/0.0009666, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0009763/0.0009763, allocations: 161 kB / 24.56 MB, free: 16 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 0.9451/0.9451, allocations: 177.1 MB / 205 MB, free: 5.625 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 1.613e-06/1.613e-06, allocations: 0 / 273 MB, free: 1.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.415e-05/2.576e-05, allocations: 2.312 kB / 273 MB, free: 1.496 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.0058/0.005825, allocations: 6.562 MB / 279.6 MB, free: 10.9 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003082/0.008907, allocations: 1.707 MB / 281.3 MB, free: 9.188 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006066/0.009514, allocations: 27.88 kB / 281.3 MB, free: 9.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005607/0.01007, allocations: 253.9 kB / 281.6 MB, free: 8.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009153/0.01099, allocations: 0.5352 MB / 282.1 MB, free: 8.371 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007109/0.0117, allocations: 475.2 kB / 282.6 MB, free: 7.906 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.127/0.1387, allocations: 7.993 MB / 290.6 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002662/0.1414, allocations: 1.538 MB / 292.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006954/0.1484, allocations: 4.052 MB / 296.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006169/0.1545, allocations: 2.831 MB / 299 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004087/0.1586, allocations: 0.6585 MB / 299.6 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004437/0.1631, allocations: 0.659 MB / 300.3 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003293/0.1664, allocations: 1.629 MB / 301.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006061/0.1724, allocations: 2.157 MB / 304.1 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005922/0.1783, allocations: 5.195 MB / 309.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1783, allocations: 0 / 309.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1783, allocations: 3.812 kB / 309.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0003157/0.1787, allocations: 1.5 kB / 309.3 MB, free: 10.98 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.00969/0.1883, allocations: 6.275 MB / 315.6 MB, free: 6.57 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.921e-05/0.1884, allocations: 12.03 kB / 315.6 MB, free: 6.559 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001296/0.1897, allocations: 0.864 MB / 316.4 MB, free: 5.695 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003147/0.1929, allocations: 2.359 MB / 318.8 MB, free: 3.414 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001473/0.193, allocations: 319.6 kB / 319.1 MB, free: 3.102 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005549/0.1936, allocations: 472.9 kB / 319.6 MB, free: 2.641 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005543/0.1991, allocations: 5.088 MB / 324.7 MB, free: 13.03 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.42e-05/0.1991, allocations: 192 / 324.7 MB, free: 13.03 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002724/0.1994, allocations: 188.2 kB / 324.8 MB, free: 12.85 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001645/0.1996, allocations: 205.2 kB / 325 MB, free: 12.65 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003497/0.2031, allocations: 1.627 MB / 326.7 MB, free: 11 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02112/0.2242, allocations: 13.59 MB / 340.3 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002964/0.2272, allocations: 2.602 MB / 342.9 MB, free: 10.89 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001918/0.2291, allocations: 1.74 MB / 344.6 MB, free: 9.137 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/0.2292, allocations: 58.81 kB / 344.7 MB, free: 9.078 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.75e-05/0.2293, allocations: 89.64 kB / 344.7 MB, free: 8.977 MB / 298.7 MB Notification: Performance of pre-optimization done (n=358): time 5.921e-06/0.2293, allocations: 0 / 344.7 MB, free: 8.977 MB / 298.7 MB Notification: Performance of matching and sorting (n=358): time 0.004972/0.2343, allocations: 2.874 MB / 347.6 MB, free: 6.055 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.2344, allocations: 295.8 kB / 347.9 MB, free: 5.703 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002823/0.2372, allocations: 2.411 MB / 350.3 MB, free: 3.246 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003311/0.2375, allocations: 101.7 kB / 350.4 MB, free: 3.141 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001079/0.2386, allocations: 1.901 MB / 352.3 MB, free: 1.227 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001037/0.2396, allocations: 1.429 MB / 353.7 MB, free: 15.81 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008368/0.2405, allocations: 0.7381 MB / 354.5 MB, free: 15.06 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.2406, allocations: 480.3 kB / 355 MB, free: 14.59 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/0.2417, allocations: 0.5695 MB / 355.5 MB, free: 14.02 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001321/0.243, allocations: 1.251 MB / 356.8 MB, free: 12.68 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003851/0.2468, allocations: 3.066 MB / 359.8 MB, free: 9.617 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/0.2468, allocations: 0 / 359.8 MB, free: 9.617 MB / 314.7 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.004085/0.2509, allocations: 2.625 MB / 362.5 MB, free: 6.988 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.251, allocations: 8 kB / 362.5 MB, free: 6.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.251, allocations: 0 / 362.5 MB, free: 6.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008594/0.2518, allocations: 325.1 kB / 362.8 MB, free: 6.652 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001996/0.2538, allocations: 0.9174 MB / 363.7 MB, free: 5.773 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005121/0.2589, allocations: 8.696 MB / 372.4 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002361/0.2613, allocations: 381.5 kB / 372.8 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001828/0.2615, allocations: 108 kB / 372.9 MB, free: 12.17 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.001487/0.263, allocations: 363 kB / 373.2 MB, free: 11.83 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007294/0.2637, allocations: 434.1 kB / 373.7 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003645/0.2641, allocations: 401.8 kB / 374.1 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/0.2641, allocations: 36 kB / 374.1 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.694e-05/0.2641, allocations: 4 kB / 374.1 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-05/0.2641, allocations: 23.86 kB / 374.1 MB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008932/0.2731, allocations: 7.209 MB / 381.3 MB, free: 3.449 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.399e-05/0.2731, allocations: 12 kB / 381.3 MB, free: 3.438 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001952/0.275, allocations: 0.823 MB / 382.2 MB, free: 2.613 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005929/0.2756, allocations: 277.6 kB / 382.4 MB, free: 2.312 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002277/0.2759, allocations: 127.9 kB / 382.6 MB, free: 2.188 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005478/0.2813, allocations: 13.25 MB / 395.8 MB, free: 4.098 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.038e-05/0.2813, allocations: 19.94 kB / 395.8 MB, free: 4.078 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005325/0.2867, allocations: 3.919 MB / 399.7 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008072/0.2875, allocations: 453.1 kB / 400.2 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000306/0.2878, allocations: 123.9 kB / 400.3 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001432/0.2892, allocations: 407.6 kB / 400.7 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003607/0.2896, allocations: 301.5 kB / 401 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001692/0.2897, allocations: 123.9 kB / 401.1 MB, free: 14.35 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001498/0.2912, allocations: 1.321 MB / 402.4 MB, free: 13.01 MB / 362.7 MB Notification: Performance of sort global known variables: time 3e-07/0.2912, allocations: 4 kB / 402.4 MB, free: 13.01 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002768/0.294, allocations: 1.357 MB / 403.8 MB, free: 11.65 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.0004171/0.2944, allocations: 293.1 kB / 404.1 MB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004061/0.2985, allocations: 2.847 MB / 406.9 MB, free: 8.414 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.686e-05/0.2985, allocations: 10.66 kB / 406.9 MB, free: 8.406 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001984/0.3005, allocations: 2.326 MB / 409.3 MB, free: 5.953 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00237/0.3029, allocations: 0.6811 MB / 410 MB, free: 5.281 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0126/0.3155, allocations: 9.894 MB / 419.8 MB, free: 11.08 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001142/0.3166, allocations: 1.229 MB / 421.1 MB, free: 9.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002273/0.3189, allocations: 0.9589 MB / 422 MB, free: 8.855 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006468/0.3195, allocations: 248.5 kB / 422.3 MB, free: 8.613 MB / 378.7 MB Notification: Performance of SimCode: time 1.653e-06/0.3195, allocations: 0 / 422.3 MB, free: 8.613 MB / 378.7 MB Notification: Performance of Templates: time 0.1761/0.4956, allocations: 50.79 MB / 473.1 MB, free: 93.98 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.180399044882506]