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.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.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_3.2.3_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_3.2.3_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.001121/0.001122, allocations: 111.1 kB / 17.04 MB, free: 5.812 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.001113/0.001113, allocations: 195 kB / 17.97 MB, free: 5.027 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.398/1.398, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.2043/0.2043, allocations: 43.52 MB / 314.7 MB, free: 488 kB / 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.001636/0.001636, allocations: 67.77 kB / 384.2 MB, free: 56.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1023, allocations: 57.79 MB / 442 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.003255/0.1056, allocations: 2.818 MB / 444.8 MB, free: 3.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.1068, allocations: 0.7486 MB / 445.5 MB, free: 2.562 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002755/0.1071, allocations: 4 kB / 445.5 MB, free: 2.559 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002041/0.1073, allocations: 59.38 kB / 445.6 MB, free: 2.5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002872/0.1076, allocations: 118.9 kB / 445.7 MB, free: 2.383 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002707/0.1079, allocations: 95.81 kB / 445.8 MB, free: 2.289 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004027/0.1083, allocations: 430 kB / 446.2 MB, free: 1.867 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002405/0.1085, allocations: 141.5 kB / 446.4 MB, free: 1.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002438/0.1088, allocations: 163.4 kB / 446.5 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002296/0.109, allocations: 175.2 kB / 446.7 MB, free: 1.398 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.654e-05/0.1091, allocations: 32 kB / 446.7 MB, free: 1.367 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.105e-05/0.1092, allocations: 40 kB / 446.8 MB, free: 1.328 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.93e-05/0.1092, allocations: 75.69 kB / 446.8 MB, free: 1.254 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001519/0.1094, allocations: 203.1 kB / 447 MB, free: 1.055 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003208/0.1097, allocations: 430.4 kB / 447.5 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1097, allocations: 0 / 447.5 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1097, allocations: 0 / 447.5 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.62e-05/0.1097, allocations: 0 / 447.5 MB, free: 0.6328 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0009108/0.1107, allocations: 0.6474 MB / 448.1 MB, free: 15.94 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.1107, allocations: 11.89 kB / 448.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.797e-05/0.1108, allocations: 44.47 kB / 448.2 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004017/0.1112, allocations: 280.4 kB / 448.4 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.1112, allocations: 29.38 kB / 448.5 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.919e-05/0.1113, allocations: 40.38 kB / 448.5 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006339/0.112, allocations: 398.4 kB / 448.9 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.932e-05/0.112, allocations: 7.906 kB / 448.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.326e-05/0.112, allocations: 16 kB / 448.9 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.1121, allocations: 12 kB / 448.9 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004254/0.1125, allocations: 219.7 kB / 449.1 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0023/0.1148, allocations: 1.715 MB / 450.9 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000403/0.1152, allocations: 262.4 kB / 451.1 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.1154, allocations: 98.02 kB / 451.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.1154, allocations: 4 kB / 451.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.1155, allocations: 42.56 kB / 451.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 3.416e-06/0.1155, allocations: 0 / 451.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.000642/0.1161, allocations: 265 kB / 451.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.02e-05/0.1162, allocations: 210 kB / 451.7 MB, free: 12 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.1164, allocations: 282.9 kB / 452 MB, free: 11.71 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.1165, allocations: 29.7 kB / 452 MB, free: 11.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.1166, allocations: 239.2 kB / 452.3 MB, free: 11.44 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.051e-05/0.1167, allocations: 118.4 kB / 452.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.1168, allocations: 102.2 kB / 452.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.1169, allocations: 342.7 kB / 452.8 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.1171, allocations: 101.2 kB / 452.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004174/0.1175, allocations: 428.8 kB / 453.3 MB, free: 10.19 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000634/0.1181, allocations: 0.5706 MB / 453.9 MB, free: 9.461 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.837e-06/0.1182, allocations: 8 kB / 453.9 MB, free: 9.453 MB / 334.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008582/0.119, allocations: 0.517 MB / 454.4 MB, free: 8.93 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/0.1191, allocations: 13.25 kB / 454.4 MB, free: 8.918 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/0.1191, allocations: 12 kB / 454.4 MB, free: 8.906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.834e-05/0.1191, allocations: 16 kB / 454.5 MB, free: 8.891 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000443/0.1196, allocations: 148.2 kB / 454.6 MB, free: 8.746 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.358e-05/0.1196, allocations: 19.94 kB / 454.6 MB, free: 8.727 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003158/0.1199, allocations: 75.3 kB / 454.7 MB, free: 8.652 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-05/0.12, allocations: 32 kB / 454.7 MB, free: 8.621 MB / 334.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.0001919/0.1202, allocations: 181.6 kB / 454.9 MB, free: 8.434 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/0.1203, allocations: 35.56 kB / 454.9 MB, free: 8.398 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.045e-05/0.1204, allocations: 37.78 kB / 455 MB, free: 8.359 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.1204, allocations: 8 kB / 455 MB, free: 8.352 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.1205, allocations: 3.938 kB / 455 MB, free: 8.348 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.1205, allocations: 7.984 kB / 455 MB, free: 8.34 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001443/0.1219, allocations: 0.6514 MB / 455.7 MB, free: 7.625 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.1219, allocations: 0 / 455.7 MB, free: 7.625 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004689/0.1224, allocations: 87.89 kB / 455.7 MB, free: 7.539 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.1224, allocations: 4 kB / 455.7 MB, free: 7.535 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.455e-05/0.1225, allocations: 15.98 kB / 455.8 MB, free: 7.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/0.1225, allocations: 7.875 kB / 455.8 MB, free: 7.512 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.1225, allocations: 4 kB / 455.8 MB, free: 7.508 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008681/0.1234, allocations: 0.8386 MB / 456.6 MB, free: 6.645 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.1235, allocations: 108.9 kB / 456.7 MB, free: 6.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.073e-05/0.1235, allocations: 8 kB / 456.7 MB, free: 6.512 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003478/0.1239, allocations: 19.86 kB / 456.7 MB, free: 6.492 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.295e-05/0.124, allocations: 23.97 kB / 456.8 MB, free: 6.469 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.124, allocations: 12 kB / 456.8 MB, free: 6.457 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001656/0.1242, allocations: 186 kB / 457 MB, free: 6.277 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1242, allocations: 0 / 457 MB, free: 6.277 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007636/0.125, allocations: 103.8 kB / 457.1 MB, free: 6.176 MB / 334.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.0001123/0.1251, allocations: 105.2 kB / 457.2 MB, free: 6.066 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005172/0.1256, allocations: 297.8 kB / 457.5 MB, free: 5.777 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1256, allocations: 0 / 457.5 MB, free: 5.777 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001806/0.1258, allocations: 92.58 kB / 457.5 MB, free: 5.688 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009501/0.1268, allocations: 77.95 kB / 457.6 MB, free: 5.609 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002201/0.129, allocations: 1.522 MB / 459.1 MB, free: 4.035 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004046/0.1294, allocations: 0.8066 MB / 459.9 MB, free: 3.203 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001562/0.1295, allocations: 35.27 kB / 460 MB, free: 3.172 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.742e-05/0.1296, allocations: 35.42 kB / 460 MB, free: 3.137 MB / 334.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1296, allocations: 0 / 460 MB, free: 3.137 MB / 334.1 MB Notification: Performance of Templates: time 0.006648/0.1363, allocations: 2.925 MB / 462.9 MB, free: 244 kB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile (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 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) 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) Reference file matches