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.0009779/0.0009779, allocations: 84.73 kB / 21.5 MB, free: 2.984 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.0009373/0.0009373, allocations: 167.2 kB / 24.92 MB, free: 8.773 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 0.9277/0.9277, allocations: 177 MB / 205.2 MB, free: 5.402 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.212e-06/1.212e-06, allocations: 0 / 273.4 MB, free: 1.133 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.772e-05/1.894e-05, allocations: 2.312 kB / 273.4 MB, free: 1.129 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.SmoothStep): time 0.00773/0.007749, allocations: 5.415 MB / 278.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00274/0.01049, allocations: 1.457 MB / 280.3 MB, free: 10.22 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004028/0.01089, allocations: 23.88 kB / 280.3 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005047/0.0114, allocations: 207.2 kB / 280.5 MB, free: 9.988 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006827/0.01208, allocations: 409 kB / 280.9 MB, free: 9.586 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004646/0.01254, allocations: 327.4 kB / 281.2 MB, free: 9.266 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1266/0.1392, allocations: 14.27 MB / 295.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004016/0.1432, allocations: 2.748 MB / 298.3 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0115/0.1547, allocations: 7.131 MB / 305.4 MB, free: 12.17 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01066/0.1653, allocations: 9.932 MB / 315.3 MB, free: 5.012 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00379/0.1691, allocations: 1.18 MB / 316.5 MB, free: 5.012 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003785/0.1729, allocations: 1.179 MB / 317.7 MB, free: 4.613 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00216/0.1751, allocations: 2.874 MB / 320.6 MB, free: 1.891 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006651/0.1817, allocations: 3.843 MB / 324.4 MB, free: 14.2 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009586/0.1913, allocations: 9.354 MB / 333.8 MB, free: 5.242 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.1913, allocations: 0 / 333.8 MB, free: 5.242 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1913, allocations: 0.9062 kB / 333.8 MB, free: 5.242 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0004336/0.1917, allocations: 0 / 333.8 MB, free: 5.242 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.01504/0.2068, allocations: 9.305 MB / 343.1 MB, free: 12.36 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.2068, allocations: 11.98 kB / 343.1 MB, free: 12.35 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001596/0.2084, allocations: 1.215 MB / 344.3 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003857/0.2123, allocations: 2.435 MB / 346.7 MB, free: 8.898 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002599/0.2125, allocations: 0.5456 MB / 347.3 MB, free: 8.352 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009203/0.2135, allocations: 0.8206 MB / 348.1 MB, free: 7.547 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008034/0.2215, allocations: 8.506 MB / 356.6 MB, free: 14.33 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-05/0.2216, allocations: 192 / 356.6 MB, free: 14.33 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005149/0.2221, allocations: 308.5 kB / 356.9 MB, free: 14.03 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002335/0.2223, allocations: 367 kB / 357.3 MB, free: 13.67 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003667/0.226, allocations: 1.852 MB / 359.1 MB, free: 11.81 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03196/0.258, allocations: 17.51 MB / 376.6 MB, free: 10.01 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002997/0.261, allocations: 3.69 MB / 380.3 MB, free: 6.305 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004014/0.265, allocations: 3.725 MB / 384 MB, free: 2.344 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001884/0.2652, allocations: 105.1 kB / 384.1 MB, free: 2.238 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.891e-05/0.2653, allocations: 132.7 kB / 384.3 MB, free: 2.098 MB / 330.7 MB Notification: Performance of pre-optimization done (n=654): time 8.897e-06/0.2653, allocations: 0 / 384.3 MB, free: 2.098 MB / 330.7 MB Notification: Performance of matching and sorting (n=654): time 0.00568/0.2709, allocations: 3.103 MB / 387.4 MB, free: 14.94 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/0.2711, allocations: 175.9 kB / 387.5 MB, free: 14.74 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003762/0.2748, allocations: 2.844 MB / 390.4 MB, free: 11.92 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004931/0.2753, allocations: 173.6 kB / 390.5 MB, free: 11.74 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001487/0.2768, allocations: 2.358 MB / 392.9 MB, free: 9.359 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001687/0.2785, allocations: 2.397 MB / 395.3 MB, free: 6.941 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001622/0.2801, allocations: 1.081 MB / 396.4 MB, free: 5.852 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.581e-05/0.2802, allocations: 309.1 kB / 396.7 MB, free: 5.547 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001436/0.2816, allocations: 0.6813 MB / 397.4 MB, free: 4.863 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001814/0.2834, allocations: 1.25 MB / 398.6 MB, free: 3.586 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003599/0.287, allocations: 2.394 MB / 401 MB, free: 1.145 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-05/0.287, allocations: 4 kB / 401 MB, free: 1.141 MB / 346.7 MB Notification: Performance of matching and sorting (n=893) (initialization): time 0.005502/0.2926, allocations: 2.924 MB / 403.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.352e-05/0.2926, allocations: 4 kB / 403.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.082e-05/0.2926, allocations: 0 / 403.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003/0.2929, allocations: 84.92 kB / 404 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004854/0.2978, allocations: 1.745 MB / 405.8 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001073/0.2988, allocations: 1.261 MB / 407 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003053/0.3019, allocations: 0.5271 MB / 407.6 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003507/0.3022, allocations: 140 kB / 407.7 MB, free: 10.34 MB / 362.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.002085/0.3043, allocations: 467.2 kB / 408.2 MB, free: 9.871 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001232/0.3056, allocations: 0.5853 MB / 408.7 MB, free: 9.285 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008509/0.3064, allocations: 0.709 MB / 409.4 MB, free: 8.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.202e-05/0.3064, allocations: 60 kB / 409.5 MB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-05/0.3065, allocations: 3.938 kB / 409.5 MB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.742e-05/0.3065, allocations: 31.88 kB / 409.5 MB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01384/0.3203, allocations: 8.153 MB / 417.7 MB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.437e-05/0.3204, allocations: 24 kB / 417.7 MB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00364/0.324, allocations: 1.582 MB / 419.3 MB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001845/0.3242, allocations: 85.69 kB / 419.4 MB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004049/0.3246, allocations: 219.9 kB / 419.6 MB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006638/0.3253, allocations: 1.221 MB / 420.8 MB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-05/0.3253, allocations: 43.75 kB / 420.9 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005824/0.3311, allocations: 5.352 MB / 426.2 MB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001305/0.3324, allocations: 0.5889 MB / 426.8 MB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006576/0.3331, allocations: 231.8 kB / 427 MB, free: 5.613 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002232/0.3353, allocations: 0.5192 MB / 427.5 MB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004238/0.3357, allocations: 474.8 kB / 428 MB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003078/0.336, allocations: 168 kB / 428.2 MB, free: 4.461 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001666/0.3377, allocations: 1.492 MB / 429.7 MB, free: 2.988 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3377, allocations: 0 / 429.7 MB, free: 2.988 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00398/0.3417, allocations: 2.366 MB / 432 MB, free: 0.6172 MB / 378.7 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.000679/0.3424, allocations: 450.8 kB / 432.5 MB, free: 164 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.1964/0.5387, allocations: 2.967 MB / 435.4 MB, free: 119.1 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 9.933e-05/0.5388, allocations: 56.58 kB / 435.5 MB, free: 119.1 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002481/0.5413, allocations: 1.698 MB / 437.2 MB, free: 118.8 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00405/0.5454, allocations: 1.189 MB / 438.4 MB, free: 118.7 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0246/0.57, allocations: 17.38 MB / 455.8 MB, free: 110.7 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001303/0.5713, allocations: 1.72 MB / 457.5 MB, free: 110.5 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.002895/0.5742, allocations: 0.7545 MB / 458.2 MB, free: 110.3 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002813/0.577, allocations: 1.512 MB / 459.8 MB, free: 109.3 MB / 378.8 MB Notification: Performance of SimCode: time 2.004e-06/0.577, allocations: 4 kB / 459.8 MB, free: 109.3 MB / 378.8 MB Notification: Performance of Templates: time 0.08597/0.6629, allocations: 86.08 MB / 0.533 GB, free: 24.84 MB / 378.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: 4.887608279008418]