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.001686/0.001686, allocations: 107 kB / 19.8 MB, free: 2.5 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.002155/0.002155, allocations: 218.2 kB / 23 MB, free: 5.574 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.487/1.487, allocations: 230.2 MB / 256.2 MB, free: 8.539 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.2324/0.2324, allocations: 46.91 MB / 359.4 MB, free: 4.852 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=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_trunk_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_trunk_ModelicaTest.Rotational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002238/0.002238, allocations: 75.88 kB / 0.4946 GB, free: 8.469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4379/0.4401, allocations: 66 MB / 0.5591 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.004755/0.4449, allocations: 3.062 MB / 0.5621 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00218/0.447, allocations: 1.083 MB / 0.5631 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001834/0.4472, allocations: 8 kB / 0.5631 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000207/0.4474, allocations: 67.31 kB / 0.5632 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002323/0.4477, allocations: 123 kB / 0.5633 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000566/0.4482, allocations: 175.5 kB / 0.5635 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005109/0.4487, allocations: 461.8 kB / 0.5639 GB, free: 84 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002022/0.4489, allocations: 76.44 kB / 0.564 GB, free: 0 / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000222/0.4492, allocations: 163.5 kB / 0.5641 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000255/0.4494, allocations: 179.2 kB / 0.5643 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.695e-05/0.4495, allocations: 28 kB / 0.5643 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001303/0.4496, allocations: 55.98 kB / 0.5644 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.493e-05/0.4497, allocations: 75.69 kB / 0.5645 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001882/0.4499, allocations: 191.1 kB / 0.5646 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005585/0.4504, allocations: 448.5 kB / 0.5651 GB, free: 14.88 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4504, allocations: 0 / 0.5651 GB, free: 14.88 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.998e-06/0.4504, allocations: 3.984 kB / 0.5651 GB, free: 14.88 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.4505, allocations: 0 / 0.5651 GB, free: 14.88 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.00113/0.4516, allocations: 0.6729 MB / 0.5657 GB, free: 14.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.4516, allocations: 8.031 kB / 0.5657 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003268/0.452, allocations: 68.62 kB / 0.5658 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005059/0.4525, allocations: 303.4 kB / 0.5661 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.745e-05/0.4525, allocations: 25.38 kB / 0.5661 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.405e-05/0.4526, allocations: 40.33 kB / 0.5662 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006502/0.4532, allocations: 355.6 kB / 0.5665 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.534e-05/0.4533, allocations: 15.92 kB / 0.5665 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.514e-05/0.4533, allocations: 20 kB / 0.5665 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.4533, allocations: 8 kB / 0.5665 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004674/0.4538, allocations: 222.8 kB / 0.5667 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002453/0.4562, allocations: 1.574 MB / 0.5683 GB, free: 11.37 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005992/0.4568, allocations: 303.7 kB / 0.5686 GB, free: 11.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001781/0.457, allocations: 101.1 kB / 0.5687 GB, free: 10.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.457, allocations: 4 kB / 0.5687 GB, free: 10.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.4571, allocations: 42.5 kB / 0.5687 GB, free: 10.85 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 4.258e-06/0.4571, allocations: 4 kB / 0.5687 GB, free: 10.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=26): time 0.0006897/0.4578, allocations: 265.3 kB / 0.569 GB, free: 10.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001357/0.4579, allocations: 188 kB / 0.5692 GB, free: 10.35 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002668/0.4582, allocations: 238.6 kB / 0.5694 GB, free: 10.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.4582, allocations: 37.64 kB / 0.5694 GB, free: 10.06 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.4584, allocations: 216.2 kB / 0.5696 GB, free: 9.848 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.4585, allocations: 115.1 kB / 0.5697 GB, free: 9.734 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.4586, allocations: 78.22 kB / 0.5698 GB, free: 9.648 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.4588, allocations: 338.8 kB / 0.5701 GB, free: 9.309 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/0.459, allocations: 76.84 kB / 0.5702 GB, free: 9.234 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000318/0.4593, allocations: 253.7 kB / 0.5704 GB, free: 8.914 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004995/0.4598, allocations: 357.1 kB / 0.5708 GB, free: 8.488 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.4598, allocations: 4 kB / 0.5708 GB, free: 8.484 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006418/0.4604, allocations: 380.8 kB / 0.5712 GB, free: 8.105 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.4604, allocations: 8 kB / 0.5712 GB, free: 8.098 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.4605, allocations: 8 kB / 0.5712 GB, free: 8.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.426e-05/0.4605, allocations: 13.36 kB / 0.5712 GB, free: 8.078 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003449/0.4608, allocations: 111.8 kB / 0.5713 GB, free: 7.969 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/0.4608, allocations: 8 kB / 0.5713 GB, free: 7.961 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002268/0.4611, allocations: 47.67 kB / 0.5713 GB, free: 7.914 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/0.4611, allocations: 23.98 kB / 0.5714 GB, free: 7.891 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.0001801/0.4613, allocations: 157.6 kB / 0.5715 GB, free: 7.727 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.4614, allocations: 31.81 kB / 0.5715 GB, free: 7.695 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000193/0.4616, allocations: 95.58 kB / 0.5716 GB, free: 7.594 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.4616, allocations: 4 kB / 0.5716 GB, free: 7.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.4616, allocations: 8 kB / 0.5716 GB, free: 7.582 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.4616, allocations: 7.969 kB / 0.5717 GB, free: 7.574 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006871/0.4623, allocations: 349.3 kB / 0.572 GB, free: 7.184 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.4623, allocations: 4 kB / 0.572 GB, free: 7.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003957/0.4627, allocations: 83.89 kB / 0.5721 GB, free: 7.098 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.321e-06/0.4627, allocations: 4.094 kB / 0.5721 GB, free: 7.094 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.748e-05/0.4627, allocations: 15.92 kB / 0.5721 GB, free: 7.078 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.4627, allocations: 0 / 0.5721 GB, free: 7.078 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.4628, allocations: 4 kB / 0.5721 GB, free: 7.074 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000829/0.4636, allocations: 0.7742 MB / 0.5728 GB, free: 6.277 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.599e-05/0.4637, allocations: 100.9 kB / 0.5729 GB, free: 6.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.1e-05/0.4637, allocations: 8 kB / 0.573 GB, free: 6.152 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000303/0.464, allocations: 12 kB / 0.573 GB, free: 6.141 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.269e-05/0.4641, allocations: 15.97 kB / 0.573 GB, free: 6.125 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.4641, allocations: 12 kB / 0.573 GB, free: 6.113 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001629/0.4643, allocations: 169.9 kB / 0.5732 GB, free: 5.949 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4643, allocations: 0 / 0.5732 GB, free: 5.949 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005761/0.4648, allocations: 99.83 kB / 0.5732 GB, free: 5.852 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.0001418/0.465, allocations: 115.1 kB / 0.5734 GB, free: 5.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004677/0.4655, allocations: 219.6 kB / 0.5736 GB, free: 5.516 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4655, allocations: 0 / 0.5736 GB, free: 5.516 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001727/0.4656, allocations: 89.09 kB / 0.5737 GB, free: 5.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008885/0.4665, allocations: 76.39 kB / 0.5737 GB, free: 5.359 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002148/0.4687, allocations: 1.318 MB / 0.575 GB, free: 3.992 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004696/0.4691, allocations: 0.795 MB / 0.5758 GB, free: 3.168 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001496/0.4693, allocations: 38.95 kB / 0.5758 GB, free: 3.129 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.793e-05/0.4694, allocations: 27.44 kB / 0.5759 GB, free: 3.102 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4694, allocations: 0 / 0.5759 GB, free: 3.102 MB / 414.1 MB Notification: Performance of Templates: time 0.0075/0.4769, allocations: 3.217 MB / 0.579 GB, free: 15.91 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestBraking/TestBraking.csv","/var/lib/jenkins/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: 5.37306269351393]