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.001269/0.001269, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001368/0.001368, allocations: 156.5 kB / 24.55 MB, free: 20 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 1.036/1.036, allocations: 177 MB / 204.8 MB, free: 5.594 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.413e-06/1.413e-06, allocations: 3.938 kB / 273 MB, free: 1.422 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.484e-05/2.625e-05, allocations: 2.312 kB / 273 MB, free: 1.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.SmoothStep): time 0.004944/0.00497, allocations: 5.505 MB / 278.5 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002889/0.007859, allocations: 1.418 MB / 279.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000501/0.00836, allocations: 23.88 kB / 279.9 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005339/0.008894, allocations: 195.3 kB / 280.1 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008927/0.009787, allocations: 421 kB / 280.5 MB, free: 9.824 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006006/0.01039, allocations: 327.4 kB / 280.8 MB, free: 9.504 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1481/0.1585, allocations: 14.22 MB / 295 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004794/0.1633, allocations: 2.67 MB / 297.7 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01748/0.1808, allocations: 7.133 MB / 304.8 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01097/0.1917, allocations: 5.157 MB / 310 MB, free: 9.902 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003259/0.195, allocations: 1.177 MB / 311.2 MB, free: 9.902 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003961/0.1989, allocations: 1.181 MB / 312.4 MB, free: 9.805 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00219/0.2011, allocations: 2.875 MB / 315.2 MB, free: 7.082 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005765/0.2069, allocations: 3.845 MB / 319.1 MB, free: 3.391 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008736/0.2156, allocations: 9.357 MB / 328.4 MB, free: 10.43 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.2156, allocations: 0 / 328.4 MB, free: 10.43 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2156, allocations: 0 / 328.4 MB, free: 10.43 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0004357/0.2161, allocations: 0.7812 kB / 328.4 MB, free: 10.43 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.01948/0.2356, allocations: 11.62 MB / 340.1 MB, free: 15.24 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.2356, allocations: 11.98 kB / 340.1 MB, free: 15.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002672/0.2383, allocations: 1.507 MB / 341.6 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0073/0.2456, allocations: 4.153 MB / 345.7 MB, free: 9.762 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004167/0.246, allocations: 0.5417 MB / 346.3 MB, free: 9.219 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001502/0.2475, allocations: 0.8126 MB / 347.1 MB, free: 8.406 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01538/0.2629, allocations: 8.852 MB / 355.9 MB, free: 14.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001143/0.263, allocations: 192 / 355.9 MB, free: 14.77 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006891/0.2637, allocations: 310.2 kB / 356.2 MB, free: 14.47 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003058/0.264, allocations: 359 kB / 356.6 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008885/0.2729, allocations: 2.934 MB / 359.5 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04327/0.3161, allocations: 24.93 MB / 384.5 MB, free: 1.871 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004277/0.3204, allocations: 4.453 MB / 388.9 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005342/0.3258, allocations: 4.34 MB / 393.3 MB, free: 8.812 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002158/0.326, allocations: 109.1 kB / 393.4 MB, free: 8.703 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001068/0.3261, allocations: 131.5 kB / 393.5 MB, free: 8.559 MB / 346.7 MB Notification: Performance of pre-optimization done (n=654): time 8.365e-06/0.3261, allocations: 4 kB / 393.5 MB, free: 8.555 MB / 346.7 MB Notification: Performance of matching and sorting (n=654): time 0.008056/0.3342, allocations: 4.668 MB / 398.2 MB, free: 3.812 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.723e-05/0.3342, allocations: 167.9 kB / 398.3 MB, free: 3.621 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00496/0.3392, allocations: 4.002 MB / 402.3 MB, free: 15.63 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004842/0.3397, allocations: 169.7 kB / 402.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001881/0.3416, allocations: 3.322 MB / 405.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001752/0.3433, allocations: 2.608 MB / 408.4 MB, free: 9.488 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001431/0.3447, allocations: 1.356 MB / 409.8 MB, free: 8.121 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.821e-05/0.3448, allocations: 480.8 kB / 410.2 MB, free: 7.648 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001982/0.3468, allocations: 1.064 MB / 411.3 MB, free: 6.582 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002513/0.3493, allocations: 1.879 MB / 413.2 MB, free: 4.664 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004464/0.3538, allocations: 3.205 MB / 416.4 MB, free: 1.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.479e-05/0.3538, allocations: 0 / 416.4 MB, free: 1.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=893) (initialization): time 0.007155/0.361, allocations: 4.492 MB / 420.9 MB, free: 12.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.255e-05/0.361, allocations: 8.625 kB / 420.9 MB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.361, allocations: 0 / 420.9 MB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003003/0.3613, allocations: 86.53 kB / 421 MB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004104/0.3654, allocations: 2.104 MB / 423.1 MB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001108/0.3665, allocations: 1.843 MB / 424.9 MB, free: 8.723 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003295/0.3698, allocations: 0.8155 MB / 425.7 MB, free: 7.906 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003668/0.3702, allocations: 200.8 kB / 425.9 MB, free: 7.711 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.002287/0.3725, allocations: 0.4915 MB / 426.4 MB, free: 7.207 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001531/0.374, allocations: 0.7662 MB / 427.2 MB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007515/0.3748, allocations: 0.7051 MB / 427.9 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-05/0.3748, allocations: 64 kB / 428 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.88e-05/0.3748, allocations: 0 / 428 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.824e-05/0.3749, allocations: 31.88 kB / 428 MB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2458/0.6207, allocations: 12.97 MB / 441 MB, free: 111 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.378e-05/0.6207, allocations: 26 kB / 441 MB, free: 111 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004993/0.6257, allocations: 1.883 MB / 442.9 MB, free: 110.9 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003548/0.626, allocations: 81.97 kB / 442.9 MB, free: 110.9 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009636/0.627, allocations: 228.2 kB / 443.2 MB, free: 110.9 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009543/0.628, allocations: 1.787 MB / 445 MB, free: 109.2 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.459e-05/0.628, allocations: 42.56 kB / 445 MB, free: 109.2 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009314/0.6373, allocations: 7.069 MB / 452.1 MB, free: 106.4 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001648/0.6389, allocations: 0.7936 MB / 452.9 MB, free: 106.4 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005816/0.6395, allocations: 219.9 kB / 453.1 MB, free: 106.4 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002768/0.6423, allocations: 0.9122 MB / 454 MB, free: 106.3 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004382/0.6427, allocations: 480.7 kB / 454.5 MB, free: 106.2 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002669/0.643, allocations: 218.8 kB / 454.7 MB, free: 106.2 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.002504/0.6455, allocations: 2.225 MB / 456.9 MB, free: 105.6 MB / 378.8 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6455, allocations: 0 / 456.9 MB, free: 105.6 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.004464/0.65, allocations: 2.37 MB / 459.3 MB, free: 105.2 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.0007439/0.6507, allocations: 467.7 kB / 459.7 MB, free: 104.9 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.005132/0.6558, allocations: 3.95 MB / 463.7 MB, free: 102 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 2.546e-05/0.6559, allocations: 15.8 kB / 463.7 MB, free: 102 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002461/0.6583, allocations: 2.176 MB / 465.9 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.004662/0.663, allocations: 1.19 MB / 467.1 MB, free: 99.05 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04056/0.7036, allocations: 30.58 MB / 497.6 MB, free: 70.05 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00205/0.7056, allocations: 2.135 MB / 499.8 MB, free: 67.89 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.004315/0.7099, allocations: 2.1 MB / 0.4901 GB, free: 65.79 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001166/0.7111, allocations: 416.5 kB / 0.4905 GB, free: 65.38 MB / 378.8 MB Notification: Performance of SimCode: time 2.234e-06/0.7111, allocations: 0 / 0.4905 GB, free: 65.38 MB / 378.8 MB Notification: Performance of Templates: time 0.1978/0.9089, allocations: 80.12 MB / 0.5688 GB, free: 126.4 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.573859675787389]