Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.007548/0.007548, allocations: 106.5 kB / 21.99 MB, free: 5.172 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.00199/0.00199, allocations: 227.8 kB / 25.31 MB, free: 3.18 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.439/1.439, allocations: 230.3 MB / 258.7 MB, free: 8.215 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2442/0.2442, allocations: 46.93 MB / 362.1 MB, free: 4.402 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-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Rotational.TestBraking") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002404/0.002404, allocations: 79.86 kB / 0.4979 GB, free: 7.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3219, allocations: 66.04 MB / 0.5624 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.004644/0.3265, allocations: 3.065 MB / 0.5654 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001951/0.3285, allocations: 1.083 MB / 0.5664 GB, free: 376 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001826/0.3287, allocations: 11.94 kB / 0.5664 GB, free: 364 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002008/0.3289, allocations: 63.31 kB / 0.5665 GB, free: 300 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002279/0.3291, allocations: 127 kB / 0.5666 GB, free: 172 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000537/0.3296, allocations: 175.6 kB / 0.5668 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004902/0.3301, allocations: 457.8 kB / 0.5672 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001988/0.3303, allocations: 79.98 kB / 0.5673 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001922/0.3305, allocations: 167.4 kB / 0.5675 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000243/0.3308, allocations: 175.2 kB / 0.5676 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.392e-05/0.3308, allocations: 36 kB / 0.5677 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/0.331, allocations: 47.98 kB / 0.5677 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.17e-05/0.331, allocations: 79.69 kB / 0.5678 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002048/0.3312, allocations: 195.1 kB / 0.568 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005562/0.3318, allocations: 444.5 kB / 0.5684 GB, free: 14.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3318, allocations: 4 kB / 0.5684 GB, free: 14.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3318, allocations: 3.938 kB / 0.5684 GB, free: 14.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.829e-05/0.3318, allocations: 0 / 0.5684 GB, free: 14.34 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.001114/0.3329, allocations: 0.6624 MB / 0.569 GB, free: 13.62 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.333, allocations: 8.031 kB / 0.569 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003014/0.3333, allocations: 68.62 kB / 0.5691 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004872/0.3338, allocations: 307.4 kB / 0.5694 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.551e-05/0.3338, allocations: 25.38 kB / 0.5694 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.739e-05/0.3339, allocations: 44.33 kB / 0.5695 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006336/0.3345, allocations: 359.6 kB / 0.5698 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.565e-05/0.3345, allocations: 3.938 kB / 0.5698 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.61e-05/0.3346, allocations: 16 kB / 0.5698 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.3346, allocations: 12 kB / 0.5698 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004499/0.335, allocations: 223.8 kB / 0.5701 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002353/0.3374, allocations: 1.578 MB / 0.5716 GB, free: 10.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006058/0.338, allocations: 303.6 kB / 0.5719 GB, free: 10.47 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.3382, allocations: 97.11 kB / 0.572 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.3382, allocations: 4 kB / 0.572 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.926e-05/0.3382, allocations: 42.5 kB / 0.572 GB, free: 10.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.483e-06/0.3382, allocations: 0 / 0.572 GB, free: 10.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=26): time 0.0007067/0.3389, allocations: 277.4 kB / 0.5723 GB, free: 10.03 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/0.3391, allocations: 183.9 kB / 0.5725 GB, free: 9.805 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002708/0.3393, allocations: 249.8 kB / 0.5727 GB, free: 9.551 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.3393, allocations: 29.7 kB / 0.5727 GB, free: 9.516 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.3395, allocations: 212.3 kB / 0.5729 GB, free: 9.305 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.3396, allocations: 115 kB / 0.573 GB, free: 9.191 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.3397, allocations: 78.22 kB / 0.5731 GB, free: 9.105 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.3399, allocations: 338.8 kB / 0.5734 GB, free: 8.766 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/0.3401, allocations: 84.84 kB / 0.5735 GB, free: 8.684 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003206/0.3404, allocations: 245.8 kB / 0.5738 GB, free: 8.371 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005268/0.3409, allocations: 361.1 kB / 0.5741 GB, free: 7.941 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.341, allocations: 3.938 kB / 0.5741 GB, free: 7.938 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006531/0.3416, allocations: 392.8 kB / 0.5745 GB, free: 7.547 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/0.3416, allocations: 10.19 kB / 0.5745 GB, free: 7.539 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.3416, allocations: 4 kB / 0.5745 GB, free: 7.535 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/0.3417, allocations: 8.875 kB / 0.5745 GB, free: 7.527 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003665/0.342, allocations: 111.8 kB / 0.5746 GB, free: 7.418 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.973e-05/0.342, allocations: 12 kB / 0.5746 GB, free: 7.406 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.3423, allocations: 47.59 kB / 0.5747 GB, free: 7.359 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.865e-05/0.3423, allocations: 20 kB / 0.5747 GB, free: 7.34 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.0001675/0.3425, allocations: 162.5 kB / 0.5748 GB, free: 7.172 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.3426, allocations: 31.81 kB / 0.5749 GB, free: 7.141 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001954/0.3428, allocations: 95.33 kB / 0.575 GB, free: 7.035 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.3428, allocations: 3.984 kB / 0.575 GB, free: 7.031 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.3428, allocations: 4 kB / 0.575 GB, free: 7.027 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.042e-05/0.3429, allocations: 104.9 kB / 0.5751 GB, free: 6.906 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.038e-05/0.3429, allocations: 8 kB / 0.5751 GB, free: 6.898 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003238/0.3432, allocations: 11.98 kB / 0.5751 GB, free: 6.887 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.531e-05/0.3433, allocations: 24.66 kB / 0.5751 GB, free: 6.863 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001034/0.3443, allocations: 0.7275 MB / 0.5758 GB, free: 6.125 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009168/0.3453, allocations: 0.8824 MB / 0.5767 GB, free: 5.219 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001901/0.3454, allocations: 87.88 kB / 0.5768 GB, free: 5.133 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001553/0.3456, allocations: 165.2 kB / 0.5769 GB, free: 4.969 MB / 414.1 MB Notification: Performance of Backend: time 4.1e-07/0.3456, allocations: 0 / 0.5769 GB, free: 4.969 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001067/0.3467, allocations: 258 kB / 0.5772 GB, free: 4.711 MB / 414.1 MB Notification: Performance of SimCode: time 0.002359/0.349, allocations: 1.774 MB / 0.5789 GB, free: 2.891 MB / 414.1 MB Notification: Performance of Templates: time 0.009087/0.3581, allocations: 4.174 MB / 0.583 GB, free: 14.75 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestBraking.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestBraking.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestBraking.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestBraking.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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.064634011010639]