Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.QuaternionFromT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 113 kB / 18.49 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 217.4 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.477/1.477, allocations: 230.6 MB / 254.8 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2307/0.2307, allocations: 46.92 MB / 357.8 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.QuaternionFromT,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Frames_QuaternionFromT",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.QuaternionFromT,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Frames_QuaternionFromT",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 71.88 kB / 0.4916 GB, free: 7.922 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1403, allocations: 65.99 MB / 0.5561 GB, free: 5.801 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.QuaternionFromT): time 0.002397/0.1427, allocations: 0.9373 MB / 0.557 GB, free: 4.859 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002086/0.1448, allocations: 1.449 MB / 0.5584 GB, free: 3.391 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.446e-05/0.1448, allocations: 4 kB / 0.5584 GB, free: 3.387 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 5.265e-05/0.1449, allocations: 23.8 kB / 0.5584 GB, free: 3.363 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008265/0.1457, allocations: 307.2 kB / 0.5587 GB, free: 3.062 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.62e-06/0.1457, allocations: 0 / 0.5587 GB, free: 3.062 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000165/0.1459, allocations: 123.5 kB / 0.5589 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.26e-05/0.1459, allocations: 5.562 kB / 0.5589 GB, free: 2.938 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.901e-05/0.146, allocations: 59.73 kB / 0.5589 GB, free: 2.879 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01363/0.1596, allocations: 10.66 MB / 0.5693 GB, free: 8.207 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.247e-05/0.1597, allocations: 4 kB / 0.5693 GB, free: 8.203 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002955/0.16, allocations: 99.83 kB / 0.5694 GB, free: 8.105 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002177/0.1602, allocations: 223.2 kB / 0.5696 GB, free: 7.887 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001607/0.1604, allocations: 201.8 kB / 0.5698 GB, free: 7.688 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004905/0.1609, allocations: 461.2 kB / 0.5703 GB, free: 7.234 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1609, allocations: 4 kB / 0.5703 GB, free: 7.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1609, allocations: 0 / 0.5703 GB, free: 7.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.1609, allocations: 4 kB / 0.5703 GB, free: 7.227 MB / 430.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.00102/0.1619, allocations: 0.9435 MB / 0.5712 GB, free: 6.23 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.162, allocations: 8.031 kB / 0.5712 GB, free: 6.223 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.522e-05/0.162, allocations: 4.188 kB / 0.5712 GB, free: 6.219 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.864e-05/0.1621, allocations: 74.69 kB / 0.5713 GB, free: 6.137 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.1622, allocations: 88.28 kB / 0.5714 GB, free: 6.051 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003382/0.1625, allocations: 392.6 kB / 0.5717 GB, free: 5.625 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.1625, allocations: 8.359 kB / 0.5717 GB, free: 5.617 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.1625, allocations: 12.36 kB / 0.5718 GB, free: 5.605 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006654/0.1632, allocations: 0.5905 MB / 0.5723 GB, free: 4.938 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.1632, allocations: 3.938 kB / 0.5723 GB, free: 4.934 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/0.1632, allocations: 7.984 kB / 0.5723 GB, free: 4.926 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002336/0.1635, allocations: 171.9 kB / 0.5725 GB, free: 4.758 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000374/0.1638, allocations: 375.5 kB / 0.5729 GB, free: 4.391 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009536/0.1648, allocations: 0.6502 MB / 0.5735 GB, free: 3.621 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007445/0.1655, allocations: 0.7646 MB / 0.5743 GB, free: 2.637 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004581/0.166, allocations: 484.5 kB / 0.5747 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.166, allocations: 11.88 kB / 0.5747 GB, free: 2.078 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.479e-05/0.1661, allocations: 71.08 kB / 0.5748 GB, free: 2 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 1.693e-06/0.1661, allocations: 0 / 0.5748 GB, free: 2 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.001601/0.1677, allocations: 1.339 MB / 0.5761 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003793/0.1681, allocations: 0.6477 MB / 0.5767 GB, free: 15.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008599/0.1689, allocations: 0.7898 MB / 0.5775 GB, free: 15.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.1689, allocations: 29.69 kB / 0.5775 GB, free: 15.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002485/0.1692, allocations: 298.1 kB / 0.5778 GB, free: 14.72 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002979/0.1695, allocations: 325.1 kB / 0.5781 GB, free: 14.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.1696, allocations: 93.48 kB / 0.5782 GB, free: 14.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.1698, allocations: 337.9 kB / 0.5785 GB, free: 13.97 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003615/0.1701, allocations: 336.8 kB / 0.5789 GB, free: 13.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005144/0.1706, allocations: 0.5101 MB / 0.5794 GB, free: 13.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009694/0.1716, allocations: 0.9373 MB / 0.5803 GB, free: 12.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/0.1716, allocations: 0 / 0.5803 GB, free: 12.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001141/0.1728, allocations: 0.9648 MB / 0.5812 GB, free: 11.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.1728, allocations: 9.875 kB / 0.5812 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.1728, allocations: 4 kB / 0.5812 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/0.1728, allocations: 8 kB / 0.5812 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.617e-06/0.1728, allocations: 12.69 kB / 0.5812 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.1728, allocations: 4 kB / 0.5813 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.173, allocations: 55.53 kB / 0.5813 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.484e-05/0.173, allocations: 28 kB / 0.5813 GB, free: 10.95 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (24): * Single equations (assignments): 0 * Array equations: 24 * 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.0003628/0.1734, allocations: 313.5 kB / 0.5816 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.1735, allocations: 95.33 kB / 0.5817 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.1736, allocations: 93.67 kB / 0.5818 GB, free: 10.44 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000234/0.1739, allocations: 171.9 kB / 0.582 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/0.1739, allocations: 8 kB / 0.582 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/0.1739, allocations: 11.98 kB / 0.582 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007838/0.1747, allocations: 0.536 MB / 0.5825 GB, free: 9.668 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.1747, allocations: 7.938 kB / 0.5825 GB, free: 9.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.714e-06/0.1747, allocations: 11.98 kB / 0.5825 GB, free: 9.648 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.441e-06/0.1747, allocations: 4 kB / 0.5825 GB, free: 9.645 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/0.1747, allocations: 15.98 kB / 0.5826 GB, free: 9.629 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.026e-05/0.1747, allocations: 19.86 kB / 0.5826 GB, free: 9.609 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.767e-06/0.1747, allocations: 11.94 kB / 0.5826 GB, free: 9.598 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.1759, allocations: 1.098 MB / 0.5837 GB, free: 8.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.176, allocations: 180.2 kB / 0.5838 GB, free: 8.215 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.089e-05/0.1761, allocations: 11.98 kB / 0.5838 GB, free: 8.203 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.1762, allocations: 15.92 kB / 0.5839 GB, free: 8.188 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/0.1762, allocations: 35.84 kB / 0.5839 GB, free: 8.152 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.914e-05/0.1762, allocations: 35.97 kB / 0.5839 GB, free: 8.117 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006417/0.1769, allocations: 0.5536 MB / 0.5845 GB, free: 7.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1769, allocations: 0 / 0.5845 GB, free: 7.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004456/0.1773, allocations: 59.89 kB / 0.5845 GB, free: 7.512 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * 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 simulation (24): * Single equations (assignments): 0 * Array equations: 24 * 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.001609/0.1789, allocations: 1.667 MB / 0.5862 GB, free: 5.738 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008972/0.1798, allocations: 0.7769 MB / 0.5869 GB, free: 4.965 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.1798, allocations: 4.188 kB / 0.5869 GB, free: 4.961 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004005/0.1802, allocations: 387.6 kB / 0.5873 GB, free: 4.582 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.1806, allocations: 39.23 kB / 0.5873 GB, free: 4.543 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002647/0.1833, allocations: 2.028 MB / 0.5893 GB, free: 2.398 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006965/0.184, allocations: 1.026 MB / 0.5903 GB, free: 1.348 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001958/0.1842, allocations: 77.03 kB / 0.5904 GB, free: 1.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003073/0.1845, allocations: 247.3 kB / 0.5906 GB, free: 1.027 MB / 446.1 MB Notification: Performance of SimCode: time 1.412e-06/0.1845, allocations: 3.938 kB / 0.5906 GB, free: 1.023 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2984/0.4828, allocations: 10.35 MB / 0.6007 GB, free: 36.84 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.412/9.895, allocations: 10.41 kB / 0.6007 GB, free: 36.83 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.QuaternionFromT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.QuaternionFromT_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Frames_QuaternionFromT_fmu --startTime=0 --stopTime=0.1 --stepSize=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Frames_QuaternionFromT.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.QuaternionFromT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Frames/QuaternionFromT/QuaternionFromT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.QuaternionFromT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.906444777967408]