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.001045/0.001045, allocations: 88.25 kB / 22.22 MB, free: 2.281 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.001213/0.001213, allocations: 165.3 kB / 25.61 MB, free: 8.898 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.9727/0.9727, allocations: 177 MB / 205.9 MB, free: 4.457 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.482e-06/1.482e-06, allocations: 0 / 274.2 MB, free: 4.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.163e-05/2.311e-05, allocations: 3.516 kB / 274.2 MB, free: 4.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.SmoothStep): time 0.004796/0.004819, allocations: 5.401 MB / 279.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002416/0.007235, allocations: 1.416 MB / 281 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003342/0.007569, allocations: 23.88 kB / 281 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004354/0.008005, allocations: 199.3 kB / 281.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000952/0.008957, allocations: 424.8 kB / 281.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004775/0.009434, allocations: 315.5 kB / 281.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008284/0.01772, allocations: 14.23 MB / 296.2 MB, free: 14.17 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002797/0.02052, allocations: 2.666 MB / 298.8 MB, free: 11.43 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01073/0.03124, allocations: 7.14 MB / 306 MB, free: 4.273 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0138/0.04505, allocations: 9.92 MB / 315.9 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002999/0.04805, allocations: 1.18 MB / 317.1 MB, free: 9.156 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003488/0.05153, allocations: 1.18 MB / 318.2 MB, free: 7.977 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002866/0.0544, allocations: 2.871 MB / 321.1 MB, free: 5.098 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006964/0.06136, allocations: 3.845 MB / 325 MB, free: 1.242 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01107/0.07244, allocations: 9.363 MB / 334.3 MB, free: 7.855 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.07244, allocations: 0 / 334.3 MB, free: 7.855 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.07244, allocations: 0 / 334.3 MB, free: 7.855 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003828/0.07283, allocations: 0 / 334.3 MB, free: 7.855 MB / 314.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.2336/0.3064, allocations: 10.14 MB / 344.5 MB, free: 66.34 MB / 314.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.3064, allocations: 8.906 kB / 344.5 MB, free: 66.34 MB / 314.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006503/0.3129, allocations: 1.513 MB / 346 MB, free: 65.69 MB / 314.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01182/0.3248, allocations: 3.709 MB / 349.7 MB, free: 64.11 MB / 314.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005632/0.3253, allocations: 0.543 MB / 350.2 MB, free: 63.86 MB / 314.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002983/0.3283, allocations: 0.8195 MB / 351 MB, free: 63.59 MB / 314.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008846/0.3372, allocations: 8.349 MB / 359.4 MB, free: 56.98 MB / 314.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.798e-05/0.3372, allocations: 1.062 kB / 359.4 MB, free: 56.98 MB / 314.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000475/0.3377, allocations: 313.6 kB / 359.7 MB, free: 56.68 MB / 314.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001689/0.3379, allocations: 359 kB / 360.1 MB, free: 56.32 MB / 314.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003774/0.3417, allocations: 2.207 MB / 362.3 MB, free: 54.11 MB / 314.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03615/0.3778, allocations: 21.74 MB / 384 MB, free: 32.37 MB / 314.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003359/0.3812, allocations: 4.116 MB / 388.1 MB, free: 28.23 MB / 314.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004194/0.3854, allocations: 4.02 MB / 392.1 MB, free: 23.98 MB / 314.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002069/0.3856, allocations: 113.1 kB / 392.2 MB, free: 23.86 MB / 314.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001201/0.3857, allocations: 131.5 kB / 392.4 MB, free: 23.72 MB / 314.8 MB Notification: Performance of pre-optimization done (n=654): time 8.917e-06/0.3857, allocations: 0 / 392.4 MB, free: 23.72 MB / 314.8 MB Notification: Performance of matching and sorting (n=654): time 0.006067/0.3918, allocations: 4.063 MB / 396.4 MB, free: 19.59 MB / 314.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.032e-05/0.3918, allocations: 171.9 kB / 396.6 MB, free: 19.39 MB / 314.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003458/0.3953, allocations: 3.767 MB / 400.4 MB, free: 15.67 MB / 314.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000459/0.3957, allocations: 169.7 kB / 400.5 MB, free: 15.5 MB / 314.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001276/0.397, allocations: 3.266 MB / 403.8 MB, free: 12.2 MB / 314.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001763/0.3988, allocations: 2.565 MB / 406.4 MB, free: 9.617 MB / 314.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001501/0.4003, allocations: 1.34 MB / 407.7 MB, free: 8.266 MB / 314.8 MB Notification: Performance of setup shared object (initialization): time 5.262e-05/0.4003, allocations: 476.8 kB / 408.2 MB, free: 7.797 MB / 314.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/0.4015, allocations: 0.8059 MB / 409 MB, free: 6.988 MB / 314.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001361/0.4029, allocations: 1.593 MB / 410.6 MB, free: 5.355 MB / 314.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002494/0.4054, allocations: 2.659 MB / 413.2 MB, free: 2.645 MB / 314.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.47e-05/0.4054, allocations: 0.6875 kB / 413.2 MB, free: 2.645 MB / 314.8 MB Notification: Performance of matching and sorting (n=893) (initialization): time 0.005493/0.4109, allocations: 3.969 MB / 417.2 MB, free: 14.64 MB / 330.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/0.4109, allocations: 9.531 kB / 417.2 MB, free: 14.64 MB / 330.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/0.4109, allocations: 0 / 417.2 MB, free: 14.64 MB / 330.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002788/0.4112, allocations: 79.75 kB / 417.3 MB, free: 14.55 MB / 330.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003936/0.4151, allocations: 1.758 MB / 419 MB, free: 12.8 MB / 330.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/0.4164, allocations: 1.813 MB / 420.9 MB, free: 10.87 MB / 330.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004926/0.4213, allocations: 0.5339 MB / 421.4 MB, free: 10.34 MB / 330.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005991/0.4219, allocations: 140 kB / 421.5 MB, free: 10.2 MB / 330.8 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.002462/0.4243, allocations: 0.5032 MB / 422 MB, free: 9.68 MB / 330.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001678/0.426, allocations: 0.7701 MB / 422.8 MB, free: 8.906 MB / 330.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.427, allocations: 0.7128 MB / 423.5 MB, free: 8.188 MB / 330.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.723e-05/0.4271, allocations: 60 kB / 423.6 MB, free: 8.129 MB / 330.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.959e-05/0.4271, allocations: 0 / 423.6 MB, free: 8.129 MB / 330.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.06e-05/0.4271, allocations: 27.89 kB / 423.6 MB, free: 8.102 MB / 330.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01846/0.4456, allocations: 10.92 MB / 434.5 MB, free: 12.51 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.513e-05/0.4456, allocations: 28.22 kB / 434.5 MB, free: 12.48 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003888/0.4495, allocations: 1.589 MB / 436.1 MB, free: 10.9 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002915/0.4498, allocations: 87.64 kB / 436.2 MB, free: 10.81 MB / 346.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005352/0.4503, allocations: 223.9 kB / 436.4 MB, free: 10.59 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008306/0.4512, allocations: 1.76 MB / 438.2 MB, free: 8.715 MB / 346.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.22e-05/0.4512, allocations: 43.8 kB / 438.2 MB, free: 8.672 MB / 346.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009568/0.4608, allocations: 6.521 MB / 444.8 MB, free: 1.176 MB / 346.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002734/0.4635, allocations: 0.7527 MB / 445.5 MB, free: 428 kB / 346.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002004/0.4655, allocations: 227.9 kB / 445.7 MB, free: 200 kB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00439/0.4699, allocations: 0.5202 MB / 446.3 MB, free: 15.68 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008812/0.4708, allocations: 478.8 kB / 446.7 MB, free: 15.2 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004909/0.4713, allocations: 183.9 kB / 446.9 MB, free: 15.02 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.003014/0.4743, allocations: 1.933 MB / 448.8 MB, free: 13.11 MB / 362.8 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4743, allocations: 0 / 448.8 MB, free: 13.11 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.005428/0.4797, allocations: 2.37 MB / 451.2 MB, free: 10.73 MB / 362.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.0008256/0.4805, allocations: 471.8 kB / 451.7 MB, free: 10.27 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.005049/0.4856, allocations: 3.462 MB / 455.1 MB, free: 6.742 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-05/0.4856, allocations: 15.8 kB / 455.1 MB, free: 6.727 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002165/0.4878, allocations: 2.001 MB / 457.1 MB, free: 4.691 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004172/0.4919, allocations: 1.192 MB / 458.3 MB, free: 3.516 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03273/0.5247, allocations: 20.43 MB / 478.8 MB, free: 14.45 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001785/0.5265, allocations: 2.135 MB / 480.9 MB, free: 12.29 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.003191/0.5297, allocations: 0.751 MB / 481.7 MB, free: 11.54 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003248/0.5329, allocations: 1.661 MB / 483.3 MB, free: 9.871 MB / 394.8 MB Notification: Performance of SimCode: time 1.853e-06/0.5329, allocations: 0 / 483.3 MB, free: 9.871 MB / 394.8 MB Notification: Performance of Templates: time 0.209/0.7419, allocations: 88.21 MB / 0.5581 GB, free: 69.69 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.69727485999465]