Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 109 kB / 20.45 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 215.3 kB / 23.76 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.287/1.287, allocations: 207.6 MB / 234.5 MB, free: 9.996 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.199/0.199, allocations: 44.23 MB / 331 MB, free: 9.539 MB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 75.88 kB / 468.7 MB, free: 4.02 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1043, allocations: 61.04 MB / 0.5174 GB, free: 6.844 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.004244/0.1086, allocations: 2.855 MB / 0.5202 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0014/0.11, allocations: 0.7526 MB / 0.5209 GB, free: 3.211 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002573/0.1102, allocations: 11.94 kB / 0.5209 GB, free: 3.199 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002085/0.1104, allocations: 51.45 kB / 0.521 GB, free: 3.148 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003444/0.1108, allocations: 138.8 kB / 0.5211 GB, free: 3.012 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003077/0.1111, allocations: 83.89 kB / 0.5212 GB, free: 2.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005236/0.1116, allocations: 437.9 kB / 0.5216 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002187/0.1118, allocations: 106 kB / 0.5217 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002703/0.1121, allocations: 171.4 kB / 0.5218 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002715/0.1124, allocations: 183.2 kB / 0.522 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.774e-05/0.1124, allocations: 32 kB / 0.5221 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.771e-05/0.1125, allocations: 32 kB / 0.5221 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.855e-05/0.1126, allocations: 75.7 kB / 0.5222 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001994/0.1128, allocations: 203 kB / 0.5223 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004722/0.1132, allocations: 434.2 kB / 0.5228 GB, free: 1.289 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1132, allocations: 3.938 kB / 0.5228 GB, free: 1.285 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1132, allocations: 0 / 0.5228 GB, free: 1.285 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.1132, allocations: 0 / 0.5228 GB, free: 1.285 MB / 398.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.0009615/0.1142, allocations: 0.5794 MB / 0.5233 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.1142, allocations: 8.031 kB / 0.5233 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.048e-05/0.1143, allocations: 48.7 kB / 0.5234 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003775/0.1147, allocations: 210.8 kB / 0.5236 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.874e-05/0.1147, allocations: 29.38 kB / 0.5236 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.368e-05/0.1148, allocations: 44.31 kB / 0.5237 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006362/0.1154, allocations: 394.4 kB / 0.524 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.205e-05/0.1155, allocations: 11.94 kB / 0.524 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.399e-05/0.1155, allocations: 16 kB / 0.5241 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.1155, allocations: 8 kB / 0.5241 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004264/0.1159, allocations: 219.7 kB / 0.5243 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002273/0.1182, allocations: 1.672 MB / 0.5259 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004397/0.1187, allocations: 258.3 kB / 0.5262 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001588/0.1188, allocations: 98.06 kB / 0.5262 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.1188, allocations: 4 kB / 0.5263 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.1189, allocations: 42.5 kB / 0.5263 GB, free: 13.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 4.869e-06/0.1189, allocations: 4 kB / 0.5263 GB, free: 13.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=26): time 0.0006618/0.1195, allocations: 261.3 kB / 0.5265 GB, free: 13.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.1197, allocations: 217.6 kB / 0.5268 GB, free: 12.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/0.1199, allocations: 276.1 kB / 0.527 GB, free: 12.58 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.1199, allocations: 30.08 kB / 0.527 GB, free: 12.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/0.1201, allocations: 252.1 kB / 0.5273 GB, free: 12.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.1202, allocations: 119 kB / 0.5274 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.1204, allocations: 98.3 kB / 0.5275 GB, free: 12.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.1205, allocations: 350.7 kB / 0.5278 GB, free: 11.72 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.1207, allocations: 97.27 kB / 0.5279 GB, free: 11.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004372/0.1212, allocations: 428.8 kB / 0.5283 GB, free: 11.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007072/0.1219, allocations: 0.5663 MB / 0.5289 GB, free: 10.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.1219, allocations: 0 / 0.5289 GB, free: 10.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.000863/0.1227, allocations: 0.5366 MB / 0.5294 GB, free: 9.777 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.1228, allocations: 12 kB / 0.5294 GB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.1228, allocations: 16.09 kB / 0.5294 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.515e-05/0.1228, allocations: 12 kB / 0.5294 GB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004291/0.1232, allocations: 147.8 kB / 0.5296 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.573e-05/0.1232, allocations: 23.92 kB / 0.5296 GB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002848/0.1235, allocations: 59.58 kB / 0.5297 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.642e-05/0.1236, allocations: 35.98 kB / 0.5297 GB, free: 9.477 MB / 414.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.0001752/0.1237, allocations: 181.5 kB / 0.5299 GB, free: 9.289 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/0.1239, allocations: 40.17 kB / 0.5299 GB, free: 9.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.416e-05/0.124, allocations: 33.78 kB / 0.5299 GB, free: 9.211 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.124, allocations: 4 kB / 0.5299 GB, free: 9.207 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.124, allocations: 4 kB / 0.53 GB, free: 9.203 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.124, allocations: 3.984 kB / 0.53 GB, free: 9.199 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/0.1252, allocations: 0.6198 MB / 0.5306 GB, free: 8.523 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1252, allocations: 4.062 kB / 0.5306 GB, free: 8.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004171/0.1256, allocations: 95.88 kB / 0.5307 GB, free: 8.426 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.1256, allocations: 4 kB / 0.5307 GB, free: 8.422 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.207e-05/0.1257, allocations: 12.06 kB / 0.5307 GB, free: 8.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-06/0.1257, allocations: 7.938 kB / 0.5307 GB, free: 8.402 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.1257, allocations: 7.984 kB / 0.5307 GB, free: 8.395 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007614/0.1264, allocations: 0.8221 MB / 0.5315 GB, free: 7.547 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.923e-05/0.1265, allocations: 39.73 kB / 0.5315 GB, free: 7.508 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.279e-05/0.1265, allocations: 12 kB / 0.5315 GB, free: 7.496 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003229/0.1269, allocations: 11.94 kB / 0.5315 GB, free: 7.484 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.829e-05/0.1269, allocations: 23.89 kB / 0.5316 GB, free: 7.461 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.1269, allocations: 12 kB / 0.5316 GB, free: 7.449 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001682/0.1271, allocations: 187.1 kB / 0.5318 GB, free: 7.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1271, allocations: 0 / 0.5318 GB, free: 7.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006698/0.1278, allocations: 95.89 kB / 0.5319 GB, free: 7.176 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.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 (26): * Single equations (assignments): 26 * 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 Backend phase and start with SimCode phase: time 0.0001249/0.1279, allocations: 111.1 kB / 0.532 GB, free: 7.059 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005096/0.1284, allocations: 285.2 kB / 0.5322 GB, free: 6.781 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.1284, allocations: 0 / 0.5322 GB, free: 6.781 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.1286, allocations: 93.27 kB / 0.5323 GB, free: 6.691 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009277/0.1295, allocations: 72.95 kB / 0.5324 GB, free: 6.617 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002231/0.1317, allocations: 1.591 MB / 0.5339 GB, free: 4.961 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003946/0.1321, allocations: 0.7951 MB / 0.5347 GB, free: 4.141 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.501e-05/0.1322, allocations: 31.38 kB / 0.5347 GB, free: 4.109 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1322, allocations: 4 kB / 0.5348 GB, free: 4.105 MB / 414.1 MB Notification: Performance of Templates: time 0.1774/0.3096, allocations: 4.189 MB / 0.5388 GB, free: 27.36 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions2/Directions2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.093933905940503]