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.001091/0.001091, allocations: 104.2 kB / 17.08 MB, free: 5.988 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.001115/0.001115, allocations: 198.2 kB / 18.02 MB, free: 5.07 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.36/1.36, allocations: 205.1 MB / 223.9 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.2101/0.2101, allocations: 43.52 MB / 314.8 MB, free: 460 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.001365/0.001365, allocations: 71.89 kB / 442.5 MB, free: 5.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1075, allocations: 57.79 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004172/0.1117, allocations: 2.837 MB / 0.4913 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.1131, allocations: 0.7565 MB / 0.492 GB, free: 8.195 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002205/0.1133, allocations: 4 kB / 0.4921 GB, free: 8.191 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002008/0.1135, allocations: 63.33 kB / 0.4921 GB, free: 8.129 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003044/0.1138, allocations: 122.9 kB / 0.4922 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000295/0.1141, allocations: 87.88 kB / 0.4923 GB, free: 7.922 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005035/0.1147, allocations: 450.3 kB / 0.4927 GB, free: 7.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003225/0.115, allocations: 198 kB / 0.4929 GB, free: 7.281 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002669/0.1153, allocations: 167.4 kB / 0.4931 GB, free: 7.117 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002855/0.1156, allocations: 203.1 kB / 0.4933 GB, free: 6.918 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.344e-05/0.1156, allocations: 36 kB / 0.4933 GB, free: 6.883 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.109e-05/0.1157, allocations: 36 kB / 0.4934 GB, free: 6.848 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.816e-05/0.1158, allocations: 83.69 kB / 0.4934 GB, free: 6.766 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001849/0.116, allocations: 199 kB / 0.4936 GB, free: 6.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004606/0.1164, allocations: 454.3 kB / 0.4941 GB, free: 6.125 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1165, allocations: 0 / 0.4941 GB, free: 6.125 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1165, allocations: 0 / 0.4941 GB, free: 6.125 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.1165, allocations: 0 / 0.4941 GB, free: 6.125 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009067/0.1174, allocations: 0.6668 MB / 0.4947 GB, free: 5.406 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.1174, allocations: 11.89 kB / 0.4947 GB, free: 5.395 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.612e-05/0.1175, allocations: 40.47 kB / 0.4948 GB, free: 5.355 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000359/0.1179, allocations: 296.5 kB / 0.495 GB, free: 5.023 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.1179, allocations: 29.38 kB / 0.4951 GB, free: 4.996 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.125e-05/0.118, allocations: 48.28 kB / 0.4951 GB, free: 4.949 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005899/0.1186, allocations: 389.3 kB / 0.4955 GB, free: 4.555 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.1186, allocations: 4 kB / 0.4955 GB, free: 4.551 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.389e-05/0.1186, allocations: 16 kB / 0.4955 GB, free: 4.535 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.739e-06/0.1187, allocations: 8 kB / 0.4955 GB, free: 4.527 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004561/0.1191, allocations: 251.8 kB / 0.4958 GB, free: 4.281 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001549/0.1207, allocations: 1.097 MB / 0.4968 GB, free: 3.125 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005086/0.1212, allocations: 347.5 kB / 0.4972 GB, free: 2.758 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002717/0.1215, allocations: 175.3 kB / 0.4973 GB, free: 2.578 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.893e-05/0.1215, allocations: 8 kB / 0.4973 GB, free: 2.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.1216, allocations: 42.48 kB / 0.4974 GB, free: 2.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=39): time 3.597e-06/0.1216, allocations: 3.984 kB / 0.4974 GB, free: 2.516 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.003635/0.1252, allocations: 2.431 MB / 0.4997 GB, free: 15.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/0.1253, allocations: 122.7 kB / 0.4999 GB, free: 15.67 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.1255, allocations: 234.6 kB / 0.5001 GB, free: 15.44 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.1255, allocations: 33.7 kB / 0.5001 GB, free: 15.4 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.1257, allocations: 188.6 kB / 0.5003 GB, free: 15.21 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.1258, allocations: 201 kB / 0.5005 GB, free: 15.01 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.1259, allocations: 90.16 kB / 0.5006 GB, free: 14.92 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1261, allocations: 346.7 kB / 0.5009 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002499/0.1263, allocations: 133.1 kB / 0.501 GB, free: 14.44 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002925/0.1266, allocations: 231.7 kB / 0.5013 GB, free: 14.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006085/0.1272, allocations: 394 kB / 0.5016 GB, free: 13.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.1273, allocations: 0 / 0.5016 GB, free: 13.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009923/0.1283, allocations: 0.5616 MB / 0.5022 GB, free: 13.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.1283, allocations: 8 kB / 0.5022 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.1283, allocations: 0 / 0.5022 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003844/0.1287, allocations: 130.5 kB / 0.5023 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003693/0.1291, allocations: 95.88 kB / 0.5024 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00408/0.1332, allocations: 5.213 MB / 0.5075 GB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/0.1334, allocations: 19.94 kB / 0.5075 GB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.149e-05/0.1334, allocations: 24.05 kB / 0.5075 GB, free: 7.258 MB / 398.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.0001854/0.1336, allocations: 165.8 kB / 0.5077 GB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.55e-05/0.1337, allocations: 35.53 kB / 0.5077 GB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.442e-05/0.1338, allocations: 50.17 kB / 0.5078 GB, free: 7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.1338, allocations: 0 / 0.5078 GB, free: 7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.1338, allocations: 3.984 kB / 0.5078 GB, free: 6.996 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.921e-05/0.1339, allocations: 108.7 kB / 0.5079 GB, free: 6.871 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.288e-05/0.134, allocations: 16 kB / 0.5079 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002583/0.1342, allocations: 15.98 kB / 0.5079 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.841e-05/0.1343, allocations: 43.94 kB / 0.508 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001427/0.1358, allocations: 0.821 MB / 0.5088 GB, free: 5.961 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001075/0.1369, allocations: 0.9392 MB / 0.5097 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002781/0.1372, allocations: 175.3 kB / 0.5098 GB, free: 4.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001434/0.1373, allocations: 174 kB / 0.51 GB, free: 4.668 MB / 398.1 MB Notification: Performance of Backend: time 2.1e-07/0.1373, allocations: 0 / 0.51 GB, free: 4.668 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001368/0.1387, allocations: 0.7331 MB / 0.5107 GB, free: 3.891 MB / 398.1 MB Notification: Performance of SimCode: time 0.00176/0.1405, allocations: 1.558 MB / 0.5122 GB, free: 2.289 MB / 398.1 MB Notification: Performance of Templates: time 0.009771/0.1502, allocations: 5.083 MB / 0.5172 GB, free: 13.2 MB / 414.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