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.001179/0.001179, allocations: 107.9 kB / 17.09 MB, free: 6.012 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.001263/0.001263, allocations: 198.2 kB / 18.02 MB, free: 5.094 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.349/1.349, allocations: 205.1 MB / 223.9 MB, free: 12.28 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.2046/0.2046, allocations: 43.53 MB / 314.8 MB, free: 468 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.001416/0.001416, allocations: 71.89 kB / 442.5 MB, free: 5.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1035, allocations: 57.78 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.005765/0.1093, allocations: 2.84 MB / 0.4913 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00193/0.1112, allocations: 0.7409 MB / 0.492 GB, free: 8.219 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003356/0.1116, allocations: 7.938 kB / 0.492 GB, free: 8.211 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002785/0.1119, allocations: 63.33 kB / 0.4921 GB, free: 8.148 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004273/0.1123, allocations: 122.9 kB / 0.4922 GB, free: 8.027 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000361/0.1127, allocations: 83.89 kB / 0.4923 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000562/0.1133, allocations: 434 kB / 0.4927 GB, free: 7.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003421/0.1137, allocations: 145.5 kB / 0.4929 GB, free: 7.375 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002871/0.114, allocations: 167.4 kB / 0.493 GB, free: 7.211 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003144/0.1143, allocations: 183.1 kB / 0.4932 GB, free: 7.031 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.912e-05/0.1144, allocations: 36 kB / 0.4932 GB, free: 6.996 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.219e-05/0.1145, allocations: 32 kB / 0.4933 GB, free: 6.965 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.733e-05/0.1146, allocations: 79.7 kB / 0.4933 GB, free: 6.887 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002238/0.1148, allocations: 195.1 kB / 0.4935 GB, free: 6.695 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005641/0.1154, allocations: 434.5 kB / 0.4939 GB, free: 6.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.1154, allocations: 0 / 0.4939 GB, free: 6.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1154, allocations: 0 / 0.4939 GB, free: 6.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.1154, allocations: 0 / 0.4939 GB, free: 6.27 MB / 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.001259/0.1167, allocations: 0.6397 MB / 0.4946 GB, free: 5.582 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.1167, allocations: 11.89 kB / 0.4946 GB, free: 5.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.1168, allocations: 40.47 kB / 0.4946 GB, free: 5.531 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004744/0.1173, allocations: 292.3 kB / 0.4949 GB, free: 5.207 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.343e-05/0.1174, allocations: 29.38 kB / 0.4949 GB, free: 5.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.327e-05/0.1175, allocations: 36.38 kB / 0.4949 GB, free: 5.145 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008794/0.1184, allocations: 398.4 kB / 0.4953 GB, free: 4.723 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.527e-05/0.1184, allocations: 11.91 kB / 0.4953 GB, free: 4.711 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.312e-05/0.1185, allocations: 15.94 kB / 0.4954 GB, free: 4.695 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/0.1185, allocations: 8 kB / 0.4954 GB, free: 4.688 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006269/0.1191, allocations: 223.7 kB / 0.4956 GB, free: 4.469 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002946/0.1221, allocations: 1.707 MB / 0.4972 GB, free: 2.652 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005719/0.1227, allocations: 266.3 kB / 0.4975 GB, free: 2.328 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002124/0.1229, allocations: 98.06 kB / 0.4976 GB, free: 2.211 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.123, allocations: 11.98 kB / 0.4976 GB, free: 2.199 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/0.123, allocations: 42.67 kB / 0.4976 GB, free: 2.148 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 2.184e-06/0.123, allocations: 0 / 0.4976 GB, free: 2.148 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.0009787/0.124, allocations: 257.5 kB / 0.4979 GB, free: 1.891 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/0.1241, allocations: 221.9 kB / 0.4981 GB, free: 1.625 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003726/0.1245, allocations: 274.9 kB / 0.4984 GB, free: 1.344 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.1246, allocations: 29.7 kB / 0.4984 GB, free: 1.309 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/0.1248, allocations: 239.3 kB / 0.4986 GB, free: 1.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.1249, allocations: 122.3 kB / 0.4987 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001669/0.1251, allocations: 98.25 kB / 0.4988 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.1253, allocations: 346.7 kB / 0.4992 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002835/0.1256, allocations: 101.3 kB / 0.4993 GB, free: 412 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005887/0.1262, allocations: 424.9 kB / 0.4997 GB, free: 15.83 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009158/0.1271, allocations: 0.5741 MB / 0.5002 GB, free: 15.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/0.1271, allocations: 4 kB / 0.5002 GB, free: 15.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001207/0.1283, allocations: 0.5251 MB / 0.5007 GB, free: 14.56 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.1284, allocations: 8 kB / 0.5007 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.1284, allocations: 12 kB / 0.5008 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.531e-05/0.1284, allocations: 16 kB / 0.5008 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006566/0.1291, allocations: 147.8 kB / 0.5009 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.924e-05/0.1291, allocations: 19.92 kB / 0.5009 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004923/0.1297, allocations: 67.66 kB / 0.501 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.406e-05/0.1297, allocations: 43.97 kB / 0.501 GB, free: 14.25 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.000222/0.13, allocations: 185.4 kB / 0.5012 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002716/0.1303, allocations: 31.62 kB / 0.5012 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.698e-05/0.1303, allocations: 33.78 kB / 0.5013 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.1304, allocations: 4 kB / 0.5013 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1304, allocations: 0 / 0.5013 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.326e-05/0.1305, allocations: 108.7 kB / 0.5014 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.763e-05/0.1306, allocations: 8 kB / 0.5014 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005992/0.1312, allocations: 19.94 kB / 0.5014 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.422e-05/0.1313, allocations: 23.91 kB / 0.5014 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001431/0.1327, allocations: 0.8087 MB / 0.5022 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001127/0.1338, allocations: 0.9509 MB / 0.5032 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002347/0.1341, allocations: 83.89 kB / 0.5032 GB, free: 11.94 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000218/0.1343, allocations: 190 kB / 0.5034 GB, free: 11.76 MB / 398.1 MB Notification: Performance of Backend: time 5.11e-07/0.1343, allocations: 3.938 kB / 0.5034 GB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001819/0.1362, allocations: 318.2 kB / 0.5037 GB, free: 11.44 MB / 398.1 MB Notification: Performance of SimCode: time 0.003552/0.1397, allocations: 1.989 MB / 0.5057 GB, free: 9.398 MB / 398.1 MB Notification: Performance of Templates: time 0.01111/0.1509, allocations: 3.667 MB / 0.5092 GB, free: 5.738 MB / 398.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 -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