Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001266/0.001266, allocations: 99.38 kB / 16.93 MB, free: 6.16 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.001304/0.001305, allocations: 191.6 kB / 17.86 MB, free: 5.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 205.1 MB / 223.7 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2045/0.2045, allocations: 43.52 MB / 314.6 MB, free: 0.5391 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 66.91 kB / 383.4 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08963/0.0911, allocations: 57.8 MB / 441.2 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.003171/0.09431, allocations: 2.827 MB / 444 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009229/0.09526, allocations: 0.7564 MB / 444.8 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001435/0.09542, allocations: 8 kB / 444.8 MB, free: 3.289 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001602/0.09558, allocations: 59.33 kB / 444.8 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001845/0.09579, allocations: 126.9 kB / 445 MB, free: 3.105 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.09605, allocations: 91.86 kB / 445 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002785/0.09634, allocations: 446.4 kB / 445.5 MB, free: 2.578 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002546/0.0966, allocations: 190.4 kB / 445.7 MB, free: 2.391 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.09675, allocations: 167.4 kB / 445.8 MB, free: 2.227 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.09692, allocations: 195.1 kB / 446 MB, free: 2.035 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.215e-05/0.09697, allocations: 36 kB / 446.1 MB, free: 2 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.945e-05/0.09702, allocations: 35.94 kB / 446.1 MB, free: 1.965 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.958e-05/0.09708, allocations: 83.7 kB / 446.2 MB, free: 1.883 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.09721, allocations: 207 kB / 446.4 MB, free: 1.68 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002723/0.09749, allocations: 438.4 kB / 446.8 MB, free: 1.25 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.0975, allocations: 0 / 446.8 MB, free: 1.25 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.09751, allocations: 0 / 446.8 MB, free: 1.25 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.09752, allocations: 0 / 446.8 MB, free: 1.25 MB / 318.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.0007718/0.0983, allocations: 0.6667 MB / 447.5 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.09834, allocations: 15.89 kB / 447.5 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.329e-05/0.09841, allocations: 40.47 kB / 447.5 MB, free: 492 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.09863, allocations: 288.5 kB / 447.8 MB, free: 164 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.09866, allocations: 37.25 kB / 447.8 MB, free: 128 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.884e-05/0.09872, allocations: 48.27 kB / 447.9 MB, free: 80 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005929/0.09931, allocations: 381.3 kB / 448.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.853e-05/0.09934, allocations: 0 / 448.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.247e-05/0.09938, allocations: 23.98 kB / 448.3 MB, free: 15.67 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.0994, allocations: 12 kB / 448.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004724/0.09988, allocations: 239.8 kB / 448.5 MB, free: 15.42 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001498/0.1014, allocations: 1.108 MB / 449.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005049/0.1019, allocations: 351.5 kB / 450 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002748/0.1022, allocations: 174.4 kB / 450.2 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.1022, allocations: 8 kB / 450.2 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.1023, allocations: 42.56 kB / 450.2 MB, free: 13.64 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.482e-06/0.1023, allocations: 0 / 450.2 MB, free: 13.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=57): time 0.003589/0.1059, allocations: 2.441 MB / 452.6 MB, free: 10.94 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.033e-05/0.106, allocations: 106.8 kB / 452.8 MB, free: 10.81 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.1062, allocations: 242.6 kB / 453 MB, free: 10.57 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.1062, allocations: 33.7 kB / 453 MB, free: 10.53 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.1063, allocations: 188.6 kB / 453.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.1065, allocations: 201 kB / 453.4 MB, free: 10.14 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.1066, allocations: 90.25 kB / 453.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1067, allocations: 350.7 kB / 453.8 MB, free: 9.691 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002533/0.107, allocations: 129 kB / 454 MB, free: 9.562 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002967/0.1073, allocations: 231.8 kB / 454.2 MB, free: 9.301 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005898/0.1079, allocations: 398 kB / 454.6 MB, free: 8.875 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1079, allocations: 0 / 454.6 MB, free: 8.875 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009486/0.1088, allocations: 0.5577 MB / 455.1 MB, free: 8.301 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.1089, allocations: 4 kB / 455.1 MB, free: 8.297 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.1089, allocations: 4 kB / 455.1 MB, free: 8.293 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003514/0.1092, allocations: 130.7 kB / 455.3 MB, free: 8.156 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003655/0.1096, allocations: 95.88 kB / 455.4 MB, free: 8.062 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003785/0.1134, allocations: 5.209 MB / 460.6 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002474/0.1137, allocations: 23.98 kB / 460.6 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.265e-05/0.1137, allocations: 24 kB / 460.6 MB, free: 2.387 MB / 334.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.0001945/0.1139, allocations: 161.7 kB / 460.8 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.114, allocations: 39.53 kB / 460.8 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.132e-05/0.1141, allocations: 46.23 kB / 460.9 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.1141, allocations: 8 kB / 460.9 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-05/0.1142, allocations: 7.938 kB / 460.9 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.1142, allocations: 3.984 kB / 460.9 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001838/0.116, allocations: 1.325 MB / 462.2 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.116, allocations: 4 kB / 462.2 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004015/0.1165, allocations: 91.89 kB / 462.3 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002657/0.1167, allocations: 102.5 kB / 462.4 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.935e-05/0.1168, allocations: 23.86 kB / 462.4 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003051/0.1198, allocations: 4.415 MB / 466.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.1199, allocations: 4.031 kB / 466.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/0.1211, allocations: 0.927 MB / 467.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.889e-05/0.1212, allocations: 108.7 kB / 467.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.338e-05/0.1213, allocations: 12.06 kB / 467.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002572/0.1216, allocations: 15.98 kB / 467.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.1217, allocations: 51.81 kB / 468 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.366e-05/0.1217, allocations: 16 kB / 468 MB, free: 10.47 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001534/0.1219, allocations: 170 kB / 468.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.393e-06/0.1219, allocations: 0 / 468.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006865/0.1226, allocations: 131.9 kB / 468.3 MB, free: 10.18 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * 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,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001404/0.1227, allocations: 111.3 kB / 468.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001298/0.124, allocations: 0.8049 MB / 469.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.124, allocations: 0 / 469.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007116/0.1248, allocations: 0.577 MB / 469.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006771/0.1254, allocations: 56.47 kB / 469.8 MB, free: 8.551 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.1272, allocations: 1.101 MB / 470.9 MB, free: 7.402 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003638/0.1276, allocations: 0.8202 MB / 471.7 MB, free: 6.551 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.491e-05/0.1276, allocations: 35.44 kB / 471.8 MB, free: 6.52 MB / 350.1 MB Notification: Performance of SimCode: time 8.01e-07/0.1277, allocations: 0 / 471.8 MB, free: 6.52 MB / 350.1 MB Notification: Performance of Templates: time 0.01026/0.1379, allocations: 9.3 MB / 481.1 MB, free: 13.21 MB / 366.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches