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.0009866/0.0009866, allocations: 83.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008759/0.0008759, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 18.57 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 0.8865/0.8865, allocations: 177.1 MB / 204.2 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.2421/0.2421, allocations: 34.25 MB / 294.9 MB, free: 0.7383 MB / 266.7 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 1.563e-06/1.563e-06, allocations: 0 / 442.2 MB, free: 1.648 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.04e-05/2.196e-05, allocations: 2.281 kB / 442.2 MB, free: 1.645 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.QuaternionFromT): time 0.001394/0.001416, allocations: 0.9018 MB / 443.1 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1618/0.1632, allocations: 1.4 MB / 444.5 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.388e-05/0.1632, allocations: 5.375 kB / 444.5 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.754e-05/0.1633, allocations: 20.42 kB / 444.5 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005695/0.1639, allocations: 315.2 kB / 444.8 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.568e-06/0.1639, allocations: 0 / 444.8 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.111e-05/0.1639, allocations: 122.9 kB / 445 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.365e-05/0.164, allocations: 11.53 kB / 445 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.052e-05/0.164, allocations: 85.67 kB / 445.1 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005318/0.1694, allocations: 10.79 MB / 455.8 MB, free: 38.23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.889e-05/0.1694, allocations: 2.594 kB / 455.8 MB, free: 38.23 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002074/0.1696, allocations: 92.42 kB / 455.9 MB, free: 38.22 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.1697, allocations: 230.2 kB / 456.2 MB, free: 38.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.253e-05/0.1698, allocations: 79.16 kB / 456.2 MB, free: 38.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002541/0.17, allocations: 426.1 kB / 456.7 MB, free: 37.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.17, allocations: 0 / 456.7 MB, free: 37.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.17, allocations: 0 / 456.7 MB, free: 37.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.747e-06/0.17, allocations: 0 / 456.7 MB, free: 37.96 MB / 410.7 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.0004926/0.1705, allocations: 0.872 MB / 457.5 MB, free: 37.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.1706, allocations: 10.16 kB / 457.5 MB, free: 37.3 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.085e-05/0.1706, allocations: 69.58 kB / 457.6 MB, free: 37.24 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.31e-05/0.1707, allocations: 91.84 kB / 457.7 MB, free: 37.19 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.1708, allocations: 326.3 kB / 458 MB, free: 36.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.1708, allocations: 14.67 kB / 458 MB, free: 36.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.1708, allocations: 10.89 kB / 458 MB, free: 36.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003388/0.1711, allocations: 0.5901 MB / 458.6 MB, free: 36.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1712, allocations: 7.375 kB / 458.6 MB, free: 36.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.1712, allocations: 7.281 kB / 458.6 MB, free: 36.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001265/0.1713, allocations: 170.2 kB / 458.8 MB, free: 36.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002022/0.1715, allocations: 368.4 kB / 459.2 MB, free: 36.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005317/0.172, allocations: 0.644 MB / 459.8 MB, free: 36.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003191/0.1723, allocations: 0.7596 MB / 460.6 MB, free: 35.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002243/0.1726, allocations: 479.5 kB / 461 MB, free: 35.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.1726, allocations: 10.66 kB / 461 MB, free: 35.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.1726, allocations: 69.86 kB / 461.1 MB, free: 35.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 1.333e-06/0.1726, allocations: 0 / 461.1 MB, free: 35.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=96): time 0.0007677/0.1734, allocations: 1.35 MB / 462.5 MB, free: 35 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.877e-05/0.1735, allocations: 0.6452 MB / 463.1 MB, free: 34.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004291/0.1739, allocations: 0.7778 MB / 463.9 MB, free: 33.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.1739, allocations: 32.88 kB / 463.9 MB, free: 33.92 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.174, allocations: 300.3 kB / 464.2 MB, free: 33.69 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.1741, allocations: 334.8 kB / 464.5 MB, free: 33.42 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.639e-05/0.1742, allocations: 82.66 kB / 464.6 MB, free: 33.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.111e-05/0.1742, allocations: 338.1 kB / 465 MB, free: 33.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.1744, allocations: 343.5 kB / 465.3 MB, free: 33.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/0.1746, allocations: 0.5011 MB / 465.8 MB, free: 32.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004575/0.1751, allocations: 0.9431 MB / 466.7 MB, free: 32.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1751, allocations: 0 / 466.7 MB, free: 32.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0005144/0.1756, allocations: 0.957 MB / 467.7 MB, free: 32.37 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.1756, allocations: 13.88 kB / 467.7 MB, free: 32.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.1756, allocations: 3.094 kB / 467.7 MB, free: 32.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.1756, allocations: 17.81 kB / 467.7 MB, free: 32.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.244e-06/0.1756, allocations: 3.219 kB / 467.7 MB, free: 32.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.1756, allocations: 16.73 kB / 467.7 MB, free: 32.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.017e-05/0.1757, allocations: 44.86 kB / 467.8 MB, free: 32.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.668e-05/0.1757, allocations: 36.17 kB / 467.8 MB, free: 32.32 MB / 410.7 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.0001694/0.1759, allocations: 308.4 kB / 468.1 MB, free: 32.19 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.046e-05/0.1759, allocations: 93.17 kB / 468.2 MB, free: 32.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.725e-05/0.176, allocations: 91.92 kB / 468.3 MB, free: 32.11 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001068/0.1761, allocations: 180.1 kB / 468.5 MB, free: 32.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.1761, allocations: 5.969 kB / 468.5 MB, free: 32.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.1761, allocations: 13.31 kB / 468.5 MB, free: 32.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004057/0.1765, allocations: 0.5258 MB / 469 MB, free: 31.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.1765, allocations: 6 kB / 469 MB, free: 31.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.206e-06/0.1765, allocations: 9.875 kB / 469 MB, free: 31.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.1765, allocations: 6.031 kB / 469 MB, free: 31.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.1765, allocations: 23.69 kB / 469.1 MB, free: 31.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.1766, allocations: 10 kB / 469.1 MB, free: 31.83 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.1766, allocations: 13.36 kB / 469.1 MB, free: 31.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005518/0.1771, allocations: 1.086 MB / 470.2 MB, free: 31.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.476e-05/0.1772, allocations: 101.7 kB / 470.3 MB, free: 31.37 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.1772, allocations: 18.02 kB / 470.3 MB, free: 31.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.724e-05/0.1772, allocations: 11.48 kB / 470.3 MB, free: 31.35 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.75e-05/0.1773, allocations: 47.73 kB / 470.4 MB, free: 31.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.1773, allocations: 26.81 kB / 470.4 MB, free: 31.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002983/0.1776, allocations: 0.5557 MB / 470.9 MB, free: 31.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1776, allocations: 0 / 470.9 MB, free: 31.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002601/0.1778, allocations: 52.34 kB / 471 MB, free: 31.16 MB / 410.7 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.000705/0.1785, allocations: 1.661 MB / 472.6 MB, free: 30.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005078/0.179, allocations: 0.7793 MB / 473.4 MB, free: 30.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1791, allocations: 2.625 kB / 473.4 MB, free: 30.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002566/0.1793, allocations: 396 kB / 473.8 MB, free: 30.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.1796, allocations: 44.58 kB / 473.9 MB, free: 30.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.1812, allocations: 2.024 MB / 475.9 MB, free: 29.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.1814, allocations: 430.3 kB / 476.3 MB, free: 29.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001186/0.1815, allocations: 73.83 kB / 476.4 MB, free: 29.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001536/0.1817, allocations: 255.4 kB / 476.6 MB, free: 28.93 MB / 410.7 MB Notification: Performance of SimCode: time 1.112e-06/0.1817, allocations: 0 / 476.6 MB, free: 28.93 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02054/0.2022, allocations: 10.54 MB / 487.2 MB, free: 27.59 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.946/7.148, allocations: 10.25 kB / 487.2 MB, free: 27.59 MB / 410.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Frames/QuaternionFromT/QuaternionFromT.csv","/var/lib/jenkins/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: 9.049534257501364]