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.001541/0.001541, allocations: 113 kB / 16.41 MB, free: 6.492 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.001661/0.001661, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.631/1.631, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2334/0.2334, allocations: 43.53 MB / 314.1 MB, free: 456 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.001376/0.001376, allocations: 63.91 kB / 441.8 MB, free: 5.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1517, allocations: 57.79 MB / 499.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004033/0.1558, allocations: 2.834 MB / 0.4906 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.1572, allocations: 0.7487 MB / 0.4914 GB, free: 8.203 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001747/0.1573, allocations: 11.94 kB / 0.4914 GB, free: 8.191 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002501/0.1576, allocations: 67.31 kB / 0.4914 GB, free: 8.125 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002482/0.1579, allocations: 122.9 kB / 0.4916 GB, free: 8.004 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002906/0.1582, allocations: 91.88 kB / 0.4917 GB, free: 7.914 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004618/0.1586, allocations: 454.3 kB / 0.4921 GB, free: 7.469 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003543/0.159, allocations: 190 kB / 0.4923 GB, free: 7.277 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002311/0.1592, allocations: 175.3 kB / 0.4924 GB, free: 7.105 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002336/0.1595, allocations: 187.2 kB / 0.4926 GB, free: 6.922 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.383e-05/0.1595, allocations: 36 kB / 0.4926 GB, free: 6.887 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.044e-05/0.1596, allocations: 36 kB / 0.4927 GB, free: 6.852 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.067e-05/0.1597, allocations: 91.61 kB / 0.4928 GB, free: 6.762 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001789/0.1599, allocations: 195 kB / 0.493 GB, free: 6.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004345/0.1603, allocations: 454.4 kB / 0.4934 GB, free: 6.125 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1603, allocations: 0 / 0.4934 GB, free: 6.125 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.1603, allocations: 0 / 0.4934 GB, free: 6.125 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.054e-06/0.1604, allocations: 0 / 0.4934 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.0009689/0.1613, allocations: 0.6745 MB / 0.494 GB, free: 5.398 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.1614, allocations: 11.89 kB / 0.4941 GB, free: 5.387 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.671e-05/0.1615, allocations: 40.47 kB / 0.4941 GB, free: 5.348 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003922/0.1619, allocations: 292.5 kB / 0.4944 GB, free: 5.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/0.1619, allocations: 29.38 kB / 0.4944 GB, free: 4.992 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.11e-05/0.162, allocations: 52.28 kB / 0.4945 GB, free: 4.941 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007205/0.1627, allocations: 377.3 kB / 0.4948 GB, free: 4.559 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.1627, allocations: 7.984 kB / 0.4948 GB, free: 4.551 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.311e-05/0.1628, allocations: 16 kB / 0.4948 GB, free: 4.535 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.1628, allocations: 8 kB / 0.4948 GB, free: 4.527 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004768/0.1633, allocations: 251.8 kB / 0.4951 GB, free: 4.281 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001689/0.165, allocations: 1.109 MB / 0.4962 GB, free: 3.113 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005382/0.1655, allocations: 343.5 kB / 0.4965 GB, free: 2.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002858/0.1658, allocations: 179.2 kB / 0.4967 GB, free: 2.566 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.1659, allocations: 8 kB / 0.4967 GB, free: 2.559 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.1659, allocations: 34.56 kB / 0.4967 GB, free: 2.516 MB / 382.1 MB Notification: Performance of pre-optimization done (n=39): time 1.583e-06/0.1659, allocations: 0 / 0.4967 GB, free: 2.516 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.003815/0.1697, allocations: 2.446 MB / 0.4991 GB, free: 15.8 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.5e-05/0.1698, allocations: 118.8 kB / 0.4992 GB, free: 15.66 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002418/0.1701, allocations: 238.6 kB / 0.4994 GB, free: 15.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.11e-05/0.1701, allocations: 33.7 kB / 0.4995 GB, free: 15.39 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.1702, allocations: 180.7 kB / 0.4996 GB, free: 15.21 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001638/0.1704, allocations: 201 kB / 0.4998 GB, free: 15.01 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.1705, allocations: 90.16 kB / 0.4999 GB, free: 14.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.1707, allocations: 350.7 kB / 0.5003 GB, free: 14.56 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002751/0.171, allocations: 133.1 kB / 0.5004 GB, free: 14.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003302/0.1713, allocations: 231.7 kB / 0.5006 GB, free: 14.17 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006264/0.172, allocations: 390 kB / 0.501 GB, free: 13.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.172, allocations: 4 kB / 0.501 GB, free: 13.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001014/0.173, allocations: 0.5579 MB / 0.5015 GB, free: 13.17 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.173, allocations: 8 kB / 0.5015 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.173, allocations: 0 / 0.5015 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003775/0.1734, allocations: 126.6 kB / 0.5016 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003754/0.1738, allocations: 95.83 kB / 0.5017 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004241/0.1781, allocations: 5.217 MB / 0.5068 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002448/0.1783, allocations: 19.98 kB / 0.5069 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.164e-05/0.1784, allocations: 24.06 kB / 0.5069 GB, free: 7.254 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.00022/0.1786, allocations: 165.7 kB / 0.507 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.1787, allocations: 39.52 kB / 0.5071 GB, free: 7.043 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.408e-05/0.1788, allocations: 42.19 kB / 0.5071 GB, free: 7 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.1788, allocations: 8 kB / 0.5071 GB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.987e-05/0.1789, allocations: 7.922 kB / 0.5071 GB, free: 6.984 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.1789, allocations: 4 kB / 0.5071 GB, free: 6.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001927/0.1808, allocations: 1.324 MB / 0.5084 GB, free: 5.582 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.1808, allocations: 0 / 0.5084 GB, free: 5.582 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004013/0.1812, allocations: 95.88 kB / 0.5085 GB, free: 5.488 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000262/0.1815, allocations: 90.61 kB / 0.5086 GB, free: 5.391 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/0.1816, allocations: 23.88 kB / 0.5086 GB, free: 5.367 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003415/0.185, allocations: 4.423 MB / 0.5129 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.185, allocations: 4.031 kB / 0.5129 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/0.1863, allocations: 0.9259 MB / 0.5139 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.459e-05/0.1864, allocations: 108.7 kB / 0.514 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.804e-05/0.1864, allocations: 15.98 kB / 0.514 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002512/0.1867, allocations: 12 kB / 0.514 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.1868, allocations: 59.75 kB / 0.514 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.147e-05/0.1869, allocations: 16 kB / 0.5141 GB, free: 15.33 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001493/0.187, allocations: 170 kB / 0.5142 GB, free: 15.17 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.187, allocations: 0 / 0.5142 GB, free: 15.17 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006609/0.1877, allocations: 120 kB / 0.5143 GB, free: 15.05 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.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 (48): * Single equations (assignments): 45 * 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,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001426/0.1878, allocations: 115.3 kB / 0.5144 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001218/0.1891, allocations: 0.7769 MB / 0.5152 GB, free: 14.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.1891, allocations: 192 / 0.5152 GB, free: 14.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007242/0.1898, allocations: 0.5739 MB / 0.5158 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006641/0.1905, allocations: 61.84 kB / 0.5158 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/0.1922, allocations: 1.088 MB / 0.5169 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/0.1926, allocations: 0.8163 MB / 0.5177 GB, free: 11.47 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001251/0.1928, allocations: 35.27 kB / 0.5177 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.309e-05/0.1929, allocations: 35.36 kB / 0.5177 GB, free: 11.4 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1929, allocations: 4 kB / 0.5177 GB, free: 11.39 MB / 414.1 MB Notification: Performance of Templates: time 0.009126/0.202, allocations: 4.561 MB / 0.5222 GB, free: 6.836 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins/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