Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001723/0.001723, allocations: 103.6 kB / 21.19 MB, free: 0.6562 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.002113/0.002113, allocations: 207.6 kB / 24.48 MB, free: 3.957 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.5/1.5, allocations: 230.6 MB / 258.2 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2267/0.2267, allocations: 44.94 MB / 359.6 MB, free: 6.09 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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=5002,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking") translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002181/0.002181, allocations: 62.88 kB / 0.4942 GB, free: 10.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3521, allocations: 65.48 MB / 0.5582 GB, free: 7.617 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004344/0.3564, allocations: 2.68 MB / 0.5608 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.3582, allocations: 0.9543 MB / 0.5617 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001443/0.3583, allocations: 11.88 kB / 0.5617 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001755/0.3585, allocations: 55.45 kB / 0.5618 GB, free: 3.895 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002011/0.3587, allocations: 111 kB / 0.5619 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004886/0.3592, allocations: 159.5 kB / 0.562 GB, free: 3.629 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004417/0.3597, allocations: 386.2 kB / 0.5624 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001977/0.3599, allocations: 57.33 kB / 0.5625 GB, free: 3.188 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001987/0.3601, allocations: 151.5 kB / 0.5626 GB, free: 3.039 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.3603, allocations: 135.2 kB / 0.5627 GB, free: 2.906 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.664e-05/0.3603, allocations: 32 kB / 0.5628 GB, free: 2.875 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001299/0.3604, allocations: 47.98 kB / 0.5628 GB, free: 2.828 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.52e-05/0.3605, allocations: 67.77 kB / 0.5629 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001484/0.3607, allocations: 139.3 kB / 0.563 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004655/0.3611, allocations: 389.1 kB / 0.5634 GB, free: 2.246 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3611, allocations: 0 / 0.5634 GB, free: 2.246 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3611, allocations: 0 / 0.5634 GB, free: 2.246 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.3611, allocations: 0 / 0.5634 GB, free: 2.246 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.00101/0.3621, allocations: 0.5597 MB / 0.5639 GB, free: 1.656 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.3622, allocations: 8.031 kB / 0.5639 GB, free: 1.648 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002785/0.3625, allocations: 64.62 kB / 0.564 GB, free: 1.586 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003897/0.3628, allocations: 218.9 kB / 0.5642 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.88e-05/0.3629, allocations: 25.03 kB / 0.5642 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.144e-05/0.3629, allocations: 36.33 kB / 0.5643 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004908/0.3634, allocations: 298.3 kB / 0.5646 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.924e-05/0.3635, allocations: 7.938 kB / 0.5646 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.773e-05/0.3635, allocations: 12 kB / 0.5646 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.3635, allocations: 8 kB / 0.5646 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003574/0.3639, allocations: 199.8 kB / 0.5648 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002038/0.3659, allocations: 1.157 MB / 0.5659 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005608/0.3665, allocations: 316.8 kB / 0.5662 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.3666, allocations: 104.2 kB / 0.5663 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.3666, allocations: 8.469 kB / 0.5663 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/0.3667, allocations: 42.48 kB / 0.5663 GB, free: 14.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=36): time 1.874e-06/0.3667, allocations: 4 kB / 0.5664 GB, free: 14.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.002463/0.3692, allocations: 1.226 MB / 0.5675 GB, free: 13.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.3693, allocations: 174.1 kB / 0.5677 GB, free: 13.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/0.3695, allocations: 212.9 kB / 0.5679 GB, free: 13.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.382e-05/0.3695, allocations: 37.7 kB / 0.568 GB, free: 13.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.3697, allocations: 180.5 kB / 0.5681 GB, free: 12.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/0.3698, allocations: 162.6 kB / 0.5683 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.3699, allocations: 82.2 kB / 0.5684 GB, free: 12.74 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.3701, allocations: 342.8 kB / 0.5687 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.3702, allocations: 96.95 kB / 0.5688 GB, free: 12.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003757/0.3706, allocations: 242.9 kB / 0.569 GB, free: 12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005262/0.3711, allocations: 387.1 kB / 0.5694 GB, free: 11.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.3712, allocations: 4 kB / 0.5694 GB, free: 11.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006288/0.3718, allocations: 400.9 kB / 0.5698 GB, free: 11.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.3718, allocations: 8.375 kB / 0.5698 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.3718, allocations: 8 kB / 0.5698 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.3718, allocations: 8 kB / 0.5698 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004253/0.3723, allocations: 119.8 kB / 0.5699 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/0.3723, allocations: 11.94 kB / 0.5699 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.3724, allocations: 19.95 kB / 0.5699 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.219e-05/0.3725, allocations: 20 kB / 0.57 GB, free: 10.96 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (62): * Single equations (assignments): 62 * 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.0001665/0.3726, allocations: 157.7 kB / 0.5701 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.3728, allocations: 35.8 kB / 0.5701 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002381/0.373, allocations: 119.3 kB / 0.5703 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.373, allocations: 8 kB / 0.5703 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.373, allocations: 4 kB / 0.5703 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.373, allocations: 3.984 kB / 0.5703 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001519/0.3745, allocations: 0.9204 MB / 0.5712 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.3746, allocations: 4 kB / 0.5712 GB, free: 9.633 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004187/0.375, allocations: 96.08 kB / 0.5713 GB, free: 9.539 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-06/0.375, allocations: 8.422 kB / 0.5713 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.811e-05/0.375, allocations: 19.94 kB / 0.5713 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.516e-06/0.375, allocations: 12 kB / 0.5713 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.595e-06/0.375, allocations: 7.984 kB / 0.5713 GB, free: 9.492 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008831/0.3759, allocations: 0.8422 MB / 0.5721 GB, free: 8.602 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.502e-05/0.376, allocations: 27.81 kB / 0.5722 GB, free: 8.574 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.055e-05/0.376, allocations: 20.05 kB / 0.5722 GB, free: 8.555 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002979/0.3763, allocations: 12 kB / 0.5722 GB, free: 8.543 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/0.3764, allocations: 31.95 kB / 0.5722 GB, free: 8.512 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.3764, allocations: 16 kB / 0.5722 GB, free: 8.496 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001401/0.3765, allocations: 160.5 kB / 0.5724 GB, free: 8.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3765, allocations: 3.938 kB / 0.5724 GB, free: 8.336 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005622/0.3771, allocations: 80 kB / 0.5725 GB, free: 8.258 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 11 (mass5.s,mass5.v,heatCapacitor.T,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 (41): * Single equations (assignments): 41 * 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.0001284/0.3772, allocations: 119.1 kB / 0.5726 GB, free: 8.133 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004992/0.3777, allocations: 264.1 kB / 0.5728 GB, free: 7.875 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/0.3777, allocations: 4 kB / 0.5728 GB, free: 7.871 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001975/0.3779, allocations: 127.7 kB / 0.573 GB, free: 7.746 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008352/0.3787, allocations: 64.02 kB / 0.573 GB, free: 7.688 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/0.3808, allocations: 1.289 MB / 0.5743 GB, free: 6.332 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/0.381, allocations: 182.1 kB / 0.5744 GB, free: 6.137 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.3811, allocations: 39.42 kB / 0.5745 GB, free: 6.098 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3811, allocations: 0 / 0.5745 GB, free: 6.098 MB / 414.1 MB Notification: Performance of Templates: time 0.00735/0.3885, allocations: 4.158 MB / 0.5785 GB, free: 1.957 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.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: 7.901979903690517]