Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 111.7 kB / 18.45 MB, free: 4.566 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.00113/0.00113, allocations: 186.1 kB / 19.38 MB, free: 3.645 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.365/1.365, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2162/0.2162, allocations: 44.18 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 63.89 kB / 471.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3523, allocations: 60.82 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.005832/0.3582, allocations: 2.831 MB / 0.5223 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001999/0.3602, allocations: 0.6969 MB / 0.523 GB, free: 1.105 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000501/0.3607, allocations: 6.906 kB / 0.523 GB, free: 1.105 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003272/0.3611, allocations: 59.27 kB / 0.5231 GB, free: 1.066 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006267/0.3617, allocations: 129.2 kB / 0.5232 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000506/0.3623, allocations: 89.67 kB / 0.5233 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008412/0.3631, allocations: 436.6 kB / 0.5237 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003304/0.3635, allocations: 136.6 kB / 0.5238 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003622/0.3638, allocations: 171.7 kB / 0.524 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002333/0.3641, allocations: 174.8 kB / 0.5242 GB, free: 484 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.642e-05/0.3641, allocations: 37.06 kB / 0.5242 GB, free: 480 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.842e-05/0.3642, allocations: 32.56 kB / 0.5242 GB, free: 480 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.691e-05/0.3643, allocations: 79.12 kB / 0.5243 GB, free: 424 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001772/0.3645, allocations: 196 kB / 0.5245 GB, free: 308 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005687/0.365, allocations: 435.4 kB / 0.5249 GB, free: 132 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3651, allocations: 0.7031 kB / 0.5249 GB, free: 132 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3651, allocations: 0 / 0.5249 GB, free: 132 kB / 382.1 MB Notification: Performance of Transformations before backend: time 9.849e-06/0.3651, allocations: 0 / 0.5249 GB, free: 132 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001102/0.3662, allocations: 0.6568 MB / 0.5255 GB, free: 15.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.3663, allocations: 10.27 kB / 0.5255 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.773e-05/0.3663, allocations: 41.7 kB / 0.5256 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004235/0.3668, allocations: 282.2 kB / 0.5259 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.166e-05/0.3668, allocations: 28.69 kB / 0.5259 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.11e-05/0.3669, allocations: 41.94 kB / 0.5259 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007176/0.3676, allocations: 398.1 kB / 0.5263 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.613e-05/0.3677, allocations: 16.34 kB / 0.5263 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.49e-05/0.3677, allocations: 19.81 kB / 0.5263 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.3677, allocations: 9.25 kB / 0.5263 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004347/0.3682, allocations: 221.9 kB / 0.5266 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002355/0.3705, allocations: 1.713 MB / 0.5282 GB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004529/0.371, allocations: 261.2 kB / 0.5285 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/0.3712, allocations: 94.92 kB / 0.5286 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.215e-05/0.3712, allocations: 10.48 kB / 0.5286 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.5e-05/0.3713, allocations: 58.33 kB / 0.5286 GB, free: 13.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 2.555e-06/0.3713, allocations: 0 / 0.5286 GB, free: 13.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=26): time 0.000765/0.3721, allocations: 257.3 kB / 0.5289 GB, free: 13.03 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.3722, allocations: 213.6 kB / 0.5291 GB, free: 12.78 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002789/0.3725, allocations: 277.1 kB / 0.5293 GB, free: 12.58 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.42e-05/0.3725, allocations: 31.11 kB / 0.5294 GB, free: 12.54 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/0.3727, allocations: 241.5 kB / 0.5296 GB, free: 12.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.482e-05/0.3728, allocations: 125 kB / 0.5297 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.3729, allocations: 103.5 kB / 0.5298 GB, free: 12.14 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.3731, allocations: 342.5 kB / 0.5302 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001952/0.3733, allocations: 101.1 kB / 0.5303 GB, free: 11.76 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004936/0.3738, allocations: 433.7 kB / 0.5307 GB, free: 11.26 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007178/0.3745, allocations: 0.5608 MB / 0.5312 GB, free: 10.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.3745, allocations: 6.312 kB / 0.5312 GB, free: 10.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001073/0.3756, allocations: 0.5249 MB / 0.5317 GB, free: 10.4 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.489e-05/0.3756, allocations: 9.688 kB / 0.5317 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.75e-05/0.3757, allocations: 11.34 kB / 0.5318 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.437e-05/0.3757, allocations: 16.16 kB / 0.5318 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005251/0.3762, allocations: 149 kB / 0.5319 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.621e-05/0.3763, allocations: 27.17 kB / 0.5319 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003742/0.3767, allocations: 67.52 kB / 0.532 GB, free: 10.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.168e-05/0.3767, allocations: 39.17 kB / 0.532 GB, free: 10.3 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (71): * Single equations (assignments): 71 * 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.0002154/0.377, allocations: 180.4 kB / 0.5322 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/0.3771, allocations: 31.97 kB / 0.5322 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.534e-05/0.3772, allocations: 38.23 kB / 0.5323 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.3772, allocations: 1.5 kB / 0.5323 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.269e-06/0.3773, allocations: 2.656 kB / 0.5323 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.474e-05/0.3774, allocations: 110 kB / 0.5324 GB, free: 9.977 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.69e-05/0.3774, allocations: 8.719 kB / 0.5324 GB, free: 9.973 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003531/0.3778, allocations: 16.2 kB / 0.5324 GB, free: 9.961 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.17e-05/0.3779, allocations: 26.47 kB / 0.5324 GB, free: 9.945 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001041/0.3789, allocations: 0.8082 MB / 0.5332 GB, free: 9.262 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009413/0.3799, allocations: 0.9578 MB / 0.5342 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001945/0.3801, allocations: 90.12 kB / 0.5342 GB, free: 8.395 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000181/0.3803, allocations: 184.1 kB / 0.5344 GB, free: 8.27 MB / 398.1 MB Notification: Performance of Backend: time 5.71e-07/0.3803, allocations: 0 / 0.5344 GB, free: 8.27 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001216/0.3815, allocations: 316.2 kB / 0.5347 GB, free: 8.094 MB / 398.1 MB Notification: Performance of SimCode: time 0.002574/0.3841, allocations: 2.029 MB / 0.5367 GB, free: 6.367 MB / 398.1 MB Notification: Performance of Templates: time 0.008813/0.3929, allocations: 3.546 MB / 0.5402 GB, free: 4.621 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions2/Directions2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches