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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001425/0.001425, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 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.001578/0.001578, allocations: 213.7 kB / 24.5 MB, free: 4.148 MB / 14.72 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.339/1.339, allocations: 230.5 MB / 258.1 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2077/0.2077, allocations: 46.93 MB / 361.5 MB, free: 4.199 MB / 286.1 MB " [Timeout remaining time 180] 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=5006,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v|mass6.s|mass6.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Translational.TestBraking") translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v|mass6.s|mass6.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Translational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002261/0.002261, allocations: 79.86 kB / 0.4974 GB, free: 7.309 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2734, allocations: 66.09 MB / 0.5619 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004277/0.2777, allocations: 3.178 MB / 0.565 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001714/0.2794, allocations: 1.091 MB / 0.5661 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.2795, allocations: 7.938 kB / 0.5661 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001787/0.2797, allocations: 63.31 kB / 0.5662 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002124/0.2799, allocations: 130.9 kB / 0.5663 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004866/0.2804, allocations: 183.5 kB / 0.5665 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004762/0.2809, allocations: 461.9 kB / 0.5669 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001796/0.2811, allocations: 83.92 kB / 0.567 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.2812, allocations: 175.3 kB / 0.5672 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002363/0.2815, allocations: 187.2 kB / 0.5673 GB, free: 14.67 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.812e-05/0.2815, allocations: 32 kB / 0.5674 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.2817, allocations: 55.97 kB / 0.5674 GB, free: 14.58 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.605e-05/0.2817, allocations: 75.7 kB / 0.5675 GB, free: 14.51 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001728/0.2819, allocations: 199 kB / 0.5677 GB, free: 14.31 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004924/0.2824, allocations: 452.5 kB / 0.5681 GB, free: 13.88 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2824, allocations: 0 / 0.5681 GB, free: 13.88 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2824, allocations: 4 kB / 0.5681 GB, free: 13.87 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.2824, allocations: 0 / 0.5681 GB, free: 13.87 MB / 414.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.001105/0.2835, allocations: 0.6299 MB / 0.5687 GB, free: 13.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.2835, allocations: 8.031 kB / 0.5687 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002765/0.2838, allocations: 64.64 kB / 0.5688 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003938/0.2842, allocations: 244.8 kB / 0.569 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.963e-05/0.2842, allocations: 29.38 kB / 0.5691 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.503e-05/0.2843, allocations: 40.38 kB / 0.5691 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000569/0.2849, allocations: 363.5 kB / 0.5695 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/0.2849, allocations: 3.953 kB / 0.5695 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.096e-05/0.2849, allocations: 16 kB / 0.5695 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.2849, allocations: 12 kB / 0.5695 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004562/0.2854, allocations: 255.7 kB / 0.5697 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002008/0.2874, allocations: 1.475 MB / 0.5712 GB, free: 10.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006719/0.2881, allocations: 399.3 kB / 0.5715 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002177/0.2883, allocations: 129.1 kB / 0.5717 GB, free: 9.977 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.2883, allocations: 4.625 kB / 0.5717 GB, free: 9.973 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.2884, allocations: 46.48 kB / 0.5717 GB, free: 9.918 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 1.443e-06/0.2884, allocations: 0 / 0.5717 GB, free: 9.918 MB / 414.1 MB Notification: Performance of matching and sorting (n=48): time 0.002802/0.2912, allocations: 1.539 MB / 0.5732 GB, free: 8.234 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.2913, allocations: 187.9 kB / 0.5734 GB, free: 8.008 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002439/0.2915, allocations: 252.2 kB / 0.5736 GB, free: 7.754 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/0.2915, allocations: 37.7 kB / 0.5737 GB, free: 7.711 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.2917, allocations: 204.6 kB / 0.5739 GB, free: 7.508 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/0.2918, allocations: 190.4 kB / 0.5741 GB, free: 7.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.2919, allocations: 102.3 kB / 0.5742 GB, free: 7.215 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.2921, allocations: 346.8 kB / 0.5745 GB, free: 6.867 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/0.2923, allocations: 113.3 kB / 0.5746 GB, free: 6.754 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003549/0.2927, allocations: 305.2 kB / 0.5749 GB, free: 6.383 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006102/0.2933, allocations: 461.7 kB / 0.5753 GB, free: 5.855 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.2933, allocations: 4 kB / 0.5753 GB, free: 5.852 MB / 414.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007539/0.294, allocations: 488.8 kB / 0.5758 GB, free: 5.367 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.2941, allocations: 10.19 kB / 0.5758 GB, free: 5.359 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.2941, allocations: 4.312 kB / 0.5758 GB, free: 5.355 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.2941, allocations: 12 kB / 0.5758 GB, free: 5.344 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004642/0.2945, allocations: 147.8 kB / 0.576 GB, free: 5.199 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/0.2946, allocations: 12.38 kB / 0.576 GB, free: 5.188 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002197/0.2948, allocations: 35.88 kB / 0.576 GB, free: 5.152 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.498e-05/0.2948, allocations: 27.98 kB / 0.576 GB, free: 5.125 MB / 414.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.0001609/0.295, allocations: 165.6 kB / 0.5762 GB, free: 4.953 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.2951, allocations: 47.7 kB / 0.5762 GB, free: 4.906 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002312/0.2953, allocations: 127.3 kB / 0.5764 GB, free: 4.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.2954, allocations: 4.094 kB / 0.5764 GB, free: 4.766 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.2954, allocations: 11.88 kB / 0.5764 GB, free: 4.754 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.2954, allocations: 3.984 kB / 0.5764 GB, free: 4.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001808/0.2972, allocations: 1.213 MB / 0.5776 GB, free: 3.453 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.2972, allocations: 4 kB / 0.5776 GB, free: 3.449 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004996/0.2977, allocations: 115.9 kB / 0.5777 GB, free: 3.336 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/0.2977, allocations: 8 kB / 0.5777 GB, free: 3.328 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.422e-05/0.2977, allocations: 16 kB / 0.5777 GB, free: 3.312 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.265e-06/0.2977, allocations: 12.25 kB / 0.5777 GB, free: 3.301 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.2977, allocations: 4.281 kB / 0.5777 GB, free: 3.297 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.2988, allocations: 1.013 MB / 0.5787 GB, free: 2.227 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.323e-05/0.2988, allocations: 35.78 kB / 0.5787 GB, free: 2.191 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.916e-05/0.2989, allocations: 16 kB / 0.5787 GB, free: 2.176 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003532/0.2992, allocations: 12.19 kB / 0.5788 GB, free: 2.164 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.015e-05/0.2993, allocations: 47.81 kB / 0.5788 GB, free: 2.117 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.782e-05/0.2993, allocations: 23.98 kB / 0.5788 GB, free: 2.094 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001557/0.2995, allocations: 175.1 kB / 0.579 GB, free: 1.926 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2995, allocations: 0 / 0.579 GB, free: 1.926 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005875/0.3001, allocations: 100 kB / 0.5791 GB, free: 1.828 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.0001178/0.3002, allocations: 115.1 kB / 0.5792 GB, free: 1.707 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006084/0.3008, allocations: 331 kB / 0.5795 GB, free: 1.383 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3008, allocations: 0 / 0.5795 GB, free: 1.383 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002762/0.3011, allocations: 167.6 kB / 0.5797 GB, free: 1.219 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009106/0.302, allocations: 94.12 kB / 0.5798 GB, free: 1.133 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0022/0.3042, allocations: 1.52 MB / 0.5813 GB, free: 15.53 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004365/0.3046, allocations: 0.808 MB / 0.582 GB, free: 14.69 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.3047, allocations: 35.44 kB / 0.5821 GB, free: 14.66 MB / 430.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3047, allocations: 3.938 kB / 0.5821 GB, free: 14.65 MB / 430.1 MB Notification: Performance of Templates: time 0.006968/0.3117, allocations: 4.807 MB / 0.5868 GB, free: 9.852 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.981607927940786]