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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001604/0.001604, allocations: 108.9 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002014/0.002014, allocations: 212.2 kB / 23.54 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.532/1.532, allocations: 230.2 MB / 256.8 MB, free: 8.621 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2378/0.2378, allocations: 46.88 MB / 359.9 MB, free: 5.02 MB / 286.1 MB [Timeout remaining time 90] 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=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestBraking") translateModel(ModelicaTest.Rotational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.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.002263/0.002263, allocations: 75.88 kB / 0.4949 GB, free: 8.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3907, allocations: 65.97 MB / 0.5594 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.006825/0.3975, allocations: 3.056 MB / 0.5623 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00311/0.4006, allocations: 1.075 MB / 0.5634 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003999/0.401, allocations: 11.94 kB / 0.5634 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002924/0.4013, allocations: 63.38 kB / 0.5635 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004166/0.4017, allocations: 126.9 kB / 0.5636 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009337/0.4026, allocations: 175.5 kB / 0.5638 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007413/0.4034, allocations: 453.8 kB / 0.5642 GB, free: 268 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002751/0.4037, allocations: 80.44 kB / 0.5643 GB, free: 180 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002945/0.404, allocations: 171.4 kB / 0.5644 GB, free: 8 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003496/0.4043, allocations: 171.3 kB / 0.5646 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.955e-05/0.4044, allocations: 32 kB / 0.5646 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001935/0.4046, allocations: 51.98 kB / 0.5647 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.4047, allocations: 75.69 kB / 0.5647 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003358/0.405, allocations: 195.1 kB / 0.5649 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007819/0.4058, allocations: 444.5 kB / 0.5654 GB, free: 15.06 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4058, allocations: 0 / 0.5654 GB, free: 15.06 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.4058, allocations: 0 / 0.5654 GB, free: 15.06 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.926e-06/0.4058, allocations: 0 / 0.5654 GB, free: 15.06 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.001546/0.4074, allocations: 0.6702 MB / 0.566 GB, free: 14.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.4074, allocations: 12.03 kB / 0.566 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004474/0.4079, allocations: 64.62 kB / 0.5661 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006262/0.4085, allocations: 303.5 kB / 0.5664 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.491e-05/0.4085, allocations: 29.31 kB / 0.5664 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.4087, allocations: 44.33 kB / 0.5664 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009751/0.4096, allocations: 367.5 kB / 0.5668 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.791e-05/0.4097, allocations: 7.984 kB / 0.5668 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.568e-05/0.4097, allocations: 12 kB / 0.5668 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.856e-05/0.4097, allocations: 12 kB / 0.5668 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007982/0.4105, allocations: 223.4 kB / 0.567 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004092/0.4146, allocations: 1.582 MB / 0.5686 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/0.4158, allocations: 307.7 kB / 0.5689 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003232/0.4161, allocations: 89.12 kB / 0.569 GB, free: 11.08 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.396e-05/0.4162, allocations: 3.984 kB / 0.569 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.166e-05/0.4162, allocations: 46.5 kB / 0.569 GB, free: 11.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 3.917e-06/0.4162, allocations: 0 / 0.569 GB, free: 11.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=26): time 0.00134/0.4176, allocations: 277.3 kB / 0.5693 GB, free: 10.74 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001811/0.4178, allocations: 179.9 kB / 0.5694 GB, free: 10.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006089/0.4184, allocations: 246.6 kB / 0.5697 GB, free: 10.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.279e-05/0.4184, allocations: 29.7 kB / 0.5697 GB, free: 10.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002871/0.4187, allocations: 216.4 kB / 0.5699 GB, free: 10.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/0.4189, allocations: 111.1 kB / 0.57 GB, free: 9.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002035/0.4191, allocations: 74.09 kB / 0.5701 GB, free: 9.828 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002545/0.4193, allocations: 346.8 kB / 0.5704 GB, free: 9.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003407/0.4197, allocations: 76.84 kB / 0.5705 GB, free: 9.406 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005703/0.4202, allocations: 249.7 kB / 0.5707 GB, free: 9.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.4213, allocations: 369 kB / 0.5711 GB, free: 8.652 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.4213, allocations: 0 / 0.5711 GB, free: 8.652 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001413/0.4227, allocations: 393.4 kB / 0.5715 GB, free: 8.262 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.322e-05/0.4227, allocations: 8 kB / 0.5715 GB, free: 8.254 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/0.4227, allocations: 8.031 kB / 0.5715 GB, free: 8.246 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.392e-05/0.4228, allocations: 8 kB / 0.5715 GB, free: 8.238 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007694/0.4235, allocations: 107.8 kB / 0.5716 GB, free: 8.133 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.786e-05/0.4236, allocations: 11.94 kB / 0.5716 GB, free: 8.121 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004758/0.424, allocations: 43.66 kB / 0.5716 GB, free: 8.078 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-05/0.4241, allocations: 24 kB / 0.5717 GB, free: 8.055 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.0003241/0.4244, allocations: 161.6 kB / 0.5718 GB, free: 7.887 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002625/0.4247, allocations: 27.81 kB / 0.5718 GB, free: 7.859 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000321/0.425, allocations: 95.39 kB / 0.5719 GB, free: 7.758 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.425, allocations: 7.938 kB / 0.5719 GB, free: 7.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/0.425, allocations: 4 kB / 0.5719 GB, free: 7.746 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/0.425, allocations: 3.984 kB / 0.5719 GB, free: 7.742 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/0.4263, allocations: 345.3 kB / 0.5723 GB, free: 7.355 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/0.4263, allocations: 7.984 kB / 0.5723 GB, free: 7.348 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008691/0.4272, allocations: 75.91 kB / 0.5724 GB, free: 7.273 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.4272, allocations: 0 / 0.5724 GB, free: 7.273 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.516e-05/0.4273, allocations: 11.98 kB / 0.5724 GB, free: 7.262 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.766e-06/0.4273, allocations: 4 kB / 0.5724 GB, free: 7.258 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.966e-06/0.4273, allocations: 7.938 kB / 0.5724 GB, free: 7.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/0.4287, allocations: 0.7665 MB / 0.5731 GB, free: 6.461 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.4288, allocations: 104.9 kB / 0.5732 GB, free: 6.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.218e-05/0.4289, allocations: 8.312 kB / 0.5732 GB, free: 6.332 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005941/0.4295, allocations: 8.75 kB / 0.5732 GB, free: 6.324 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.4296, allocations: 27.91 kB / 0.5733 GB, free: 6.297 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.31e-05/0.4296, allocations: 12 kB / 0.5733 GB, free: 6.285 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000362/0.43, allocations: 173.9 kB / 0.5734 GB, free: 6.117 MB / 414.1 MB Notification: Performance of sort global known variables: time 2e-07/0.43, allocations: 0 / 0.5734 GB, free: 6.117 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001183/0.4312, allocations: 99.84 kB / 0.5735 GB, free: 6.02 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.0002373/0.4314, allocations: 111.1 kB / 0.5737 GB, free: 5.902 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000949/0.4324, allocations: 216.7 kB / 0.5739 GB, free: 5.691 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.4324, allocations: 4 kB / 0.5739 GB, free: 5.688 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003671/0.4327, allocations: 104.1 kB / 0.574 GB, free: 5.586 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001718/0.4345, allocations: 69.2 kB / 0.574 GB, free: 5.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004338/0.4388, allocations: 1.332 MB / 0.5753 GB, free: 4.133 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007511/0.4396, allocations: 0.7873 MB / 0.5761 GB, free: 3.316 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/0.4397, allocations: 27.44 kB / 0.5761 GB, free: 3.289 MB / 414.1 MB Notification: Performance of SimCode: time 1.603e-06/0.4397, allocations: 0 / 0.5761 GB, free: 3.289 MB / 414.1 MB Notification: Performance of Templates: time 0.0141/0.4538, allocations: 4.15 MB / 0.5802 GB, free: 15.15 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