Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 113.2 kB / 17.09 MB, free: 5.965 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.001041/0.001041, allocations: 194.9 kB / 18.02 MB, free: 5.047 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.343/1.343, allocations: 205.1 MB / 223.9 MB, free: 12.26 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.195/0.195, allocations: 43.52 MB / 314.8 MB, free: 464 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.001398/0.001398, allocations: 69.45 kB / 442.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09935/0.1008, allocations: 57.78 MB / 0.4885 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002643/0.1034, allocations: 1.669 MB / 0.4901 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003006/0.1038, allocations: 111.6 kB / 0.4903 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.274e-05/0.1038, allocations: 0 / 0.4903 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.753e-05/0.1039, allocations: 19.8 kB / 0.4903 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.1041, allocations: 31.7 kB / 0.4903 GB, free: 9.996 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001192/0.1042, allocations: 19.97 kB / 0.4903 GB, free: 9.977 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.1043, allocations: 131.4 kB / 0.4904 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.1045, allocations: 37.09 kB / 0.4905 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.547e-05/0.1046, allocations: 51.8 kB / 0.4905 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.549e-05/0.1047, allocations: 51.77 kB / 0.4906 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.1047, allocations: 8 kB / 0.4906 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.148e-05/0.1047, allocations: 8 kB / 0.4906 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.552e-05/0.1048, allocations: 23.92 kB / 0.4906 GB, free: 9.668 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.629e-05/0.1048, allocations: 59.73 kB / 0.4907 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.105, allocations: 135.4 kB / 0.4908 GB, free: 9.477 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.105, allocations: 0 / 0.4908 GB, free: 9.477 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.105, allocations: 0 / 0.4908 GB, free: 9.477 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.105, allocations: 0 / 0.4908 GB, free: 9.477 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005401/0.1056, allocations: 411.4 kB / 0.4912 GB, free: 9.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.1056, allocations: 11.89 kB / 0.4912 GB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.318e-05/0.1057, allocations: 12.78 kB / 0.4912 GB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.1059, allocations: 196.1 kB / 0.4914 GB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.1059, allocations: 12.61 kB / 0.4914 GB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.597e-05/0.1059, allocations: 12.38 kB / 0.4914 GB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000236/0.1062, allocations: 129.5 kB / 0.4916 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.1062, allocations: 4.172 kB / 0.4916 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.1062, allocations: 11.94 kB / 0.4916 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.1062, allocations: 0 / 0.4916 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.1064, allocations: 59.91 kB / 0.4916 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007494/0.1071, allocations: 0.5371 MB / 0.4922 GB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.1073, allocations: 90.61 kB / 0.4922 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.073e-05/0.1073, allocations: 33.8 kB / 0.4923 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.1073, allocations: 7.938 kB / 0.4923 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.1074, allocations: 34.5 kB / 0.4923 GB, free: 7.738 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/0.1074, allocations: 0 / 0.4923 GB, free: 7.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005702/0.1079, allocations: 301.4 kB / 0.4926 GB, free: 7.395 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.108, allocations: 81.11 kB / 0.4927 GB, free: 7.297 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.1081, allocations: 129.7 kB / 0.4928 GB, free: 7.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.1081, allocations: 25.7 kB / 0.4928 GB, free: 7.129 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.324e-05/0.1082, allocations: 115.6 kB / 0.4929 GB, free: 7.012 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.932e-05/0.1082, allocations: 35.45 kB / 0.493 GB, free: 6.977 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.812e-05/0.1083, allocations: 29.72 kB / 0.493 GB, free: 6.941 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.1084, allocations: 322.8 kB / 0.4933 GB, free: 6.617 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.356e-05/0.1085, allocations: 23.98 kB / 0.4933 GB, free: 6.594 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.88e-05/0.1085, allocations: 92.52 kB / 0.4934 GB, free: 6.473 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.1087, allocations: 120.5 kB / 0.4935 GB, free: 6.324 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1087, allocations: 0 / 0.4935 GB, free: 6.324 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002613/0.109, allocations: 167.1 kB / 0.4937 GB, free: 6.148 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.109, allocations: 8 kB / 0.4937 GB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.109, allocations: 3.938 kB / 0.4937 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001865/0.1092, allocations: 41.64 kB / 0.4937 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.682e-05/0.1093, allocations: 23.98 kB / 0.4938 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001907/0.1112, allocations: 2.742 MB / 0.4964 GB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.448e-05/0.1113, allocations: 20 kB / 0.4965 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.1113, allocations: 4 kB / 0.4965 GB, free: 3.023 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001061/0.1114, allocations: 133.7 kB / 0.4966 GB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.907e-05/0.1115, allocations: 7.906 kB / 0.4966 GB, free: 2.875 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.802e-05/0.1115, allocations: 11.84 kB / 0.4966 GB, free: 2.855 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1115, allocations: 3.984 kB / 0.4966 GB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1115, allocations: 0 / 0.4966 GB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.689e-05/0.1116, allocations: 85.11 kB / 0.4967 GB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.1116, allocations: 0 / 0.4967 GB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.202e-05/0.1117, allocations: 8 kB / 0.4967 GB, free: 2.742 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.661e-05/0.1117, allocations: 7.984 kB / 0.4967 GB, free: 2.734 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000352/0.1121, allocations: 285.8 kB / 0.497 GB, free: 2.441 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002303/0.1123, allocations: 373.8 kB / 0.4973 GB, free: 2.059 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.932e-05/0.1124, allocations: 28.06 kB / 0.4974 GB, free: 2.031 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.354e-05/0.1124, allocations: 91.27 kB / 0.4975 GB, free: 1.941 MB / 382.1 MB Notification: Performance of Backend: time 5.71e-07/0.1124, allocations: 4 kB / 0.4975 GB, free: 1.938 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007345/0.1132, allocations: 366.1 kB / 0.4978 GB, free: 1.551 MB / 382.1 MB Notification: Performance of SimCode: time 0.001126/0.1143, allocations: 0.9551 MB / 0.4987 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of Templates: time 0.004331/0.1186, allocations: 1.465 MB / 0.5002 GB, free: 15.08 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches