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.001966/0.001966, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.00236/0.00236, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.551/1.551, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2224/0.2224, allocations: 46.92 MB / 357.1 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.QuaternionFromT,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Frames_QuaternionFromT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002255/0.002255, allocations: 63.89 kB / 0.491 GB, free: 7.938 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1353, allocations: 65.99 MB / 0.5554 GB, free: 5.82 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.QuaternionFromT): time 0.002452/0.1377, allocations: 0.9394 MB / 0.5563 GB, free: 4.875 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002925/0.1406, allocations: 1.457 MB / 0.5577 GB, free: 3.398 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001516/0.1408, allocations: 8 kB / 0.5577 GB, free: 3.391 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001566/0.141, allocations: 19.84 kB / 0.5578 GB, free: 3.371 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001389/0.1423, allocations: 295.3 kB / 0.558 GB, free: 3.082 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.141e-05/0.1424, allocations: 0 / 0.558 GB, free: 3.082 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002851/0.1426, allocations: 119.5 kB / 0.5582 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.37e-05/0.1427, allocations: 9.547 kB / 0.5582 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.1428, allocations: 63.69 kB / 0.5582 GB, free: 2.895 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01456/0.1574, allocations: 10.66 MB / 0.5686 GB, free: 8.219 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.1575, allocations: 4 kB / 0.5686 GB, free: 8.215 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003521/0.1578, allocations: 99.73 kB / 0.5687 GB, free: 8.121 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002486/0.1581, allocations: 227.2 kB / 0.569 GB, free: 7.898 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001866/0.1583, allocations: 197.8 kB / 0.5691 GB, free: 7.703 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005403/0.1588, allocations: 461.2 kB / 0.5696 GB, free: 7.25 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.1588, allocations: 0 / 0.5696 GB, free: 7.25 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1588, allocations: 0 / 0.5696 GB, free: 7.25 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.1588, allocations: 3.938 kB / 0.5696 GB, free: 7.246 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.00114/0.16, allocations: 0.9513 MB / 0.5705 GB, free: 6.242 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/0.16, allocations: 16.03 kB / 0.5705 GB, free: 6.227 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.891e-05/0.1601, allocations: 66.7 kB / 0.5706 GB, free: 6.152 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.1602, allocations: 88.28 kB / 0.5707 GB, free: 6.066 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003651/0.1606, allocations: 384.6 kB / 0.571 GB, free: 5.648 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.1606, allocations: 12.3 kB / 0.5711 GB, free: 5.637 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/0.1607, allocations: 16.34 kB / 0.5711 GB, free: 5.621 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007178/0.1614, allocations: 0.5869 MB / 0.5716 GB, free: 4.957 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.1614, allocations: 7.938 kB / 0.5717 GB, free: 4.949 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/0.1614, allocations: 7.984 kB / 0.5717 GB, free: 4.941 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002508/0.1617, allocations: 167.9 kB / 0.5718 GB, free: 4.777 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000383/0.162, allocations: 375.5 kB / 0.5722 GB, free: 4.41 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009536/0.163, allocations: 0.6541 MB / 0.5728 GB, free: 3.637 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007315/0.1637, allocations: 0.7646 MB / 0.5736 GB, free: 2.652 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004521/0.1642, allocations: 480.5 kB / 0.574 GB, free: 2.109 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.1642, allocations: 15.92 kB / 0.574 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.37e-05/0.1643, allocations: 67.03 kB / 0.5741 GB, free: 2.02 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 1.693e-06/0.1643, allocations: 0 / 0.5741 GB, free: 2.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.001532/0.1658, allocations: 1.335 MB / 0.5754 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004101/0.1662, allocations: 0.6516 MB / 0.576 GB, free: 15.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000864/0.1671, allocations: 0.7782 MB / 0.5768 GB, free: 15.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.1671, allocations: 33.69 kB / 0.5768 GB, free: 15.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002988/0.1674, allocations: 302.1 kB / 0.5771 GB, free: 14.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002793/0.1677, allocations: 325.1 kB / 0.5774 GB, free: 14.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.1678, allocations: 81.62 kB / 0.5775 GB, free: 14.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.168, allocations: 345.9 kB / 0.5778 GB, free: 14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003711/0.1683, allocations: 348.6 kB / 0.5782 GB, free: 13.65 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004931/0.1688, allocations: 0.5062 MB / 0.5787 GB, free: 13.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009559/0.1698, allocations: 0.9373 MB / 0.5796 GB, free: 12.06 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.1698, allocations: 4 kB / 0.5796 GB, free: 12.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001091/0.1709, allocations: 0.9577 MB / 0.5805 GB, free: 11.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.1709, allocations: 8 kB / 0.5805 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/0.1709, allocations: 12.06 kB / 0.5805 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.1709, allocations: 4 kB / 0.5805 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.666e-06/0.1709, allocations: 11.94 kB / 0.5806 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.577e-05/0.171, allocations: 11.98 kB / 0.5806 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.1711, allocations: 47.55 kB / 0.5806 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.042e-05/0.1712, allocations: 24 kB / 0.5806 GB, free: 10.98 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.0003603/0.1715, allocations: 317.5 kB / 0.5809 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.1716, allocations: 91.33 kB / 0.581 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/0.1718, allocations: 89.67 kB / 0.5811 GB, free: 10.47 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002439/0.172, allocations: 183.8 kB / 0.5813 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.172, allocations: 8 kB / 0.5813 GB, free: 10.28 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.172, allocations: 7.984 kB / 0.5813 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008651/0.1729, allocations: 0.536 MB / 0.5818 GB, free: 9.688 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.1729, allocations: 4 kB / 0.5818 GB, free: 9.684 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.213e-05/0.1729, allocations: 15.92 kB / 0.5818 GB, free: 9.668 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.746e-06/0.1729, allocations: 8 kB / 0.5818 GB, free: 9.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.892e-05/0.1729, allocations: 19.98 kB / 0.5819 GB, free: 9.641 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.1e-05/0.173, allocations: 11.92 kB / 0.5819 GB, free: 9.629 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.167e-06/0.173, allocations: 11.94 kB / 0.5819 GB, free: 9.617 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.1742, allocations: 1.095 MB / 0.583 GB, free: 8.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001507/0.1744, allocations: 180.2 kB / 0.5831 GB, free: 8.234 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.653e-05/0.1744, allocations: 11.98 kB / 0.5831 GB, free: 8.223 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.1745, allocations: 7.984 kB / 0.5832 GB, free: 8.215 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.571e-05/0.1746, allocations: 39.84 kB / 0.5832 GB, free: 8.176 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.437e-05/0.1746, allocations: 35.97 kB / 0.5832 GB, free: 8.141 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006461/0.1753, allocations: 0.5614 MB / 0.5838 GB, free: 7.586 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1753, allocations: 0 / 0.5838 GB, free: 7.586 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004223/0.1757, allocations: 55.92 kB / 0.5838 GB, free: 7.531 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.001548/0.1772, allocations: 1.659 MB / 0.5854 GB, free: 5.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009283/0.1782, allocations: 0.7798 MB / 0.5862 GB, free: 4.992 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.1782, allocations: 0 / 0.5862 GB, free: 4.992 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004016/0.1786, allocations: 402 kB / 0.5866 GB, free: 4.602 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004298/0.179, allocations: 39.52 kB / 0.5866 GB, free: 4.562 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00253/0.1815, allocations: 2.027 MB / 0.5886 GB, free: 2.418 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006581/0.1822, allocations: 1.034 MB / 0.5896 GB, free: 1.359 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001891/0.1824, allocations: 73.03 kB / 0.5897 GB, free: 1.285 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002945/0.1827, allocations: 251.3 kB / 0.5899 GB, free: 1.039 MB / 446.1 MB Notification: Performance of SimCode: time 8.81e-07/0.1827, allocations: 4 kB / 0.5899 GB, free: 1.035 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.299/0.4817, allocations: 10.31 MB / 0.6 GB, free: 36.92 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.272/9.754, allocations: 5.875 kB / 0.6 GB, free: 36.92 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.74951207684353]