Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.0.0_ModelicaTest.Rotational.TestBraking") translateModel(ModelicaTest.Rotational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.0.0_ModelicaTest.Rotational.TestBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 113.9 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 186 kB / 19.39 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 222.9 MB / 243.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2186/0.2186, allocations: 44.18 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 63.89 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3817/0.3831, allocations: 60.82 MB / 0.5196 GB, free: 3.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.003709/0.3869, allocations: 2.699 MB / 0.5222 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.3883, allocations: 0.9506 MB / 0.5231 GB, free: 1.016 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001468/0.3885, allocations: 6.062 kB / 0.5231 GB, free: 1.016 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000171/0.3887, allocations: 52.97 kB / 0.5232 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001873/0.3889, allocations: 110 kB / 0.5233 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004599/0.3893, allocations: 137.8 kB / 0.5234 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003604/0.3897, allocations: 373.2 kB / 0.5238 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000194/0.3899, allocations: 101.7 kB / 0.5239 GB, free: 0.582 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.39, allocations: 133.5 kB / 0.524 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001983/0.3902, allocations: 139.9 kB / 0.5241 GB, free: 468 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.826e-05/0.3903, allocations: 29.09 kB / 0.5241 GB, free: 464 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.3904, allocations: 42.34 kB / 0.5242 GB, free: 460 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.985e-05/0.3905, allocations: 62.77 kB / 0.5242 GB, free: 416 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.3906, allocations: 163.8 kB / 0.5244 GB, free: 320 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004511/0.3911, allocations: 361.5 kB / 0.5248 GB, free: 180 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3911, allocations: 0.5156 kB / 0.5248 GB, free: 180 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3911, allocations: 5.75 kB / 0.5248 GB, free: 176 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.864e-06/0.3911, allocations: 0 / 0.5248 GB, free: 176 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0009185/0.392, allocations: 0.6072 MB / 0.5253 GB, free: 15.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.3921, allocations: 10.64 kB / 0.5254 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002254/0.3923, allocations: 47.52 kB / 0.5254 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003862/0.3927, allocations: 274.9 kB / 0.5257 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.215e-05/0.3928, allocations: 21.31 kB / 0.5257 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.42e-05/0.3928, allocations: 40.61 kB / 0.5257 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005045/0.3934, allocations: 302.1 kB / 0.526 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.998e-05/0.3934, allocations: 6.547 kB / 0.526 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.724e-05/0.3934, allocations: 11.19 kB / 0.526 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.3934, allocations: 7.688 kB / 0.526 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003291/0.3938, allocations: 177.5 kB / 0.5262 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001866/0.3957, allocations: 1.338 MB / 0.5275 GB, free: 14.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004004/0.3961, allocations: 245 kB / 0.5277 GB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.3962, allocations: 87.31 kB / 0.5278 GB, free: 13.83 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.3962, allocations: 2.75 kB / 0.5278 GB, free: 13.83 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.3963, allocations: 37.31 kB / 0.5279 GB, free: 13.79 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.653e-06/0.3963, allocations: 4 kB / 0.5279 GB, free: 13.78 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.0004784/0.3967, allocations: 221.8 kB / 0.5281 GB, free: 13.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.104e-05/0.3968, allocations: 157 kB / 0.5282 GB, free: 13.47 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.397, allocations: 211.3 kB / 0.5284 GB, free: 13.31 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.3971, allocations: 31.08 kB / 0.5285 GB, free: 13.27 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.3972, allocations: 192.9 kB / 0.5286 GB, free: 13.1 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.122e-05/0.3973, allocations: 96.83 kB / 0.5287 GB, free: 13.01 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.594e-05/0.3974, allocations: 69.11 kB / 0.5288 GB, free: 12.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.3975, allocations: 337.7 kB / 0.5291 GB, free: 12.63 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.3976, allocations: 66.34 kB / 0.5292 GB, free: 12.6 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/0.3978, allocations: 203 kB / 0.5294 GB, free: 12.38 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003412/0.3982, allocations: 298.7 kB / 0.5297 GB, free: 12.11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.3982, allocations: 5.156 kB / 0.5297 GB, free: 12.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005288/0.3987, allocations: 316.9 kB / 0.53 GB, free: 11.94 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.3988, allocations: 7.344 kB / 0.53 GB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.3988, allocations: 8.5 kB / 0.53 GB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/0.3988, allocations: 8.219 kB / 0.53 GB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003048/0.3991, allocations: 92.42 kB / 0.5301 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.655e-05/0.3991, allocations: 10.88 kB / 0.5301 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001704/0.3993, allocations: 34.36 kB / 0.5301 GB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.759e-05/0.3994, allocations: 18.03 kB / 0.5301 GB, free: 11.88 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (44): * Single equations (assignments): 44 * 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.0001427/0.3995, allocations: 159.4 kB / 0.5303 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.3996, allocations: 23.17 kB / 0.5303 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001784/0.3998, allocations: 85.52 kB / 0.5304 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.3998, allocations: 1.25 kB / 0.5304 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3998, allocations: 5.156 kB / 0.5304 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.456e-05/0.3999, allocations: 104.4 kB / 0.5305 GB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.786e-05/0.3999, allocations: 7.938 kB / 0.5305 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/0.4002, allocations: 5.688 kB / 0.5305 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.4002, allocations: 23.38 kB / 0.5305 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007545/0.401, allocations: 0.6106 MB / 0.5311 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000584/0.4016, allocations: 0.7368 MB / 0.5319 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001229/0.4017, allocations: 77.22 kB / 0.5319 GB, free: 10.31 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000123/0.4019, allocations: 151 kB / 0.5321 GB, free: 10.2 MB / 398.1 MB Notification: Performance of Backend: time 4.61e-07/0.4019, allocations: 0 / 0.5321 GB, free: 10.2 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008739/0.4028, allocations: 230 kB / 0.5323 GB, free: 10.07 MB / 398.1 MB Notification: Performance of SimCode: time 0.002061/0.4048, allocations: 1.58 MB / 0.5338 GB, free: 8.719 MB / 398.1 MB Notification: Performance of Templates: time 0.007522/0.4124, allocations: 3.145 MB / 0.5369 GB, free: 7.156 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestBraking/TestBraking.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches