Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.SmoothStep.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.001357/0.001357, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.001542/0.001542, allocations: 162 kB / 24.82 MB, free: 9.211 MB / 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 1.02/1.02, allocations: 177 MB / 205.1 MB, free: 5.5 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.SmoothStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|R1.v|R5.v|R50.v|Rdistr.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.SmoothStep") translateModel(Modelica.Electrical.Analog.Examples.Lines.SmoothStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|R1.v|R5.v|R50.v|Rdistr.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.SmoothStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 273.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.541e-05/1.669e-05, allocations: 5.266 kB / 273.4 MB, free: 1.199 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.SmoothStep): time 0.004273/0.00429, allocations: 5.399 MB / 278.8 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002124/0.006414, allocations: 1.418 MB / 280.2 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003158/0.00673, allocations: 19.88 kB / 280.2 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003851/0.007115, allocations: 199.4 kB / 280.4 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006465/0.007761, allocations: 416.9 kB / 280.8 MB, free: 9.715 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004714/0.008233, allocations: 323.4 kB / 281.1 MB, free: 9.398 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.124/0.1322, allocations: 14.23 MB / 295.4 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003552/0.1358, allocations: 2.667 MB / 298 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007977/0.1438, allocations: 7.136 MB / 305.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007446/0.1512, allocations: 9.93 MB / 315.1 MB, free: 5.156 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002181/0.1534, allocations: 1.181 MB / 316.3 MB, free: 5.156 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00129/0.1547, allocations: 1.179 MB / 317.4 MB, free: 4.859 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001184/0.1559, allocations: 2.866 MB / 320.3 MB, free: 2.145 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003682/0.1595, allocations: 3.841 MB / 324.2 MB, free: 14.46 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007514/0.1671, allocations: 9.362 MB / 333.5 MB, free: 5.492 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1671, allocations: 0 / 333.5 MB, free: 5.492 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1671, allocations: 0 / 333.5 MB, free: 5.492 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0003569/0.1674, allocations: 1.312 kB / 333.5 MB, free: 5.492 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1935 * Number of variables: 1935 Notification: Performance of Generate backend data structure: time 0.01285/0.1803, allocations: 10.15 MB / 343.7 MB, free: 11.74 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.1803, allocations: 15.98 kB / 343.7 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001912/0.1822, allocations: 1.502 MB / 345.2 MB, free: 10.22 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004943/0.1872, allocations: 3.718 MB / 348.9 MB, free: 6.703 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003641/0.1875, allocations: 0.5456 MB / 349.5 MB, free: 6.156 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001074/0.1886, allocations: 0.8151 MB / 350.3 MB, free: 5.352 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008437/0.197, allocations: 8.343 MB / 358.6 MB, free: 12.29 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.973e-05/0.1971, allocations: 4.188 kB / 358.6 MB, free: 12.28 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005771/0.1977, allocations: 308.6 kB / 358.9 MB, free: 11.98 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002702/0.198, allocations: 370.5 kB / 359.3 MB, free: 11.62 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004564/0.2026, allocations: 2.207 MB / 361.5 MB, free: 9.406 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05845/0.261, allocations: 21.73 MB / 383.2 MB, free: 3.246 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007185/0.2682, allocations: 4.119 MB / 387.3 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008201/0.2764, allocations: 4.023 MB / 391.4 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001757/0.2766, allocations: 105.1 kB / 391.5 MB, free: 10.73 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.56e-05/0.2767, allocations: 143.4 kB / 391.6 MB, free: 10.58 MB / 346.7 MB Notification: Performance of pre-optimization done (n=654): time 7.635e-06/0.2767, allocations: 0 / 391.6 MB, free: 10.58 MB / 346.7 MB Notification: Performance of matching and sorting (n=654): time 0.005429/0.2821, allocations: 4.059 MB / 395.7 MB, free: 6.445 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.181e-05/0.2822, allocations: 171.9 kB / 395.8 MB, free: 6.25 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003467/0.2856, allocations: 3.758 MB / 399.6 MB, free: 2.508 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002512/0.2859, allocations: 173.6 kB / 399.8 MB, free: 2.332 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001589/0.2875, allocations: 3.274 MB / 403 MB, free: 15.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001765/0.2893, allocations: 2.569 MB / 405.6 MB, free: 12.44 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001317/0.2906, allocations: 1.328 MB / 406.9 MB, free: 11.1 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.2907, allocations: 484.7 kB / 407.4 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001044/0.2917, allocations: 0.7981 MB / 408.2 MB, free: 9.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001567/0.2933, allocations: 1.597 MB / 409.8 MB, free: 8.184 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003192/0.2965, allocations: 2.659 MB / 412.5 MB, free: 5.473 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/0.2965, allocations: 4.031 kB / 412.5 MB, free: 5.469 MB / 362.7 MB Notification: Performance of matching and sorting (n=893) (initialization): time 0.00482/0.3013, allocations: 3.964 MB / 416.4 MB, free: 1.477 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.3013, allocations: 8.625 kB / 416.4 MB, free: 1.469 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.3014, allocations: 0 / 416.4 MB, free: 1.469 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002243/0.3016, allocations: 95.67 kB / 416.5 MB, free: 1.371 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003506/0.3051, allocations: 1.742 MB / 418.3 MB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001239/0.3063, allocations: 1.822 MB / 420.1 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002471/0.3088, allocations: 0.5303 MB / 420.6 MB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002434/0.309, allocations: 144 kB / 420.8 MB, free: 13.03 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (890): * Single equations (assignments): 889 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001728/0.3108, allocations: 0.4954 MB / 421.3 MB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008448/0.3116, allocations: 0.7623 MB / 422 MB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005684/0.3122, allocations: 0.709 MB / 422.7 MB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.953e-05/0.3122, allocations: 63.94 kB / 422.8 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.208e-05/0.3122, allocations: 4 kB / 422.8 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.798e-05/0.3123, allocations: 31.88 kB / 422.8 MB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.23/0.5423, allocations: 10.92 MB / 433.7 MB, free: 111.5 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.839e-05/0.5423, allocations: 25.97 kB / 433.8 MB, free: 111.5 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004451/0.5468, allocations: 1.578 MB / 435.3 MB, free: 111.5 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001864/0.5469, allocations: 85.55 kB / 435.4 MB, free: 111.5 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000366/0.5473, allocations: 230.2 kB / 435.6 MB, free: 111.5 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005495/0.5479, allocations: 1.772 MB / 437.4 MB, free: 109.8 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.012e-05/0.5479, allocations: 40.58 kB / 437.5 MB, free: 109.8 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007107/0.555, allocations: 6.51 MB / 444 MB, free: 107 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00161/0.5566, allocations: 0.7617 MB / 444.7 MB, free: 107 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005661/0.5572, allocations: 225.5 kB / 445 MB, free: 107 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002593/0.5598, allocations: 0.5248 MB / 445.5 MB, free: 107 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006287/0.5604, allocations: 476.5 kB / 445.9 MB, free: 106.9 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002508/0.5606, allocations: 179.2 kB / 446.1 MB, free: 106.9 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.002045/0.5627, allocations: 1.937 MB / 448.1 MB, free: 106.8 MB / 378.8 MB Notification: Performance of sort global known variables: time 3.1e-07/0.5627, allocations: 0 / 448.1 MB, free: 106.8 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.003453/0.5661, allocations: 2.371 MB / 450.4 MB, free: 106.6 MB / 378.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 116 * Number of states: 116 (firstOrder.y,oLine1.L[1].i,oLine1.L[2].i,oLine1.C[1].v,oLine5.L[1].i,oLine5.L[2].i,oLine5.L[3].i,oLine5.L[4].i,oLine5.L[5].i,oLine5.L[6].i,oLine5.C[1].v,oLine5.C[2].v,oLine5.C[3].v,oLine5.C[4].v,oLine5.C[5].v,oLine50.L[1].i,oLine50.L[2].i,oLine50.L[3].i,oLine50.L[4].i,oLine50.L[5].i,oLine50.L[6].i,oLine50.L[7].i,oLine50.L[8].i,oLine50.L[9].i,oLine50.L[10].i,oLine50.L[11].i,oLine50.L[12].i,oLine50.L[13].i,oLine50.L[14].i,oLine50.L[15].i,oLine50.L[16].i,oLine50.L[17].i,oLine50.L[18].i,oLine50.L[19].i,oLine50.L[20].i,oLine50.L[21].i,oLine50.L[22].i,oLine50.L[23].i,oLine50.L[24].i,oLine50.L[25].i,oLine50.L[26].i,oLine50.L[27].i,oLine50.L[28].i,oLine50.L[29].i,oLine50.L[30].i,oLine50.L[31].i,oLine50.L[32].i,oLine50.L[33].i,oLine50.L[34].i,oLine50.L[35].i,oLine50.L[36].i,oLine50.L[37].i,oLine50.L[38].i,oLine50.L[39].i,oLine50.L[40].i,oLine50.L[41].i,oLine50.L[42].i,oLine50.L[43].i,oLine50.L[44].i,oLine50.L[45].i,oLine50.L[46].i,oLine50.L[47].i,oLine50.L[48].i,oLine50.L[49].i,oLine50.L[50].i,oLine50.L[51].i,oLine50.C[1].v,oLine50.C[2].v,oLine50.C[3].v,oLine50.C[4].v,oLine50.C[5].v,oLine50.C[6].v,oLine50.C[7].v,oLine50.C[8].v,oLine50.C[9].v,oLine50.C[10].v,oLine50.C[11].v,oLine50.C[12].v,oLine50.C[13].v,oLine50.C[14].v,oLine50.C[15].v,oLine50.C[16].v,oLine50.C[17].v,oLine50.C[18].v,oLine50.C[19].v,oLine50.C[20].v,oLine50.C[21].v,oLine50.C[22].v,oLine50.C[23].v,oLine50.C[24].v,oLine50.C[25].v,oLine50.C[26].v,oLine50.C[27].v,oLine50.C[28].v,oLine50.C[29].v,oLine50.C[30].v,oLine50.C[31].v,oLine50.C[32].v,oLine50.C[33].v,oLine50.C[34].v,oLine50.C[35].v,oLine50.C[36].v,oLine50.C[37].v,oLine50.C[38].v,oLine50.C[39].v,oLine50.C[40].v,oLine50.C[41].v,oLine50.C[42].v,oLine50.C[43].v,oLine50.C[44].v,oLine50.C[45].v,oLine50.C[46].v,oLine50.C[47].v,oLine50.C[48].v,oLine50.C[49].v,oLine50.C[50].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 (653): * Single equations (assignments): 652 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005112/0.5666, allocations: 465.9 kB / 450.9 MB, free: 106.4 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.003537/0.5702, allocations: 3.466 MB / 454.3 MB, free: 105.9 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 1.227e-05/0.5702, allocations: 15.64 kB / 454.4 MB, free: 105.9 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001489/0.5717, allocations: 1.996 MB / 456.4 MB, free: 105.5 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002716/0.5744, allocations: 1.192 MB / 457.5 MB, free: 105.3 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02349/0.5979, allocations: 20.42 MB / 478 MB, free: 87.92 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001298/0.5992, allocations: 2.145 MB / 480.1 MB, free: 85.88 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.002373/0.6016, allocations: 0.751 MB / 480.9 MB, free: 85.12 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002735/0.6043, allocations: 1.665 MB / 482.5 MB, free: 83.46 MB / 378.8 MB Notification: Performance of SimCode: time 1.613e-06/0.6043, allocations: 0 / 482.5 MB, free: 83.46 MB / 378.8 MB Notification: Performance of Templates: time 0.08501/0.6893, allocations: 86.1 MB / 0.5553 GB, free: 14.59 MB / 394.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.SmoothStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.SmoothStep.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.SmoothStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.SmoothStep.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.SmoothStep.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.SmoothStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.SmoothStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.SmoothStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Lines/SmoothStep/SmoothStep.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: 5.437238024082035]