Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.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.001399/0.001399, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.001528/0.001528, allocations: 214.5 kB / 24.48 MB, free: 3.836 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.566/1.566, allocations: 230.5 MB / 258.1 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.2293/0.2293, allocations: 46.95 MB / 361.6 MB, free: 3.953 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.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_trunk_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_trunk_ModelicaTest.Rotational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002421/0.002421, allocations: 79.88 kB / 0.4974 GB, free: 7.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3638, allocations: 66.09 MB / 0.5619 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.005239/0.3691, allocations: 2.828 MB / 0.5647 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002312/0.3714, allocations: 1.009 MB / 0.5656 GB, free: 136 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002325/0.3716, allocations: 11.88 kB / 0.5657 GB, free: 124 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000282/0.3719, allocations: 63.38 kB / 0.5657 GB, free: 60 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002942/0.3722, allocations: 123 kB / 0.5658 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006284/0.3728, allocations: 171.6 kB / 0.566 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005329/0.3733, allocations: 461.7 kB / 0.5664 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002155/0.3735, allocations: 71.94 kB / 0.5665 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002396/0.3738, allocations: 175.4 kB / 0.5667 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002431/0.374, allocations: 151.2 kB / 0.5668 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.328e-05/0.3741, allocations: 32 kB / 0.5668 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.3742, allocations: 47.98 kB / 0.5669 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.535e-05/0.3743, allocations: 79.69 kB / 0.567 GB, free: 14.76 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001885/0.3745, allocations: 163.3 kB / 0.5671 GB, free: 14.6 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006253/0.3751, allocations: 452.5 kB / 0.5676 GB, free: 14.16 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3751, allocations: 0 / 0.5676 GB, free: 14.16 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3751, allocations: 4 kB / 0.5676 GB, free: 14.16 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.3751, allocations: 0 / 0.5676 GB, free: 14.16 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.001118/0.3763, allocations: 0.5871 MB / 0.5681 GB, free: 13.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.3763, allocations: 12.03 kB / 0.5681 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003191/0.3766, allocations: 68.64 kB / 0.5682 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004759/0.3771, allocations: 233.6 kB / 0.5684 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.161e-05/0.3771, allocations: 25.38 kB / 0.5685 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.184e-05/0.3772, allocations: 40.33 kB / 0.5685 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006685/0.3779, allocations: 367.5 kB / 0.5688 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.193e-05/0.3779, allocations: 4 kB / 0.5688 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.3779, allocations: 19.94 kB / 0.5689 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/0.378, allocations: 12 kB / 0.5689 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004951/0.3785, allocations: 219.8 kB / 0.5691 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002513/0.381, allocations: 1.39 MB / 0.5704 GB, free: 11.03 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006542/0.3816, allocations: 303.7 kB / 0.5707 GB, free: 10.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.3818, allocations: 89.17 kB / 0.5708 GB, free: 10.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.3818, allocations: 4 kB / 0.5708 GB, free: 10.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.237e-05/0.3819, allocations: 46.48 kB / 0.5709 GB, free: 10.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 2.154e-06/0.3819, allocations: 0 / 0.5709 GB, free: 10.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=26): time 0.00074/0.3826, allocations: 270.2 kB / 0.5711 GB, free: 10.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/0.3828, allocations: 192 kB / 0.5713 GB, free: 10.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002697/0.383, allocations: 233 kB / 0.5715 GB, free: 9.773 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.3831, allocations: 29.7 kB / 0.5716 GB, free: 9.738 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.3832, allocations: 220.2 kB / 0.5718 GB, free: 9.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.3834, allocations: 115 kB / 0.5719 GB, free: 9.406 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.3835, allocations: 74.08 kB / 0.572 GB, free: 9.328 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.3837, allocations: 338.8 kB / 0.5723 GB, free: 8.988 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.3838, allocations: 80.83 kB / 0.5724 GB, free: 8.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003389/0.3842, allocations: 249.7 kB / 0.5726 GB, free: 8.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005587/0.3847, allocations: 361.1 kB / 0.5729 GB, free: 8.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.281e-06/0.3847, allocations: 4 kB / 0.5729 GB, free: 8.156 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007128/0.3855, allocations: 380.8 kB / 0.5733 GB, free: 7.777 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.3855, allocations: 8 kB / 0.5733 GB, free: 7.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.3855, allocations: 8 kB / 0.5733 GB, free: 7.762 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/0.3855, allocations: 8.625 kB / 0.5733 GB, free: 7.754 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003724/0.3859, allocations: 107.8 kB / 0.5734 GB, free: 7.648 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.567e-05/0.3859, allocations: 16.03 kB / 0.5734 GB, free: 7.633 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002617/0.3862, allocations: 51.61 kB / 0.5735 GB, free: 7.582 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.3862, allocations: 16 kB / 0.5735 GB, free: 7.566 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.0002066/0.3864, allocations: 165.6 kB / 0.5737 GB, free: 7.395 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/0.3866, allocations: 32.06 kB / 0.5737 GB, free: 7.363 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001922/0.3868, allocations: 91.39 kB / 0.5738 GB, free: 7.266 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.876e-06/0.3868, allocations: 7.984 kB / 0.5738 GB, free: 7.258 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.3868, allocations: 4 kB / 0.5738 GB, free: 7.254 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.3868, allocations: 3.984 kB / 0.5738 GB, free: 7.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006245/0.3874, allocations: 245.1 kB / 0.574 GB, free: 6.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.3874, allocations: 3.938 kB / 0.574 GB, free: 6.977 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004125/0.3878, allocations: 83.89 kB / 0.5741 GB, free: 6.895 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-05/0.3878, allocations: 4 kB / 0.5741 GB, free: 6.891 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/0.3879, allocations: 8 kB / 0.5741 GB, free: 6.883 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.3879, allocations: 7.984 kB / 0.5741 GB, free: 6.875 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.3879, allocations: 3.938 kB / 0.5741 GB, free: 6.871 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008811/0.3888, allocations: 0.7657 MB / 0.5749 GB, free: 6.086 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.913e-05/0.3888, allocations: 35.72 kB / 0.5749 GB, free: 6.051 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.6e-05/0.3889, allocations: 12 kB / 0.5749 GB, free: 6.039 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003155/0.3892, allocations: 8 kB / 0.5749 GB, free: 6.031 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.744e-05/0.3892, allocations: 23.89 kB / 0.575 GB, free: 6.008 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.336e-05/0.3893, allocations: 15.98 kB / 0.575 GB, free: 5.992 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001697/0.3894, allocations: 156.5 kB / 0.5751 GB, free: 5.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3894, allocations: 0 / 0.5751 GB, free: 5.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006516/0.3901, allocations: 99.84 kB / 0.5752 GB, free: 5.742 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 13 (inertia1.w,linearSpeedDependentTorque.phi,inertia2.w,quadraticSpeedDependentTorque.phi,inertia3.w,constantTorque.phi,inertia4.w,signTorque.phi,inertia6.w,inverseSpeedDependentTorque.phi,eddyCurrentTorque.phi,inertia5.w,heatCapacitor.T) * 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 (27): * Single equations (assignments): 27 * 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.0001465/0.3902, allocations: 111.1 kB / 0.5753 GB, free: 5.625 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005164/0.3907, allocations: 223.6 kB / 0.5755 GB, free: 5.406 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3907, allocations: 0 / 0.5755 GB, free: 5.406 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001842/0.3909, allocations: 95.83 kB / 0.5756 GB, free: 5.312 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009539/0.3919, allocations: 89.08 kB / 0.5757 GB, free: 5.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002304/0.3942, allocations: 1.326 MB / 0.577 GB, free: 3.852 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.3944, allocations: 190.5 kB / 0.5772 GB, free: 3.648 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.227e-05/0.3945, allocations: 23.44 kB / 0.5772 GB, free: 3.625 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3945, allocations: 8 kB / 0.5772 GB, free: 3.617 MB / 414.1 MB Notification: Performance of Templates: time 0.007497/0.402, allocations: 4.252 MB / 0.5814 GB, free: 15.37 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 8.14159493194893]