Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001831/0.001831, allocations: 109 kB / 18.49 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002091/0.002091, allocations: 216.7 kB / 21.46 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 230.4 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2318/0.2318, allocations: 46.93 MB / 357.7 MB, free: 10.16 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.QuaternionFromT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Frames_QuaternionFromT",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.QuaternionFromT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Frames_QuaternionFromT",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 75.89 kB / 0.4917 GB, free: 7.652 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1405, allocations: 66.04 MB / 0.5562 GB, free: 5.473 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.QuaternionFromT): time 0.002709/0.1432, allocations: 0.9407 MB / 0.5571 GB, free: 4.523 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002627/0.1458, allocations: 1.457 MB / 0.5585 GB, free: 3.047 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.664e-05/0.1459, allocations: 4 kB / 0.5585 GB, free: 3.043 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 7.115e-05/0.146, allocations: 23.86 kB / 0.5585 GB, free: 3.02 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009493/0.147, allocations: 299.2 kB / 0.5588 GB, free: 2.727 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.814e-06/0.147, allocations: 0 / 0.5588 GB, free: 2.727 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002061/0.1472, allocations: 119.5 kB / 0.5589 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.287e-05/0.1472, allocations: 9.562 kB / 0.5589 GB, free: 2.602 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.604e-05/0.1473, allocations: 63.67 kB / 0.559 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01335/0.1607, allocations: 10.65 MB / 0.5694 GB, free: 7.871 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.1608, allocations: 8 kB / 0.5694 GB, free: 7.863 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003399/0.1611, allocations: 103.8 kB / 0.5695 GB, free: 7.762 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002395/0.1613, allocations: 219.2 kB / 0.5697 GB, free: 7.547 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002152/0.1616, allocations: 201.8 kB / 0.5699 GB, free: 7.348 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006072/0.1622, allocations: 461.3 kB / 0.5704 GB, free: 6.895 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.857e-06/0.1622, allocations: 3.984 kB / 0.5704 GB, free: 6.891 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1622, allocations: 0 / 0.5704 GB, free: 6.891 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.443e-05/0.1622, allocations: 0 / 0.5704 GB, free: 6.891 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.001131/0.1633, allocations: 0.9474 MB / 0.5713 GB, free: 5.891 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.1634, allocations: 12.03 kB / 0.5713 GB, free: 5.879 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2e-05/0.1634, allocations: 8.188 kB / 0.5713 GB, free: 5.871 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.647e-05/0.1635, allocations: 70.69 kB / 0.5714 GB, free: 5.793 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.1636, allocations: 92.22 kB / 0.5715 GB, free: 5.703 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/0.1639, allocations: 384.6 kB / 0.5718 GB, free: 5.285 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.1639, allocations: 8.359 kB / 0.5718 GB, free: 5.277 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.164, allocations: 16.3 kB / 0.5719 GB, free: 5.262 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000656/0.1646, allocations: 0.5828 MB / 0.5724 GB, free: 4.602 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.1646, allocations: 7.938 kB / 0.5724 GB, free: 4.594 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.1647, allocations: 7.984 kB / 0.5724 GB, free: 4.586 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002478/0.1649, allocations: 167.9 kB / 0.5726 GB, free: 4.422 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000398/0.1653, allocations: 371.5 kB / 0.573 GB, free: 4.059 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.1663, allocations: 0.658 MB / 0.5736 GB, free: 3.281 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008183/0.1672, allocations: 0.7646 MB / 0.5743 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004939/0.1677, allocations: 480.5 kB / 0.5748 GB, free: 1.754 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.1677, allocations: 15.88 kB / 0.5748 GB, free: 1.738 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.619e-05/0.1677, allocations: 67.08 kB / 0.5749 GB, free: 1.664 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 2.174e-06/0.1677, allocations: 0 / 0.5749 GB, free: 1.664 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.001604/0.1693, allocations: 1.335 MB / 0.5762 GB, free: 332 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003602/0.1697, allocations: 0.6516 MB / 0.5768 GB, free: 15.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009002/0.1706, allocations: 0.7821 MB / 0.5776 GB, free: 14.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.1706, allocations: 33.69 kB / 0.5776 GB, free: 14.69 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002396/0.1709, allocations: 298.1 kB / 0.5779 GB, free: 14.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002672/0.1711, allocations: 329.1 kB / 0.5782 GB, free: 14.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.1712, allocations: 85.48 kB / 0.5783 GB, free: 13.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.1714, allocations: 345.9 kB / 0.5786 GB, free: 13.63 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00035/0.1717, allocations: 340.8 kB / 0.579 GB, free: 13.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004888/0.1722, allocations: 0.5062 MB / 0.5794 GB, free: 12.72 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009709/0.1732, allocations: 0.9373 MB / 0.5804 GB, free: 11.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/0.1732, allocations: 4 kB / 0.5804 GB, free: 11.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001175/0.1744, allocations: 0.9613 MB / 0.5813 GB, free: 10.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.1744, allocations: 8.312 kB / 0.5813 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.1744, allocations: 12 kB / 0.5813 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.1744, allocations: 4 kB / 0.5813 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.366e-06/0.1745, allocations: 11.94 kB / 0.5813 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.1745, allocations: 8 kB / 0.5813 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.1746, allocations: 47.55 kB / 0.5814 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.067e-05/0.1747, allocations: 35.97 kB / 0.5814 GB, free: 10.61 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.0003284/0.175, allocations: 305.5 kB / 0.5817 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.1751, allocations: 95.31 kB / 0.5818 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/0.1752, allocations: 97.67 kB / 0.5819 GB, free: 10.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002344/0.1755, allocations: 175.9 kB / 0.5821 GB, free: 9.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/0.1755, allocations: 8 kB / 0.5821 GB, free: 9.922 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.1755, allocations: 4 kB / 0.5821 GB, free: 9.918 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008657/0.1764, allocations: 0.536 MB / 0.5826 GB, free: 9.332 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.305e-06/0.1764, allocations: 11.88 kB / 0.5826 GB, free: 9.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.314e-06/0.1764, allocations: 8 kB / 0.5826 GB, free: 9.312 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.227e-06/0.1764, allocations: 8 kB / 0.5826 GB, free: 9.305 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/0.1764, allocations: 19.97 kB / 0.5826 GB, free: 9.285 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.585e-06/0.1764, allocations: 7.938 kB / 0.5827 GB, free: 9.277 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/0.1764, allocations: 11.94 kB / 0.5827 GB, free: 9.266 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.1776, allocations: 1.099 MB / 0.5837 GB, free: 8.074 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.1778, allocations: 180.3 kB / 0.5839 GB, free: 7.879 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.518e-05/0.1778, allocations: 15.97 kB / 0.5839 GB, free: 7.863 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.1779, allocations: 7.984 kB / 0.5839 GB, free: 7.855 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.226e-05/0.178, allocations: 35.84 kB / 0.584 GB, free: 7.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.645e-05/0.178, allocations: 31.98 kB / 0.584 GB, free: 7.789 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006252/0.1786, allocations: 0.5614 MB / 0.5845 GB, free: 7.234 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1786, allocations: 3.938 kB / 0.5846 GB, free: 7.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004418/0.1791, allocations: 59.84 kB / 0.5846 GB, free: 7.172 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.001624/0.1807, allocations: 1.664 MB / 0.5862 GB, free: 5.406 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009637/0.1817, allocations: 0.7757 MB / 0.587 GB, free: 4.633 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.1817, allocations: 0 / 0.587 GB, free: 4.633 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004434/0.1821, allocations: 398.3 kB / 0.5874 GB, free: 4.246 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.1825, allocations: 45.12 kB / 0.5874 GB, free: 4.203 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002829/0.1853, allocations: 2.023 MB / 0.5894 GB, free: 2.062 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006898/0.186, allocations: 1.03 MB / 0.5904 GB, free: 1.008 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001951/0.1862, allocations: 73.03 kB / 0.5905 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003122/0.1865, allocations: 251.3 kB / 0.5907 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of SimCode: time 9.42e-07/0.1865, allocations: 0 / 0.5907 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2741/0.4606, allocations: 10.36 MB / 0.6008 GB, free: 36.06 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.184/9.644, allocations: 5 kB / 0.6008 GB, free: 36.06 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Frames_QuaternionFromT_fmu --startTime=0 --stopTime=0.1 --stepSize=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Frames_QuaternionFromT.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.66226899198955]