Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Translational.TestBraking") translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Translational.TestBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001191/0.001191, allocations: 117.7 kB / 18.46 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001246/0.001246, allocations: 204.8 kB / 19.4 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.238/1.238, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1898/0.1898, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 71.88 kB / 481.9 MB, free: 4.105 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2771, allocations: 62.44 MB / 0.5316 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003931/0.2811, allocations: 3.155 MB / 0.5347 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001757/0.2829, allocations: 1.072 MB / 0.5357 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002019/0.2831, allocations: 10.81 kB / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001898/0.2833, allocations: 66.19 kB / 0.5358 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002295/0.2836, allocations: 130 kB / 0.5359 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005268/0.2841, allocations: 183.1 kB / 0.5361 GB, free: 9.934 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000426/0.2845, allocations: 465.8 kB / 0.5366 GB, free: 9.656 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002047/0.2847, allocations: 121.8 kB / 0.5367 GB, free: 9.582 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001887/0.2849, allocations: 167.4 kB / 0.5368 GB, free: 9.492 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002105/0.2851, allocations: 186.2 kB / 0.537 GB, free: 9.367 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.833e-05/0.2852, allocations: 35.38 kB / 0.5371 GB, free: 9.363 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.2853, allocations: 55.73 kB / 0.5371 GB, free: 9.352 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.059e-05/0.2854, allocations: 72.17 kB / 0.5372 GB, free: 9.293 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00017/0.2856, allocations: 202.9 kB / 0.5374 GB, free: 9.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004433/0.286, allocations: 443.2 kB / 0.5378 GB, free: 8.859 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2861, allocations: 0 / 0.5378 GB, free: 8.859 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2861, allocations: 0 / 0.5378 GB, free: 8.859 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.2861, allocations: 0 / 0.5378 GB, free: 8.859 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.0011/0.2872, allocations: 0.7009 MB / 0.5385 GB, free: 8.254 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.2872, allocations: 8.906 kB / 0.5385 GB, free: 8.254 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002901/0.2875, allocations: 64.95 kB / 0.5385 GB, free: 8.227 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004127/0.288, allocations: 302.8 kB / 0.5388 GB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.736e-05/0.288, allocations: 27.56 kB / 0.5389 GB, free: 7.918 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.847e-05/0.2881, allocations: 40.84 kB / 0.5389 GB, free: 7.902 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005803/0.2887, allocations: 362.9 kB / 0.5392 GB, free: 7.652 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/0.2887, allocations: 11.22 kB / 0.5393 GB, free: 7.645 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.986e-05/0.2887, allocations: 11.19 kB / 0.5393 GB, free: 7.637 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.2887, allocations: 8.75 kB / 0.5393 GB, free: 7.637 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000472/0.2892, allocations: 250 kB / 0.5395 GB, free: 7.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001957/0.2912, allocations: 1.514 MB / 0.541 GB, free: 6.168 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006877/0.2919, allocations: 414.2 kB / 0.5414 GB, free: 5.887 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002871/0.2922, allocations: 141.9 kB / 0.5415 GB, free: 5.785 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.091e-05/0.2922, allocations: 8.203 kB / 0.5415 GB, free: 5.781 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.2923, allocations: 46.91 kB / 0.5416 GB, free: 5.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=43): time 1.904e-06/0.2923, allocations: 0 / 0.5416 GB, free: 5.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=48): time 0.003164/0.2954, allocations: 1.968 MB / 0.5435 GB, free: 3.977 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.906e-05/0.2956, allocations: 194 kB / 0.5437 GB, free: 3.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002579/0.2958, allocations: 252 kB / 0.5439 GB, free: 3.574 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/0.2959, allocations: 31.17 kB / 0.544 GB, free: 3.539 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.296, allocations: 205.4 kB / 0.5441 GB, free: 3.352 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000152/0.2962, allocations: 178.7 kB / 0.5443 GB, free: 3.195 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.2963, allocations: 100.5 kB / 0.5444 GB, free: 3.129 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.2965, allocations: 346 kB / 0.5447 GB, free: 2.789 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00024/0.2967, allocations: 118.2 kB / 0.5449 GB, free: 2.734 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003192/0.2971, allocations: 302 kB / 0.5451 GB, free: 2.449 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000564/0.2976, allocations: 457.6 kB / 0.5456 GB, free: 2.082 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.2976, allocations: 2.219 kB / 0.5456 GB, free: 2.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008496/0.2985, allocations: 0.4899 MB / 0.5461 GB, free: 1.828 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.2985, allocations: 7.406 kB / 0.5461 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.2985, allocations: 5.531 kB / 0.5461 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.476e-05/0.2986, allocations: 9.125 kB / 0.5461 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004711/0.299, allocations: 137.6 kB / 0.5462 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.216e-05/0.2991, allocations: 20.83 kB / 0.5462 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002593/0.2993, allocations: 22.06 kB / 0.5463 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.378e-05/0.2994, allocations: 26.5 kB / 0.5463 GB, free: 1.77 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001645/0.2996, allocations: 165.5 kB / 0.5464 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.2997, allocations: 43.22 kB / 0.5465 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002438/0.3, allocations: 129.3 kB / 0.5466 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.854e-06/0.3, allocations: 6.562 kB / 0.5466 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/0.3, allocations: 6.094 kB / 0.5466 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.3, allocations: 5.172 kB / 0.5466 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/0.3019, allocations: 1.247 MB / 0.5478 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.3019, allocations: 4 kB / 0.5478 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004956/0.3024, allocations: 123.8 kB / 0.548 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.3024, allocations: 4 kB / 0.548 GB, free: 112 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.053e-05/0.3025, allocations: 16 kB / 0.548 GB, free: 96 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.3025, allocations: 4 kB / 0.548 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.3025, allocations: 4.188 kB / 0.548 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.3035, allocations: 1.017 MB / 0.549 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.246e-05/0.3036, allocations: 116.7 kB / 0.5491 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.481e-05/0.3037, allocations: 12 kB / 0.5491 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003688/0.304, allocations: 16 kB / 0.5491 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.169e-05/0.3041, allocations: 43.83 kB / 0.5492 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-05/0.3042, allocations: 16 kB / 0.5492 GB, free: 14.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001418/0.3043, allocations: 182 kB / 0.5493 GB, free: 14.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3043, allocations: 0 / 0.5493 GB, free: 14.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006281/0.3049, allocations: 100 kB / 0.5494 GB, free: 14.52 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 13 (mass5.s,mass5.v,heatCapacitor.T,mass6.s,mass6.v,mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.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 (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001086/0.3051, allocations: 111.2 kB / 0.5495 GB, free: 14.4 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005959/0.3057, allocations: 355.4 kB / 0.5499 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3057, allocations: 0.875 kB / 0.5499 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003009/0.306, allocations: 171.8 kB / 0.5501 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009048/0.3069, allocations: 89.89 kB / 0.5501 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002078/0.309, allocations: 1.488 MB / 0.5516 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/0.3094, allocations: 0.8195 MB / 0.5524 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.3095, allocations: 43.38 kB / 0.5524 GB, free: 11.34 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3095, allocations: 0 / 0.5524 GB, free: 11.34 MB / 414.1 MB Notification: Performance of Templates: time 0.006444/0.3159, allocations: 4.786 MB / 0.5571 GB, free: 6.566 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_trunk_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches