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.001436/0.001436, allocations: 79.69 kB / 21.7 MB, free: 2.844 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.004456/0.004456, allocations: 157.9 kB / 24.99 MB, free: 8.246 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.091/1.091, allocations: 177 MB / 205.2 MB, free: 5.582 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.522e-06/1.522e-06, allocations: 0 / 273 MB, free: 1.691 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/2.705e-05, allocations: 2.312 kB / 273 MB, free: 1.688 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.SmoothStep): time 0.004967/0.004994, allocations: 5.492 MB / 278.5 MB, free: 12.17 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002829/0.007823, allocations: 1.422 MB / 279.9 MB, free: 10.74 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006331/0.008456, allocations: 23.88 kB / 280 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006018/0.009058, allocations: 199.3 kB / 280.2 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007938/0.009852, allocations: 417 kB / 280.6 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005739/0.01043, allocations: 327.3 kB / 280.9 MB, free: 9.785 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1335/0.1439, allocations: 14.23 MB / 295.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004459/0.1483, allocations: 2.668 MB / 297.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01165/0.16, allocations: 7.131 MB / 304.9 MB, free: 11.87 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008041/0.168, allocations: 5.167 MB / 310.1 MB, free: 9.766 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003029/0.1711, allocations: 1.179 MB / 311.3 MB, free: 9.766 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003514/0.1746, allocations: 1.182 MB / 312.4 MB, free: 9.766 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003548/0.1781, allocations: 2.862 MB / 315.3 MB, free: 7.121 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006815/0.1849, allocations: 3.846 MB / 319.2 MB, free: 3.426 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01107/0.196, allocations: 9.357 MB / 328.5 MB, free: 10.46 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.789e-06/0.196, allocations: 4.594 kB / 328.5 MB, free: 10.46 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.196, allocations: 0 / 328.5 MB, free: 10.46 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.000647/0.1967, allocations: 0.5938 kB / 328.5 MB, free: 10.46 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.02114/0.2178, allocations: 11.61 MB / 340.1 MB, free: 15.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.993e-05/0.2179, allocations: 15.98 kB / 340.1 MB, free: 15.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003578/0.2214, allocations: 1.51 MB / 341.6 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007229/0.2287, allocations: 4.15 MB / 345.8 MB, free: 9.766 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004221/0.2291, allocations: 0.5417 MB / 346.3 MB, free: 9.223 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00169/0.2308, allocations: 0.8165 MB / 347.2 MB, free: 8.406 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01395/0.2447, allocations: 8.854 MB / 356 MB, free: 14.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000111/0.2448, allocations: 192 / 356 MB, free: 14.77 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008877/0.2457, allocations: 316.5 kB / 356.3 MB, free: 14.46 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002548/0.246, allocations: 355.1 kB / 356.7 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01067/0.2567, allocations: 2.93 MB / 359.6 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0466/0.3033, allocations: 24.93 MB / 384.5 MB, free: 1.922 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005349/0.3086, allocations: 4.459 MB / 389 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00577/0.3144, allocations: 4.328 MB / 393.3 MB, free: 8.871 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001952/0.3146, allocations: 109.1 kB / 393.4 MB, free: 8.762 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001106/0.3147, allocations: 131.5 kB / 393.6 MB, free: 8.617 MB / 346.7 MB Notification: Performance of pre-optimization done (n=654): time 9.137e-06/0.3147, allocations: 0 / 393.6 MB, free: 8.617 MB / 346.7 MB Notification: Performance of matching and sorting (n=654): time 0.007936/0.3226, allocations: 4.68 MB / 398.2 MB, free: 3.863 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.568e-05/0.3227, allocations: 167.9 kB / 398.4 MB, free: 3.672 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005055/0.3278, allocations: 4.002 MB / 402.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007793/0.3285, allocations: 173.7 kB / 402.6 MB, free: 15.51 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001943/0.3305, allocations: 3.318 MB / 405.9 MB, free: 12.17 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00202/0.3325, allocations: 2.608 MB / 408.5 MB, free: 9.539 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001509/0.334, allocations: 1.352 MB / 409.8 MB, free: 8.176 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.518e-05/0.3341, allocations: 476.8 kB / 410.3 MB, free: 7.707 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002193/0.3363, allocations: 1.064 MB / 411.4 MB, free: 6.641 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002458/0.3388, allocations: 1.883 MB / 413.3 MB, free: 4.719 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004454/0.3432, allocations: 3.206 MB / 416.5 MB, free: 1.461 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.479e-05/0.3432, allocations: 0 / 416.5 MB, free: 1.461 MB / 362.7 MB Notification: Performance of matching and sorting (n=893) (initialization): time 0.007718/0.3509, allocations: 4.492 MB / 421 MB, free: 12.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.836e-05/0.351, allocations: 8.625 kB / 421 MB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/0.351, allocations: 0 / 421 MB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003545/0.3514, allocations: 83.77 kB / 421 MB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004415/0.3558, allocations: 2.096 MB / 423.1 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001259/0.357, allocations: 1.844 MB / 425 MB, free: 8.781 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00416/0.3612, allocations: 0.8162 MB / 425.8 MB, free: 7.961 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004461/0.3616, allocations: 196 kB / 426 MB, free: 7.77 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.002223/0.3639, allocations: 0.4954 MB / 426.5 MB, free: 7.262 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001305/0.3652, allocations: 0.7662 MB / 427.3 MB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007466/0.3659, allocations: 0.7051 MB / 428 MB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.043e-05/0.3659, allocations: 64 kB / 428 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.319e-05/0.366, allocations: 7.938 kB / 428 MB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.984e-05/0.366, allocations: 33.52 kB / 428.1 MB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2599/0.6259, allocations: 12.96 MB / 441 MB, free: 113.3 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.538e-05/0.626, allocations: 27.02 kB / 441.1 MB, free: 113.3 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004765/0.6307, allocations: 1.874 MB / 442.9 MB, free: 113.2 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002597/0.631, allocations: 85.3 kB / 443 MB, free: 113.2 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005035/0.6315, allocations: 228 kB / 443.2 MB, free: 113.2 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005973/0.6321, allocations: 1.794 MB / 445 MB, free: 111.5 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-05/0.6321, allocations: 41.53 kB / 445.1 MB, free: 111.5 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008032/0.6401, allocations: 7.072 MB / 452.1 MB, free: 108.5 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001032/0.6412, allocations: 0.7888 MB / 452.9 MB, free: 108.4 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005574/0.6417, allocations: 229.6 kB / 453.2 MB, free: 108.3 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002582/0.6443, allocations: 0.9039 MB / 454.1 MB, free: 108.1 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004231/0.6447, allocations: 480.7 kB / 454.5 MB, free: 108 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002504/0.645, allocations: 216 kB / 454.7 MB, free: 107.9 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.002309/0.6473, allocations: 2.223 MB / 457 MB, free: 107.3 MB / 378.8 MB Notification: Performance of sort global known variables: time 2.9e-07/0.6473, allocations: 0.6562 kB / 457 MB, free: 107.3 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.003213/0.6505, allocations: 2.371 MB / 459.3 MB, free: 106.9 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.0004915/0.651, allocations: 465.2 kB / 459.8 MB, free: 106.6 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.004518/0.6555, allocations: 3.953 MB / 463.7 MB, free: 103.4 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-05/0.6555, allocations: 15.8 kB / 463.8 MB, free: 103.4 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001986/0.6575, allocations: 2.177 MB / 465.9 MB, free: 101.4 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002712/0.6602, allocations: 1.196 MB / 467.1 MB, free: 100.4 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03782/0.698, allocations: 30.58 MB / 497.7 MB, free: 71.16 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001901/0.6999, allocations: 2.135 MB / 499.8 MB, free: 69 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.004147/0.7041, allocations: 2.1 MB / 0.4902 GB, free: 66.89 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009858/0.7051, allocations: 424.4 kB / 0.4906 GB, free: 66.48 MB / 378.8 MB Notification: Performance of SimCode: time 2.696e-06/0.7051, allocations: 2.953 kB / 0.4906 GB, free: 66.48 MB / 378.8 MB Notification: Performance of Templates: time 0.2147/0.9197, allocations: 80.1 MB / 0.5688 GB, free: 129 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.622296867193654]