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.001157/0.001157, allocations: 182.1 kB / 19.38 MB, free: 3.68 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.427/1.427, allocations: 222.9 MB / 243.1 MB, free: 15.09 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.2621/0.2621, allocations: 44.19 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 63.89 kB / 471.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4168/0.4183, allocations: 60.82 MB / 0.5195 GB, free: 3.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.004527/0.4228, allocations: 2.699 MB / 0.5222 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001988/0.4249, allocations: 0.9509 MB / 0.5231 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000169/0.4251, allocations: 5.344 kB / 0.5231 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002118/0.4253, allocations: 49.2 kB / 0.5232 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001995/0.4255, allocations: 111.2 kB / 0.5233 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005313/0.426, allocations: 140.2 kB / 0.5234 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000476/0.4265, allocations: 376.6 kB / 0.5238 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002347/0.4268, allocations: 93.53 kB / 0.5238 GB, free: 0.582 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001946/0.427, allocations: 133.7 kB / 0.524 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002602/0.4272, allocations: 144.6 kB / 0.5241 GB, free: 464 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.745e-05/0.4273, allocations: 24.56 kB / 0.5241 GB, free: 464 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001516/0.4274, allocations: 42.69 kB / 0.5242 GB, free: 460 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.98e-05/0.4275, allocations: 63.48 kB / 0.5242 GB, free: 416 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001995/0.4277, allocations: 163.2 kB / 0.5244 GB, free: 320 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005338/0.4283, allocations: 362.9 kB / 0.5247 GB, free: 180 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.02e-05/0.4283, allocations: 4.625 kB / 0.5247 GB, free: 180 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4283, allocations: 3.938 kB / 0.5247 GB, free: 176 kB / 382.1 MB Notification: Performance of Transformations before backend: time 8.196e-06/0.4283, allocations: 0 / 0.5247 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.001012/0.4293, allocations: 0.5924 MB / 0.5253 GB, free: 15.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.4294, allocations: 13.09 kB / 0.5253 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002445/0.4296, allocations: 52.11 kB / 0.5254 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004239/0.4301, allocations: 267.4 kB / 0.5256 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.267e-05/0.4301, allocations: 21.28 kB / 0.5257 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.096e-05/0.4302, allocations: 37.17 kB / 0.5257 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005366/0.4307, allocations: 305.2 kB / 0.526 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/0.4308, allocations: 5.156 kB / 0.526 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.843e-05/0.4308, allocations: 14.06 kB / 0.526 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.4308, allocations: 7.5 kB / 0.526 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003569/0.4312, allocations: 175.4 kB / 0.5262 GB, free: 15.15 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002064/0.4332, allocations: 1.334 MB / 0.5275 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004531/0.4337, allocations: 253 kB / 0.5277 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.4338, allocations: 85.11 kB / 0.5278 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.4339, allocations: 2.75 kB / 0.5278 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.4339, allocations: 38.48 kB / 0.5278 GB, free: 13.8 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.743e-06/0.4339, allocations: 0 / 0.5278 GB, free: 13.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005188/0.4344, allocations: 222.3 kB / 0.5281 GB, free: 13.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.992e-05/0.4345, allocations: 165 kB / 0.5282 GB, free: 13.48 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/0.4347, allocations: 203.3 kB / 0.5284 GB, free: 13.33 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/0.4348, allocations: 31.08 kB / 0.5284 GB, free: 13.3 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.4349, allocations: 195 kB / 0.5286 GB, free: 13.12 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.397e-05/0.435, allocations: 85.53 kB / 0.5287 GB, free: 13.04 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.07e-05/0.4351, allocations: 69.06 kB / 0.5288 GB, free: 12.99 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.4352, allocations: 336.4 kB / 0.5291 GB, free: 12.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.4354, allocations: 67.16 kB / 0.5292 GB, free: 12.63 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/0.4356, allocations: 211.2 kB / 0.5294 GB, free: 12.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003725/0.436, allocations: 291.2 kB / 0.5296 GB, free: 12.14 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.436, allocations: 5.281 kB / 0.5296 GB, free: 12.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004919/0.4365, allocations: 317.6 kB / 0.5299 GB, free: 11.97 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.4365, allocations: 10.33 kB / 0.53 GB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.4365, allocations: 9.469 kB / 0.53 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/0.4366, allocations: 7.125 kB / 0.53 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002913/0.4369, allocations: 87.14 kB / 0.5301 GB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.143e-05/0.4369, allocations: 12.34 kB / 0.5301 GB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/0.4371, allocations: 38.48 kB / 0.5301 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.798e-05/0.4371, allocations: 21.56 kB / 0.5301 GB, free: 11.91 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.000144/0.4373, allocations: 147.5 kB / 0.5303 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.4374, allocations: 24.62 kB / 0.5303 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001884/0.4376, allocations: 95.45 kB / 0.5304 GB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.4376, allocations: 1.406 kB / 0.5304 GB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.4376, allocations: 1.344 kB / 0.5304 GB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.846e-05/0.4377, allocations: 99.5 kB / 0.5305 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.218e-05/0.4377, allocations: 8.5 kB / 0.5305 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002556/0.438, allocations: 9.625 kB / 0.5305 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.686e-05/0.438, allocations: 19.64 kB / 0.5305 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007414/0.4388, allocations: 0.6064 MB / 0.5311 GB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006463/0.4394, allocations: 0.7328 MB / 0.5318 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001178/0.4396, allocations: 74.17 kB / 0.5319 GB, free: 10.36 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001502/0.4397, allocations: 154.3 kB / 0.532 GB, free: 10.24 MB / 398.1 MB Notification: Performance of Backend: time 1.8e-07/0.4397, allocations: 0 / 0.532 GB, free: 10.24 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009374/0.4407, allocations: 237.3 kB / 0.5323 GB, free: 10.1 MB / 398.1 MB Notification: Performance of SimCode: time 0.002203/0.4429, allocations: 1.553 MB / 0.5338 GB, free: 8.777 MB / 398.1 MB Notification: Performance of Templates: time 0.00722/0.4501, allocations: 3.15 MB / 0.5369 GB, free: 7.211 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