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.00125/0.00125, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.00142/0.00142, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.454/1.454, allocations: 230.3 MB / 258 MB, free: 8.254 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.224/0.224, allocations: 46.9 MB / 361.3 MB, free: 4.445 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.002365/0.002365, allocations: 75.88 kB / 0.497 GB, free: 7.609 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3789, allocations: 66.02 MB / 0.5615 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.004888/0.3838, allocations: 3.072 MB / 0.5645 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002101/0.3859, allocations: 1.091 MB / 0.5656 GB, free: 440 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001671/0.3861, allocations: 11.88 kB / 0.5656 GB, free: 428 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001873/0.3863, allocations: 55.39 kB / 0.5656 GB, free: 372 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002291/0.3865, allocations: 130.9 kB / 0.5658 GB, free: 240 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005355/0.387, allocations: 167.6 kB / 0.5659 GB, free: 72 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005178/0.3875, allocations: 461.8 kB / 0.5664 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002082/0.3877, allocations: 79.98 kB / 0.5664 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002045/0.388, allocations: 171.4 kB / 0.5666 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002439/0.3882, allocations: 175.2 kB / 0.5668 GB, free: 15.19 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.327e-05/0.3882, allocations: 32 kB / 0.5668 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.3884, allocations: 47.98 kB / 0.5668 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.293e-05/0.3885, allocations: 75.7 kB / 0.5669 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002268/0.3887, allocations: 203.1 kB / 0.5671 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005858/0.3893, allocations: 436.7 kB / 0.5675 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3893, allocations: 0 / 0.5675 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3893, allocations: 0 / 0.5675 GB, free: 14.42 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.3893, allocations: 4 kB / 0.5675 GB, free: 14.41 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.001103/0.3904, allocations: 0.5988 MB / 0.5681 GB, free: 13.79 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.3904, allocations: 16.03 kB / 0.5681 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003202/0.3908, allocations: 60.64 kB / 0.5682 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004518/0.3912, allocations: 233.6 kB / 0.5684 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.451e-05/0.3913, allocations: 29.38 kB / 0.5684 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.213e-05/0.3913, allocations: 44.27 kB / 0.5685 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006516/0.392, allocations: 359.6 kB / 0.5688 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.15e-05/0.392, allocations: 11.98 kB / 0.5688 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.197e-05/0.392, allocations: 12 kB / 0.5688 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.3921, allocations: 8 kB / 0.5689 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004645/0.3925, allocations: 219.8 kB / 0.5691 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002297/0.3948, allocations: 1.51 MB / 0.5705 GB, free: 11.15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000603/0.3954, allocations: 299.6 kB / 0.5708 GB, free: 10.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.3956, allocations: 97.11 kB / 0.5709 GB, free: 10.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.3956, allocations: 4 kB / 0.5709 GB, free: 10.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.3957, allocations: 46.55 kB / 0.571 GB, free: 10.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.894e-06/0.3957, allocations: 0 / 0.571 GB, free: 10.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=26): time 0.0007289/0.3964, allocations: 277.1 kB / 0.5712 GB, free: 10.35 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/0.3965, allocations: 188 kB / 0.5714 GB, free: 10.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/0.3968, allocations: 233.9 kB / 0.5716 GB, free: 9.887 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.3968, allocations: 29.7 kB / 0.5717 GB, free: 9.852 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.397, allocations: 228.3 kB / 0.5719 GB, free: 9.625 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.745e-05/0.3971, allocations: 111 kB / 0.572 GB, free: 9.516 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.3972, allocations: 78.08 kB / 0.5721 GB, free: 9.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.3974, allocations: 338.8 kB / 0.5724 GB, free: 9.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/0.3975, allocations: 84.83 kB / 0.5725 GB, free: 9.008 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003145/0.3979, allocations: 245.8 kB / 0.5727 GB, free: 8.695 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005263/0.3984, allocations: 365 kB / 0.573 GB, free: 8.262 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.3984, allocations: 0 / 0.573 GB, free: 8.262 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.00066/0.3991, allocations: 385.2 kB / 0.5734 GB, free: 7.879 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.3991, allocations: 8 kB / 0.5734 GB, free: 7.871 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.3991, allocations: 4 kB / 0.5734 GB, free: 7.867 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.3991, allocations: 8 kB / 0.5734 GB, free: 7.859 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003596/0.3995, allocations: 108.6 kB / 0.5735 GB, free: 7.754 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/0.3995, allocations: 15.92 kB / 0.5736 GB, free: 7.738 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/0.3997, allocations: 43.73 kB / 0.5736 GB, free: 7.695 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/0.3997, allocations: 20.34 kB / 0.5736 GB, free: 7.676 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.0002372/0.4, allocations: 161.6 kB / 0.5738 GB, free: 7.508 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.4001, allocations: 39.8 kB / 0.5738 GB, free: 7.469 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001886/0.4003, allocations: 87.33 kB / 0.5739 GB, free: 7.375 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.4003, allocations: 4 kB / 0.5739 GB, free: 7.371 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.4003, allocations: 4 kB / 0.5739 GB, free: 7.367 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.4003, allocations: 0 / 0.5739 GB, free: 7.367 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006966/0.401, allocations: 328.4 kB / 0.5742 GB, free: 7.004 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.401, allocations: 7.938 kB / 0.5742 GB, free: 6.996 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003897/0.4014, allocations: 87.89 kB / 0.5743 GB, free: 6.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.4014, allocations: 0 / 0.5743 GB, free: 6.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.464e-05/0.4014, allocations: 8 kB / 0.5743 GB, free: 6.902 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.4014, allocations: 4 kB / 0.5743 GB, free: 6.898 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.4014, allocations: 0 / 0.5743 GB, free: 6.898 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008622/0.4023, allocations: 0.7781 MB / 0.5751 GB, free: 6.098 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.348e-05/0.4024, allocations: 31.8 kB / 0.5751 GB, free: 6.066 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.844e-05/0.4024, allocations: 11.98 kB / 0.5751 GB, free: 6.055 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003015/0.4027, allocations: 8 kB / 0.5751 GB, free: 6.047 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.166e-05/0.4028, allocations: 20.22 kB / 0.5751 GB, free: 6.027 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.4028, allocations: 4 kB / 0.5751 GB, free: 6.023 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001632/0.4029, allocations: 181.1 kB / 0.5753 GB, free: 5.844 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4029, allocations: 0 / 0.5753 GB, free: 5.844 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006014/0.4035, allocations: 103.8 kB / 0.5754 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.0001372/0.4037, allocations: 103.2 kB / 0.5755 GB, free: 5.633 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004796/0.4042, allocations: 224.4 kB / 0.5757 GB, free: 5.414 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4042, allocations: 0 / 0.5757 GB, free: 5.414 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001876/0.4044, allocations: 91.83 kB / 0.5758 GB, free: 5.324 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008713/0.4052, allocations: 64.91 kB / 0.5759 GB, free: 5.262 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002112/0.4073, allocations: 1.317 MB / 0.5772 GB, free: 3.898 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004968/0.4078, allocations: 0.7952 MB / 0.5779 GB, free: 3.078 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001406/0.408, allocations: 42.83 kB / 0.578 GB, free: 3.039 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.162e-05/0.408, allocations: 23.44 kB / 0.578 GB, free: 3.016 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.408, allocations: 0 / 0.578 GB, free: 3.016 MB / 414.1 MB Notification: Performance of Templates: time 0.007764/0.4158, allocations: 3.333 MB / 0.5813 GB, free: 15.72 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.206503816880286]