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.001008/0.001008, allocations: 91.5 kB / 21.2 MB, free: 3.371 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.001706/0.001706, allocations: 156.5 kB / 24.55 MB, free: 16 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.9888/0.9888, allocations: 177 MB / 204.8 MB, free: 5.559 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.393e-06/1.393e-06, allocations: 0 / 273 MB, free: 1.383 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.46e-05/1.599e-05, allocations: 2.312 kB / 273 MB, free: 1.379 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.SmoothStep): time 0.004612/0.004628, allocations: 5.505 MB / 278.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00215/0.006778, allocations: 1.418 MB / 279.9 MB, free: 10.42 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003891/0.007167, allocations: 27.81 kB / 279.9 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004273/0.007594, allocations: 199.3 kB / 280.1 MB, free: 10.19 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006374/0.008232, allocations: 417 kB / 280.5 MB, free: 9.781 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000529/0.008761, allocations: 319.4 kB / 280.8 MB, free: 9.469 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1205/0.1292, allocations: 14.23 MB / 295 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004006/0.1332, allocations: 2.666 MB / 297.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009183/0.1424, allocations: 7.137 MB / 304.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005777/0.1482, allocations: 5.156 MB / 310 MB, free: 9.727 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001607/0.1498, allocations: 1.183 MB / 311.2 MB, free: 9.727 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001244/0.151, allocations: 1.184 MB / 312.4 MB, free: 9.641 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001184/0.1522, allocations: 2.874 MB / 315.2 MB, free: 6.918 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002917/0.1551, allocations: 3.841 MB / 319.1 MB, free: 3.227 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005714/0.1609, allocations: 9.349 MB / 328.4 MB, free: 10.27 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1609, allocations: 0 / 328.4 MB, free: 10.27 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1609, allocations: 1.312 kB / 328.4 MB, free: 10.27 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002501/0.1611, allocations: 4 kB / 328.4 MB, free: 10.27 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.01406/0.1752, allocations: 11.53 MB / 340 MB, free: 14.71 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.1752, allocations: 15.98 kB / 340 MB, free: 14.7 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00176/0.177, allocations: 1.506 MB / 341.5 MB, free: 13.19 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005219/0.1822, allocations: 4.154 MB / 345.6 MB, free: 9.23 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000265/0.1825, allocations: 0.5442 MB / 346.2 MB, free: 8.688 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009929/0.1835, allocations: 0.8126 MB / 347 MB, free: 7.875 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00909/0.1926, allocations: 8.854 MB / 355.9 MB, free: 14.24 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-05/0.1926, allocations: 4.188 kB / 355.9 MB, free: 14.23 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004698/0.1931, allocations: 308.6 kB / 356.2 MB, free: 13.93 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002139/0.1933, allocations: 363 kB / 356.5 MB, free: 13.58 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005932/0.1993, allocations: 2.926 MB / 359.4 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03417/0.2334, allocations: 24.93 MB / 384.4 MB, free: 1.621 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004528/0.238, allocations: 4.458 MB / 388.8 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005036/0.243, allocations: 4.332 MB / 393.2 MB, free: 8.566 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001847/0.2432, allocations: 109.1 kB / 393.3 MB, free: 8.457 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004297/0.2436, allocations: 131.5 kB / 393.4 MB, free: 8.312 MB / 346.7 MB Notification: Performance of pre-optimization done (n=654): time 8.075e-06/0.2436, allocations: 0 / 393.4 MB, free: 8.312 MB / 346.7 MB Notification: Performance of matching and sorting (n=654): time 0.006844/0.2505, allocations: 4.676 MB / 398.1 MB, free: 3.562 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.216e-05/0.2505, allocations: 167.9 kB / 398.2 MB, free: 3.371 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004624/0.2552, allocations: 4.006 MB / 402.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003152/0.2555, allocations: 169.7 kB / 402.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00157/0.2571, allocations: 3.318 MB / 405.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001765/0.2588, allocations: 2.61 MB / 408.3 MB, free: 9.297 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00134/0.2602, allocations: 1.352 MB / 409.7 MB, free: 7.934 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.035e-05/0.2602, allocations: 476.8 kB / 410.2 MB, free: 7.465 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001796/0.262, allocations: 1.064 MB / 411.2 MB, free: 6.398 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002271/0.2643, allocations: 1.883 MB / 413.1 MB, free: 4.477 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004378/0.2687, allocations: 3.209 MB / 416.3 MB, free: 1.219 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.228e-05/0.2687, allocations: 0 / 416.3 MB, free: 1.219 MB / 362.7 MB Notification: Performance of matching and sorting (n=893) (initialization): time 0.006268/0.275, allocations: 4.488 MB / 420.8 MB, free: 12.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/0.275, allocations: 8.625 kB / 420.8 MB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.275, allocations: 0 / 420.8 MB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002851/0.2753, allocations: 83.77 kB / 420.9 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004413/0.2797, allocations: 2.104 MB / 423 MB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/0.2808, allocations: 1.849 MB / 424.8 MB, free: 8.531 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002685/0.2835, allocations: 0.8079 MB / 425.7 MB, free: 7.719 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002734/0.2838, allocations: 196.8 kB / 425.8 MB, free: 7.527 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.001464/0.2852, allocations: 0.4915 MB / 426.3 MB, free: 7.023 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007871/0.286, allocations: 0.77 MB / 427.1 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005522/0.2866, allocations: 0.7129 MB / 427.8 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.85e-05/0.2866, allocations: 68 kB / 427.9 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-05/0.2866, allocations: 0 / 427.9 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.018e-05/0.2867, allocations: 31.88 kB / 427.9 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2375/0.5242, allocations: 12.96 MB / 440.9 MB, free: 111.2 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.15e-05/0.5242, allocations: 27.03 kB / 440.9 MB, free: 111.2 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00456/0.5288, allocations: 1.88 MB / 442.8 MB, free: 111.1 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001758/0.5289, allocations: 86.59 kB / 442.9 MB, free: 111.1 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003364/0.5293, allocations: 226.3 kB / 443.1 MB, free: 111.1 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000495/0.5298, allocations: 1.791 MB / 444.9 MB, free: 109.4 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-05/0.5298, allocations: 42.38 kB / 444.9 MB, free: 109.3 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007111/0.5369, allocations: 7.075 MB / 452 MB, free: 106.5 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008631/0.5378, allocations: 0.7848 MB / 452.8 MB, free: 106.5 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000514/0.5383, allocations: 226.6 kB / 453 MB, free: 106.5 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002522/0.5408, allocations: 0.9066 MB / 453.9 MB, free: 106.4 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004136/0.5412, allocations: 480.5 kB / 454.4 MB, free: 106.4 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002445/0.5414, allocations: 219.3 kB / 454.6 MB, free: 106.4 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.00213/0.5436, allocations: 2.226 MB / 456.8 MB, free: 105.8 MB / 378.8 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5436, allocations: 0 / 456.8 MB, free: 105.8 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.003149/0.5467, allocations: 2.366 MB / 459.2 MB, free: 105.4 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.0005683/0.5473, allocations: 467.7 kB / 459.6 MB, free: 105.1 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.004919/0.5522, allocations: 3.949 MB / 463.6 MB, free: 102.1 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 1.455e-05/0.5522, allocations: 15.8 kB / 463.6 MB, free: 102.1 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001844/0.5541, allocations: 2.178 MB / 465.8 MB, free: 100.1 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002644/0.5567, allocations: 1.193 MB / 467 MB, free: 99.11 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03426/0.591, allocations: 30.58 MB / 497.6 MB, free: 70.16 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001675/0.5927, allocations: 2.143 MB / 499.7 MB, free: 67.98 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.003669/0.5963, allocations: 2.104 MB / 0.49 GB, free: 65.88 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009339/0.5973, allocations: 416.5 kB / 0.4904 GB, free: 65.47 MB / 378.8 MB Notification: Performance of SimCode: time 2.245e-06/0.5973, allocations: 0 / 0.4904 GB, free: 65.47 MB / 378.8 MB Notification: Performance of Templates: time 0.1959/0.7932, allocations: 83.01 MB / 0.5715 GB, free: 126.5 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.245835761073977]