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.001254/0.001254, allocations: 88.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.001491/0.001491, allocations: 164.4 kB / 24.91 MB, free: 8.719 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.01/1.01, allocations: 177 MB / 205.2 MB, free: 5.055 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.353e-06/1.353e-06, allocations: 0 / 273.5 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.102e-05/2.237e-05, allocations: 2.312 kB / 273.5 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.SmoothStep): time 0.004783/0.004806, allocations: 5.442 MB / 278.9 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003119/0.007925, allocations: 1.472 MB / 280.4 MB, free: 10.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005881/0.008513, allocations: 23.88 kB / 280.4 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005144/0.009027, allocations: 199.4 kB / 280.6 MB, free: 9.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009039/0.009931, allocations: 420.9 kB / 281 MB, free: 9.406 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005728/0.0105, allocations: 315.5 kB / 281.3 MB, free: 9.098 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1348/0.1453, allocations: 14.27 MB / 295.6 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005083/0.1504, allocations: 2.747 MB / 298.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01374/0.1642, allocations: 7.136 MB / 305.5 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01055/0.1747, allocations: 9.93 MB / 315.4 MB, free: 4.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003729/0.1784, allocations: 1.175 MB / 316.6 MB, free: 4.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004431/0.1829, allocations: 1.182 MB / 317.8 MB, free: 4.438 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003673/0.1865, allocations: 2.87 MB / 320.6 MB, free: 1.719 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007096/0.1936, allocations: 3.846 MB / 324.5 MB, free: 14.03 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01104/0.2047, allocations: 9.359 MB / 333.8 MB, free: 5.066 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.2047, allocations: 0 / 333.8 MB, free: 5.066 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2047, allocations: 0.625 kB / 333.8 MB, free: 5.066 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.000438/0.2051, allocations: 0 / 333.8 MB, free: 5.066 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.01622/0.2213, allocations: 9.288 MB / 343.1 MB, free: 12.2 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.517e-05/0.2214, allocations: 11.98 kB / 343.1 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002365/0.2238, allocations: 1.223 MB / 344.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004665/0.2284, allocations: 2.439 MB / 346.8 MB, free: 8.719 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003051/0.2287, allocations: 0.5454 MB / 347.3 MB, free: 8.176 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001223/0.23, allocations: 0.8161 MB / 348.2 MB, free: 7.367 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01011/0.2401, allocations: 8.513 MB / 356.7 MB, free: 14.15 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001049/0.2402, allocations: 192 / 356.7 MB, free: 14.15 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005942/0.2408, allocations: 312.5 kB / 357 MB, free: 13.85 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002538/0.241, allocations: 359 kB / 357.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004843/0.2459, allocations: 1.86 MB / 359.2 MB, free: 11.63 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03365/0.2795, allocations: 17.5 MB / 376.7 MB, free: 9.852 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003092/0.2826, allocations: 3.686 MB / 380.4 MB, free: 6.148 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004435/0.287, allocations: 3.733 MB / 384.1 MB, free: 2.18 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002118/0.2873, allocations: 109.1 kB / 384.2 MB, free: 2.07 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001142/0.2874, allocations: 132.7 kB / 384.3 MB, free: 1.93 MB / 330.7 MB Notification: Performance of pre-optimization done (n=654): time 1.058e-05/0.2874, allocations: 2.906 kB / 384.4 MB, free: 1.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=654): time 0.005554/0.2929, allocations: 3.103 MB / 387.5 MB, free: 14.77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002613/0.2932, allocations: 171.9 kB / 387.6 MB, free: 14.58 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003897/0.2971, allocations: 2.844 MB / 390.5 MB, free: 11.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007603/0.2979, allocations: 173.7 kB / 390.6 MB, free: 11.58 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001262/0.2991, allocations: 2.354 MB / 393 MB, free: 9.199 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00185/0.301, allocations: 2.405 MB / 395.4 MB, free: 6.773 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001273/0.3022, allocations: 1.081 MB / 396.5 MB, free: 5.684 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.503e-05/0.3023, allocations: 301.1 kB / 396.8 MB, free: 5.387 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000998/0.3033, allocations: 0.6813 MB / 397.5 MB, free: 4.703 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001277/0.3046, allocations: 1.251 MB / 398.7 MB, free: 3.422 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002547/0.3071, allocations: 2.393 MB / 401.1 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.225e-05/0.3071, allocations: 4 kB / 401.1 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of matching and sorting (n=893) (initialization): time 0.004751/0.3119, allocations: 2.927 MB / 404 MB, free: 14.03 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.936e-05/0.3119, allocations: 8 kB / 404 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/0.3119, allocations: 0 / 404 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002763/0.3122, allocations: 80.91 kB / 404.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006146/0.3184, allocations: 2.663 MB / 406.8 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008592/0.3192, allocations: 1.259 MB / 408 MB, free: 9.969 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004226/0.3234, allocations: 0.5232 MB / 408.6 MB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000647/0.3241, allocations: 140 kB / 408.7 MB, free: 9.305 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.002389/0.3265, allocations: 471.2 kB / 409.2 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001307/0.3278, allocations: 0.5931 MB / 409.8 MB, free: 8.238 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007387/0.3285, allocations: 0.709 MB / 410.5 MB, free: 7.523 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.214e-05/0.3286, allocations: 62.75 kB / 410.5 MB, free: 7.465 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.279e-05/0.3286, allocations: 4 kB / 410.5 MB, free: 7.461 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-05/0.3286, allocations: 31.88 kB / 410.6 MB, free: 7.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01335/0.342, allocations: 8.137 MB / 418.7 MB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-05/0.342, allocations: 25 kB / 418.7 MB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005274/0.3473, allocations: 2.503 MB / 421.2 MB, free: 12.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001654/0.3474, allocations: 80.81 kB / 421.3 MB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004014/0.3478, allocations: 223.9 kB / 421.5 MB, free: 12.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000642/0.3485, allocations: 1.217 MB / 422.7 MB, free: 10.72 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-05/0.3485, allocations: 39.81 kB / 422.8 MB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006167/0.3547, allocations: 5.36 MB / 428.1 MB, free: 4.504 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002028/0.3567, allocations: 0.5851 MB / 428.7 MB, free: 3.914 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001048/0.3577, allocations: 223.9 kB / 428.9 MB, free: 3.695 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00319/0.3609, allocations: 0.5308 MB / 429.5 MB, free: 3.164 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007759/0.3617, allocations: 466.8 kB / 429.9 MB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004199/0.3621, allocations: 168 kB / 430.1 MB, free: 2.539 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002049/0.3642, allocations: 1.496 MB / 431.6 MB, free: 1.062 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3642, allocations: 0 / 431.6 MB, free: 1.062 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.2304/0.5946, allocations: 2.365 MB / 433.9 MB, free: 112.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.001506/0.5961, allocations: 447.5 kB / 434.4 MB, free: 112.1 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.005983/0.6021, allocations: 2.97 MB / 437.4 MB, free: 111.7 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001294/0.6022, allocations: 56.39 kB / 437.4 MB, free: 111.7 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00279/0.605, allocations: 1.697 MB / 439.1 MB, free: 111.4 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006803/0.6118, allocations: 1.508 MB / 440.6 MB, free: 111 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06422/0.676, allocations: 17.39 MB / 458 MB, free: 103.5 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00761/0.6836, allocations: 1.716 MB / 459.7 MB, free: 103.3 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.009408/0.693, allocations: 0.7637 MB / 460.5 MB, free: 103.1 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003081/0.6961, allocations: 1.605 MB / 462.1 MB, free: 103 MB / 378.8 MB Notification: Performance of SimCode: time 2.014e-06/0.6961, allocations: 0 / 462.1 MB, free: 103 MB / 378.8 MB Notification: Performance of Templates: time 0.09251/0.7886, allocations: 91.15 MB / 0.5403 GB, free: 15.09 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 -s gbode -gbm=radauIIA3 -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.411552935838699]