Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.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.001859/0.001859, allocations: 106.5 kB / 21.2 MB, free: 0.6406 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.002339/0.002339, allocations: 212.6 kB / 24.49 MB, free: 3.934 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.631/1.631, 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.233/0.233, allocations: 46.95 MB / 361.6 MB, free: 4.02 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.Rotational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking") translateModel(ModelicaTest.Rotational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 71.88 kB / 0.4973 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3227, allocations: 66.05 MB / 0.5618 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.004639/0.3274, allocations: 2.816 MB / 0.5646 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002088/0.3295, allocations: 1.009 MB / 0.5655 GB, free: 304 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001711/0.3296, allocations: 11.94 kB / 0.5656 GB, free: 292 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001991/0.3298, allocations: 67.38 kB / 0.5656 GB, free: 224 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002374/0.3301, allocations: 118.9 kB / 0.5657 GB, free: 104 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005697/0.3306, allocations: 171.5 kB / 0.5659 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005132/0.3312, allocations: 461.8 kB / 0.5663 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002357/0.3314, allocations: 84 kB / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000208/0.3316, allocations: 163.4 kB / 0.5666 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002468/0.3318, allocations: 179.2 kB / 0.5667 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.95e-05/0.3319, allocations: 28 kB / 0.5668 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.332, allocations: 51.98 kB / 0.5668 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.926e-05/0.3321, allocations: 79.69 kB / 0.5669 GB, free: 14.9 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001933/0.3323, allocations: 159.3 kB / 0.5671 GB, free: 14.74 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006552/0.333, allocations: 448.5 kB / 0.5675 GB, free: 14.31 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.333, allocations: 3.938 kB / 0.5675 GB, free: 14.3 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.333, allocations: 0 / 0.5675 GB, free: 14.3 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.595e-06/0.333, allocations: 0 / 0.5675 GB, free: 14.3 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001152/0.3341, allocations: 0.5911 MB / 0.5681 GB, free: 13.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.3342, allocations: 8.031 kB / 0.5681 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003222/0.3345, allocations: 68.64 kB / 0.5681 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004608/0.335, allocations: 241.6 kB / 0.5684 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.587e-05/0.335, allocations: 29.38 kB / 0.5684 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.121e-05/0.3351, allocations: 40.33 kB / 0.5684 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006555/0.3357, allocations: 359.6 kB / 0.5688 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.778e-05/0.3358, allocations: 7.938 kB / 0.5688 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.762e-05/0.3358, allocations: 16 kB / 0.5688 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.3358, allocations: 8 kB / 0.5688 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004613/0.3363, allocations: 223.8 kB / 0.569 GB, free: 12.65 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002302/0.3386, allocations: 1.39 MB / 0.5704 GB, free: 11.17 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006118/0.3392, allocations: 303.6 kB / 0.5707 GB, free: 10.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001883/0.3394, allocations: 101.1 kB / 0.5708 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.3394, allocations: 4 kB / 0.5708 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.3394, allocations: 42.55 kB / 0.5708 GB, free: 10.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 2.154e-06/0.3394, allocations: 0 / 0.5708 GB, free: 10.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=26): time 0.0007539/0.3402, allocations: 266.3 kB / 0.5711 GB, free: 10.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/0.3403, allocations: 187.9 kB / 0.5712 GB, free: 10.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/0.3406, allocations: 233 kB / 0.5715 GB, free: 9.914 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.513e-05/0.3406, allocations: 29.64 kB / 0.5715 GB, free: 9.879 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.3408, allocations: 224.2 kB / 0.5717 GB, free: 9.656 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.3409, allocations: 123.2 kB / 0.5718 GB, free: 9.535 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.341, allocations: 70.08 kB / 0.5719 GB, free: 9.461 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.3412, allocations: 338.8 kB / 0.5722 GB, free: 9.121 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.3414, allocations: 80.83 kB / 0.5723 GB, free: 9.043 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003278/0.3417, allocations: 245.8 kB / 0.5725 GB, free: 8.727 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000541/0.3422, allocations: 365.1 kB / 0.5729 GB, free: 8.293 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.3422, allocations: 0 / 0.5729 GB, free: 8.293 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006775/0.3429, allocations: 389.1 kB / 0.5732 GB, free: 7.906 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.3429, allocations: 8 kB / 0.5733 GB, free: 7.898 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.3429, allocations: 4.078 kB / 0.5733 GB, free: 7.895 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/0.343, allocations: 8 kB / 0.5733 GB, free: 7.887 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004036/0.3434, allocations: 111.8 kB / 0.5734 GB, free: 7.777 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.166e-05/0.3434, allocations: 11.98 kB / 0.5734 GB, free: 7.766 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002467/0.3436, allocations: 39.67 kB / 0.5734 GB, free: 7.727 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.872e-05/0.3437, allocations: 20 kB / 0.5734 GB, free: 7.707 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 (52): * Single equations (assignments): 52 * 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.0001821/0.3439, allocations: 165.9 kB / 0.5736 GB, free: 7.535 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/0.344, allocations: 35.84 kB / 0.5736 GB, free: 7.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001971/0.3442, allocations: 99.3 kB / 0.5737 GB, free: 7.395 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.3442, allocations: 4 kB / 0.5737 GB, free: 7.391 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3442, allocations: 0 / 0.5737 GB, free: 7.391 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.017e-05/0.3443, allocations: 35.78 kB / 0.5738 GB, free: 7.355 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.163e-05/0.3443, allocations: 4 kB / 0.5738 GB, free: 7.352 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003219/0.3446, allocations: 12 kB / 0.5738 GB, free: 7.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.466e-05/0.3447, allocations: 27.89 kB / 0.5738 GB, free: 7.312 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001042/0.3457, allocations: 0.724 MB / 0.5745 GB, free: 6.578 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009388/0.3467, allocations: 0.8862 MB / 0.5754 GB, free: 5.668 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001896/0.3469, allocations: 83.89 kB / 0.5755 GB, free: 5.586 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001582/0.347, allocations: 160.5 kB / 0.5756 GB, free: 5.43 MB / 414.1 MB Notification: Performance of Backend: time 5.61e-07/0.347, allocations: 4.031 kB / 0.5756 GB, free: 5.426 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001106/0.3481, allocations: 250 kB / 0.5759 GB, free: 5.176 MB / 414.1 MB Notification: Performance of SimCode: time 0.002453/0.3506, allocations: 1.773 MB / 0.5776 GB, free: 3.359 MB / 414.1 MB Notification: Performance of Templates: time 0.009809/0.3604, allocations: 4.629 MB / 0.5821 GB, free: 14.8 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBraking_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestBraking/TestBraking.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.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.276551618000667]