Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.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.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001214, allocations: 112.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.001366/0.001367, allocations: 183 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.357/1.357, 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.2124/0.2124, allocations: 44.19 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 68.03 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3695, allocations: 60.82 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.005112/0.3746, allocations: 2.839 MB / 0.5223 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.3762, allocations: 0.7129 MB / 0.523 GB, free: 1.098 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002078/0.3764, allocations: 8.031 kB / 0.523 GB, free: 1.098 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000264/0.3767, allocations: 64.89 kB / 0.5231 GB, free: 1.055 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003251/0.3771, allocations: 127.2 kB / 0.5232 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000351/0.3774, allocations: 93.23 kB / 0.5233 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000562/0.378, allocations: 441.8 kB / 0.5237 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003941/0.3784, allocations: 188.4 kB / 0.5239 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002778/0.3787, allocations: 174.7 kB / 0.5241 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002982/0.379, allocations: 195.7 kB / 0.5243 GB, free: 420 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.282e-05/0.3791, allocations: 35.66 kB / 0.5243 GB, free: 420 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.343e-05/0.3792, allocations: 35.25 kB / 0.5243 GB, free: 420 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.708e-05/0.3793, allocations: 79.94 kB / 0.5244 GB, free: 364 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002207/0.3795, allocations: 203.4 kB / 0.5246 GB, free: 240 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006531/0.3802, allocations: 459.2 kB / 0.525 GB, free: 48 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3802, allocations: 1.125 kB / 0.525 GB, free: 48 kB / 382.1 MB Notification: Performance of FrontEnd: time 3.386e-06/0.3802, allocations: 4.453 kB / 0.525 GB, free: 44 kB / 382.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.3802, allocations: 0 / 0.525 GB, free: 44 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001371/0.3816, allocations: 0.6727 MB / 0.5257 GB, free: 15.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.3817, allocations: 8.734 kB / 0.5257 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.3818, allocations: 53.84 kB / 0.5258 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005407/0.3824, allocations: 283 kB / 0.526 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.225e-05/0.3824, allocations: 29.28 kB / 0.5261 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.3825, allocations: 46.5 kB / 0.5261 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.3835, allocations: 383.5 kB / 0.5265 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.233e-05/0.3836, allocations: 10.2 kB / 0.5265 GB, free: 14.99 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.427e-05/0.3837, allocations: 16.5 kB / 0.5265 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.3837, allocations: 10.42 kB / 0.5265 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008029/0.3845, allocations: 237.2 kB / 0.5267 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00254/0.3871, allocations: 1.103 MB / 0.5278 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009012/0.388, allocations: 348.8 kB / 0.5281 GB, free: 13.89 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004891/0.3885, allocations: 177.8 kB / 0.5283 GB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.565e-05/0.3885, allocations: 4.375 kB / 0.5283 GB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.107e-05/0.3886, allocations: 40.88 kB / 0.5284 GB, free: 13.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=39): time 2.825e-06/0.3886, allocations: 7.938 kB / 0.5284 GB, free: 13.74 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.005995/0.3946, allocations: 2.472 MB / 0.5308 GB, free: 11.72 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.705e-05/0.3947, allocations: 108.5 kB / 0.5309 GB, free: 11.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004006/0.3951, allocations: 245.8 kB / 0.5311 GB, free: 11.41 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.799e-05/0.3952, allocations: 32.92 kB / 0.5311 GB, free: 11.38 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/0.3954, allocations: 181.1 kB / 0.5313 GB, free: 11.21 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002339/0.3956, allocations: 209 kB / 0.5315 GB, free: 11.03 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001965/0.3959, allocations: 94.45 kB / 0.5316 GB, free: 10.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002209/0.3961, allocations: 351.3 kB / 0.5319 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000435/0.3965, allocations: 126.2 kB / 0.5321 GB, free: 10.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005261/0.3971, allocations: 227 kB / 0.5323 GB, free: 10.39 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009857/0.3981, allocations: 400.8 kB / 0.5327 GB, free: 10.13 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3981, allocations: 1.844 kB / 0.5327 GB, free: 10.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001594/0.3997, allocations: 0.5613 MB / 0.5332 GB, free: 9.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.3997, allocations: 5.219 kB / 0.5332 GB, free: 9.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.3998, allocations: 2.688 kB / 0.5332 GB, free: 9.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005648/0.4003, allocations: 121 kB / 0.5333 GB, free: 9.754 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006166/0.401, allocations: 93.11 kB / 0.5334 GB, free: 9.734 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006258/0.4072, allocations: 5.209 MB / 0.5385 GB, free: 4.609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004645/0.4077, allocations: 28.14 kB / 0.5385 GB, free: 4.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.324e-05/0.4078, allocations: 18.19 kB / 0.5386 GB, free: 4.586 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003368/0.4082, allocations: 169.6 kB / 0.5387 GB, free: 4.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/0.4083, allocations: 46.44 kB / 0.5388 GB, free: 4.402 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/0.4085, allocations: 40.03 kB / 0.5388 GB, free: 4.367 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.4085, allocations: 5.172 kB / 0.5388 GB, free: 4.363 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.4085, allocations: 1.188 kB / 0.5388 GB, free: 4.363 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.4086, allocations: 118.1 kB / 0.5389 GB, free: 4.238 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.04e-05/0.4087, allocations: 11.34 kB / 0.5389 GB, free: 4.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003946/0.4091, allocations: 14.78 kB / 0.5389 GB, free: 4.223 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/0.4092, allocations: 48.98 kB / 0.539 GB, free: 4.195 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002231/0.4115, allocations: 0.8241 MB / 0.5398 GB, free: 3.641 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001773/0.4133, allocations: 0.9323 MB / 0.5407 GB, free: 2.988 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004904/0.4138, allocations: 174.5 kB / 0.5409 GB, free: 2.902 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002493/0.4141, allocations: 170.9 kB / 0.541 GB, free: 2.781 MB / 398.1 MB Notification: Performance of Backend: time 6.91e-07/0.4141, allocations: 0 / 0.541 GB, free: 2.781 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001828/0.4159, allocations: 0.7317 MB / 0.5417 GB, free: 2.203 MB / 398.1 MB Notification: Performance of SimCode: time 0.002003/0.4179, allocations: 1.568 MB / 0.5433 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of Templates: time 0.009739/0.4277, allocations: 4.898 MB / 0.5481 GB, free: 13.71 MB / 414.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches