Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.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.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|bearingFriction1.mode|bearingFriction1.startBackward|bearingFriction1.startForward",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") translateModel(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|bearingFriction1.mode|bearingFriction1.startBackward|bearingFriction1.startForward",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 113.9 kB / 18.46 MB, free: 4.617 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.001661/0.001661, allocations: 186.1 kB / 19.39 MB, free: 3.695 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.484/1.484, allocations: 222.9 MB / 243.1 MB, free: 15.08 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.2923/0.2923, allocations: 44.18 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 59.91 kB / 471.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3767, allocations: 60.81 MB / 0.5195 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.003122/0.3798, allocations: 2.251 MB / 0.5217 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.3811, allocations: 0.7209 MB / 0.5225 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.3813, allocations: 7.406 kB / 0.5225 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001931/0.3815, allocations: 37.59 kB / 0.5225 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000141/0.3816, allocations: 76.09 kB / 0.5226 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004556/0.3821, allocations: 127.3 kB / 0.5227 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004178/0.3825, allocations: 343.7 kB / 0.523 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002042/0.3827, allocations: 88.89 kB / 0.5231 GB, free: 1.184 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002551/0.383, allocations: 141.2 kB / 0.5232 GB, free: 1.125 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002448/0.3832, allocations: 158.7 kB / 0.5234 GB, free: 1.055 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.297e-05/0.3833, allocations: 25.72 kB / 0.5234 GB, free: 1.055 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001684/0.3835, allocations: 73.91 kB / 0.5235 GB, free: 1.043 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.565e-05/0.3836, allocations: 68.22 kB / 0.5235 GB, free: 1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.3837, allocations: 126.2 kB / 0.5237 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004818/0.3842, allocations: 349.8 kB / 0.524 GB, free: 0.793 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3842, allocations: 0 / 0.524 GB, free: 0.793 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3842, allocations: 1.156 kB / 0.524 GB, free: 0.793 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.455e-05/0.3842, allocations: 0 / 0.524 GB, free: 0.793 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0008899/0.3851, allocations: 0.5447 MB / 0.5245 GB, free: 344 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.953e-05/0.3852, allocations: 9.906 kB / 0.5245 GB, free: 344 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.524e-05/0.3853, allocations: 29.31 kB / 0.5246 GB, free: 328 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002949/0.3856, allocations: 257.2 kB / 0.5248 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.469e-05/0.3856, allocations: 12.72 kB / 0.5248 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.585e-05/0.3857, allocations: 27.41 kB / 0.5249 GB, free: 60 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005829/0.3863, allocations: 271.1 kB / 0.5251 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.3863, allocations: 1.25 kB / 0.5251 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.551e-05/0.3863, allocations: 14.48 kB / 0.5251 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.3864, allocations: 5.125 kB / 0.5251 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005074/0.3869, allocations: 234.3 kB / 0.5254 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.3883, allocations: 0.7137 MB / 0.5261 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005553/0.3889, allocations: 248.9 kB / 0.5263 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002718/0.3892, allocations: 144.4 kB / 0.5264 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.971e-05/0.3892, allocations: 2.812 kB / 0.5264 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.3893, allocations: 36.38 kB / 0.5265 GB, free: 15.19 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 1.734e-06/0.3893, allocations: 0 / 0.5265 GB, free: 15.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.00324/0.3925, allocations: 1.461 MB / 0.5279 GB, free: 14.15 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.3926, allocations: 55.09 kB / 0.5279 GB, free: 14.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000241/0.3928, allocations: 199.2 kB / 0.5281 GB, free: 13.94 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.356e-05/0.3929, allocations: 32.33 kB / 0.5282 GB, free: 13.9 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.581e-05/0.393, allocations: 136.6 kB / 0.5283 GB, free: 13.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.3931, allocations: 115.9 kB / 0.5284 GB, free: 13.67 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.3932, allocations: 71.03 kB / 0.5285 GB, free: 13.62 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.3933, allocations: 327.7 kB / 0.5288 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002654/0.3936, allocations: 133.2 kB / 0.5289 GB, free: 13.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002866/0.3939, allocations: 167.8 kB / 0.5291 GB, free: 13.13 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004417/0.3944, allocations: 261.5 kB / 0.5293 GB, free: 12.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.3944, allocations: 3.938 kB / 0.5293 GB, free: 12.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008213/0.3952, allocations: 425.5 kB / 0.5297 GB, free: 12.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.3952, allocations: 9.969 kB / 0.5297 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.3952, allocations: 0 / 0.5297 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004932/0.3957, allocations: 240.3 kB / 0.53 GB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002334/0.396, allocations: 56.34 kB / 0.53 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007283/0.3967, allocations: 0.7557 MB / 0.5308 GB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000255/0.397, allocations: 30.81 kB / 0.5308 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.078e-05/0.397, allocations: 16.98 kB / 0.5308 GB, free: 11.97 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (bearingFriction1.free,bearingFriction1.mode,$PRE.bearingFriction1.mode,bearingFriction1.locked,bearingFriction1.startBackward,$PRE.bearingFriction1.startBackward,bearingFriction1.startForward,$PRE.bearingFriction1.startForward) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0001832/0.3972, allocations: 151.4 kB / 0.531 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.164e-05/0.3973, allocations: 22.84 kB / 0.531 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.625e-05/0.3974, allocations: 38.77 kB / 0.531 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3974, allocations: 0 / 0.531 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3974, allocations: 1.094 kB / 0.531 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/0.3975, allocations: 128.9 kB / 0.5311 GB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.432e-05/0.3976, allocations: 7.938 kB / 0.5311 GB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002654/0.3979, allocations: 37.73 kB / 0.5312 GB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.398, allocations: 46.42 kB / 0.5312 GB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001082/0.3991, allocations: 498.4 kB / 0.5317 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008633/0.4, allocations: 0.6168 MB / 0.5323 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002543/0.4002, allocations: 124.2 kB / 0.5324 GB, free: 10.83 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001267/0.4004, allocations: 145.6 kB / 0.5326 GB, free: 10.73 MB / 398.1 MB Notification: Performance of Backend: time 5.51e-07/0.4004, allocations: 0 / 0.5326 GB, free: 10.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009181/0.4013, allocations: 313.1 kB / 0.5329 GB, free: 10.55 MB / 398.1 MB Notification: Performance of SimCode: time 0.001193/0.4025, allocations: 1.048 MB / 0.5339 GB, free: 9.645 MB / 398.1 MB Notification: Performance of Templates: time 0.009206/0.4117, allocations: 4.961 MB / 0.5387 GB, free: 7.129 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/SupportTorque1/SupportTorque1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches