Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 206.6 kB / 24.47 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.447/1.447, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.234/0.234, allocations: 46.97 MB / 361.6 MB, free: 4.031 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Translational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 71.89 kB / 0.4973 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.3077, allocations: 66.04 MB / 0.5618 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004474/0.3122, allocations: 2.917 MB / 0.5646 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001969/0.3142, allocations: 1.013 MB / 0.5656 GB, free: 228 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001674/0.3143, allocations: 11.88 kB / 0.5656 GB, free: 216 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001937/0.3145, allocations: 63.38 kB / 0.5657 GB, free: 152 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002581/0.3148, allocations: 130.9 kB / 0.5658 GB, free: 20 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005589/0.3154, allocations: 179.5 kB / 0.566 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004923/0.3158, allocations: 457.9 kB / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000202/0.3161, allocations: 83.98 kB / 0.5665 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002049/0.3163, allocations: 179.3 kB / 0.5667 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002497/0.3165, allocations: 183.2 kB / 0.5669 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.629e-05/0.3166, allocations: 32 kB / 0.5669 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001418/0.3167, allocations: 59.98 kB / 0.5669 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.633e-05/0.3168, allocations: 79.69 kB / 0.567 GB, free: 14.78 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001731/0.317, allocations: 163.2 kB / 0.5672 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005407/0.3175, allocations: 452.5 kB / 0.5676 GB, free: 14.18 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3175, allocations: 0 / 0.5676 GB, free: 14.18 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.3175, allocations: 0 / 0.5676 GB, free: 14.18 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.3175, allocations: 0 / 0.5676 GB, free: 14.18 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.00129/0.3188, allocations: 0.6377 MB / 0.5682 GB, free: 13.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.3188, allocations: 8.031 kB / 0.5682 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003279/0.3192, allocations: 64.64 kB / 0.5683 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004518/0.3196, allocations: 244.8 kB / 0.5685 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.27e-05/0.3197, allocations: 29.38 kB / 0.5686 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.389e-05/0.3197, allocations: 40.31 kB / 0.5686 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006439/0.3204, allocations: 363.5 kB / 0.5689 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.891e-05/0.3204, allocations: 11.95 kB / 0.569 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.509e-05/0.3204, allocations: 12 kB / 0.569 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.3205, allocations: 8 kB / 0.569 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005285/0.321, allocations: 255.7 kB / 0.5692 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00217/0.3232, allocations: 1.355 MB / 0.5705 GB, free: 11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007798/0.3239, allocations: 395.8 kB / 0.5709 GB, free: 10.56 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002329/0.3242, allocations: 129.1 kB / 0.571 GB, free: 10.42 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.189e-05/0.3242, allocations: 8 kB / 0.5711 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.3242, allocations: 46.5 kB / 0.5711 GB, free: 10.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 2.014e-06/0.3242, allocations: 0 / 0.5711 GB, free: 10.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=48): time 0.004014/0.3282, allocations: 1.527 MB / 0.5726 GB, free: 8.684 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001563/0.3284, allocations: 199.8 kB / 0.5728 GB, free: 8.445 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003532/0.3288, allocations: 253.7 kB / 0.573 GB, free: 8.188 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.61e-05/0.3288, allocations: 37.7 kB / 0.5731 GB, free: 8.145 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.329, allocations: 196.7 kB / 0.5732 GB, free: 7.945 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002047/0.3292, allocations: 186.4 kB / 0.5734 GB, free: 7.762 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002005/0.3294, allocations: 102.3 kB / 0.5735 GB, free: 7.656 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002285/0.3296, allocations: 350.7 kB / 0.5739 GB, free: 7.305 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003657/0.33, allocations: 117.2 kB / 0.574 GB, free: 7.191 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005744/0.3306, allocations: 292 kB / 0.5742 GB, free: 6.828 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007485/0.3313, allocations: 466.2 kB / 0.5747 GB, free: 6.297 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.3313, allocations: 0 / 0.5747 GB, free: 6.297 MB / 414.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009066/0.3322, allocations: 492.7 kB / 0.5752 GB, free: 5.809 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.3323, allocations: 12.38 kB / 0.5752 GB, free: 5.797 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.3323, allocations: 8 kB / 0.5752 GB, free: 5.789 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.611e-05/0.3323, allocations: 12 kB / 0.5752 GB, free: 5.777 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005484/0.3328, allocations: 143.7 kB / 0.5753 GB, free: 5.637 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.602e-05/0.3329, allocations: 8 kB / 0.5753 GB, free: 5.629 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002515/0.3331, allocations: 27.88 kB / 0.5754 GB, free: 5.602 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.162e-05/0.3331, allocations: 24 kB / 0.5754 GB, free: 5.578 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.0002007/0.3333, allocations: 177.6 kB / 0.5756 GB, free: 5.395 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/0.3335, allocations: 35.77 kB / 0.5756 GB, free: 5.359 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002627/0.3338, allocations: 127.3 kB / 0.5757 GB, free: 5.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.3338, allocations: 8.281 kB / 0.5757 GB, free: 5.223 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/0.3338, allocations: 4 kB / 0.5757 GB, free: 5.219 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.3338, allocations: 3.938 kB / 0.5757 GB, free: 5.215 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001958/0.3357, allocations: 1.144 MB / 0.5768 GB, free: 4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.3357, allocations: 4 kB / 0.5768 GB, free: 3.996 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000578/0.3363, allocations: 111.9 kB / 0.577 GB, free: 3.887 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.3363, allocations: 4 kB / 0.577 GB, free: 3.883 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.892e-05/0.3364, allocations: 19.98 kB / 0.577 GB, free: 3.863 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.799e-06/0.3364, allocations: 11.94 kB / 0.577 GB, free: 3.852 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.3364, allocations: 4 kB / 0.577 GB, free: 3.848 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/0.3376, allocations: 1.005 MB / 0.578 GB, free: 2.781 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.857e-05/0.3376, allocations: 35.84 kB / 0.578 GB, free: 2.746 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.674e-05/0.3377, allocations: 19.92 kB / 0.578 GB, free: 2.727 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004107/0.3381, allocations: 16 kB / 0.578 GB, free: 2.711 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.95e-05/0.3382, allocations: 39.88 kB / 0.5781 GB, free: 2.672 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.758e-05/0.3382, allocations: 16 kB / 0.5781 GB, free: 2.656 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000166/0.3384, allocations: 173.2 kB / 0.5783 GB, free: 2.488 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3384, allocations: 0 / 0.5783 GB, free: 2.488 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006624/0.3391, allocations: 96 kB / 0.5784 GB, free: 2.395 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.0001429/0.3392, allocations: 123.1 kB / 0.5785 GB, free: 2.262 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006547/0.3399, allocations: 334.5 kB / 0.5788 GB, free: 1.934 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3399, allocations: 0 / 0.5788 GB, free: 1.934 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002967/0.3402, allocations: 169.2 kB / 0.579 GB, free: 1.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.3412, allocations: 92.83 kB / 0.579 GB, free: 1.688 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002463/0.3436, allocations: 1.478 MB / 0.5805 GB, free: 140 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.3439, allocations: 204.5 kB / 0.5807 GB, free: 15.91 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002051/0.3441, allocations: 47.3 kB / 0.5807 GB, free: 15.86 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.3442, allocations: 35.42 kB / 0.5808 GB, free: 15.82 MB / 430.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3442, allocations: 0 / 0.5808 GB, free: 15.82 MB / 430.1 MB Notification: Performance of Templates: time 0.009865/0.3541, allocations: 4.457 MB / 0.5851 GB, free: 11.45 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 5.128063101990847]