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.001637/0.001637, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001641/0.001641, allocations: 212.5 kB / 24.51 MB, free: 3.914 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.441/1.441, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.246/0.246, allocations: 46.96 MB / 361.7 MB, free: 4.051 MB / 286.1 MB " [Timeout remaining time 179] 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.002109/0.002109, allocations: 67.89 kB / 0.4969 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3924, allocations: 66.03 MB / 0.5614 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.QuaternionFromT): time 0.002591/0.395, allocations: 0.9055 MB / 0.5623 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002325/0.3973, allocations: 1.405 MB / 0.5636 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.338e-05/0.3973, allocations: 4 kB / 0.5636 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.73e-05/0.3974, allocations: 19.86 kB / 0.5637 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009179/0.3983, allocations: 299.3 kB / 0.5639 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.605e-06/0.3983, allocations: 0 / 0.5639 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001941/0.3985, allocations: 123.5 kB / 0.5641 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.358e-05/0.3986, allocations: 5.75 kB / 0.5641 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.301e-05/0.3987, allocations: 59.73 kB / 0.5641 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01533/0.414, allocations: 10.81 MB / 0.5747 GB, free: 6.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.461e-05/0.4141, allocations: 0 / 0.5747 GB, free: 6.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003088/0.4144, allocations: 99.84 kB / 0.5748 GB, free: 6.473 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002195/0.4146, allocations: 223.2 kB / 0.575 GB, free: 6.254 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.4147, allocations: 142.4 kB / 0.5751 GB, free: 6.113 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000502/0.4153, allocations: 465.3 kB / 0.5756 GB, free: 5.656 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.4153, allocations: 4 kB / 0.5756 GB, free: 5.652 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4153, allocations: 0 / 0.5756 GB, free: 5.652 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.4153, allocations: 3.938 kB / 0.5756 GB, free: 5.648 MB / 414.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.0009949/0.4163, allocations: 0.8759 MB / 0.5764 GB, free: 4.738 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.4163, allocations: 16.03 kB / 0.5765 GB, free: 4.723 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.293e-05/0.4163, allocations: 8.188 kB / 0.5765 GB, free: 4.715 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.122e-05/0.4164, allocations: 66.7 kB / 0.5765 GB, free: 4.641 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.4165, allocations: 92.27 kB / 0.5766 GB, free: 4.551 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/0.4168, allocations: 334.7 kB / 0.5769 GB, free: 4.195 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.4168, allocations: 8.359 kB / 0.5769 GB, free: 4.188 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.4169, allocations: 8.359 kB / 0.5769 GB, free: 4.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006703/0.4175, allocations: 0.5921 MB / 0.5775 GB, free: 3.508 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.4175, allocations: 7.938 kB / 0.5775 GB, free: 3.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.14e-05/0.4176, allocations: 11.97 kB / 0.5775 GB, free: 3.488 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002452/0.4178, allocations: 167.9 kB / 0.5777 GB, free: 3.324 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003705/0.4182, allocations: 375.5 kB / 0.5781 GB, free: 2.957 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009345/0.4191, allocations: 0.6268 MB / 0.5787 GB, free: 2.219 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007078/0.4198, allocations: 0.7569 MB / 0.5794 GB, free: 1.242 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00046/0.4203, allocations: 476.4 kB / 0.5799 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.4203, allocations: 15.88 kB / 0.5799 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.466e-05/0.4204, allocations: 67.08 kB / 0.5799 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 2.054e-06/0.4204, allocations: 4 kB / 0.58 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.00157/0.4219, allocations: 1.327 MB / 0.5812 GB, free: 15.28 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003706/0.4223, allocations: 0.6547 MB / 0.5819 GB, free: 14.47 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008602/0.4232, allocations: 0.7782 MB / 0.5826 GB, free: 13.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.4232, allocations: 29.69 kB / 0.5827 GB, free: 13.64 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002408/0.4234, allocations: 298.1 kB / 0.583 GB, free: 13.35 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002819/0.4237, allocations: 329 kB / 0.5833 GB, free: 13.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.4238, allocations: 89.61 kB / 0.5834 GB, free: 12.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.424, allocations: 338 kB / 0.5837 GB, free: 12.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003762/0.4244, allocations: 337.6 kB / 0.584 GB, free: 12.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000495/0.4249, allocations: 0.5101 MB / 0.5845 GB, free: 11.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009496/0.4258, allocations: 0.9451 MB / 0.5854 GB, free: 10.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.4258, allocations: 4 kB / 0.5854 GB, free: 10.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00103/0.4268, allocations: 0.9531 MB / 0.5864 GB, free: 9.695 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.4269, allocations: 4 kB / 0.5864 GB, free: 9.691 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.4269, allocations: 11.94 kB / 0.5864 GB, free: 9.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.4269, allocations: 11.94 kB / 0.5864 GB, free: 9.668 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.518e-06/0.4269, allocations: 11.92 kB / 0.5864 GB, free: 9.656 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/0.4269, allocations: 11.94 kB / 0.5864 GB, free: 9.645 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001389/0.4271, allocations: 48.3 kB / 0.5865 GB, free: 9.598 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.943e-05/0.4271, allocations: 35.97 kB / 0.5865 GB, free: 9.562 MB / 430.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.0003201/0.4274, allocations: 317.5 kB / 0.5868 GB, free: 9.242 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.4276, allocations: 95.33 kB / 0.5869 GB, free: 9.148 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.4277, allocations: 93.75 kB / 0.587 GB, free: 9.051 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002283/0.4279, allocations: 171.9 kB / 0.5871 GB, free: 8.883 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/0.4279, allocations: 8 kB / 0.5871 GB, free: 8.875 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-06/0.4279, allocations: 4 kB / 0.5871 GB, free: 8.871 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007905/0.4287, allocations: 0.5 MB / 0.5876 GB, free: 8.328 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/0.4287, allocations: 15.94 kB / 0.5876 GB, free: 8.312 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.412e-06/0.4287, allocations: 7.984 kB / 0.5877 GB, free: 8.305 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.4287, allocations: 11.94 kB / 0.5877 GB, free: 8.293 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.4287, allocations: 16 kB / 0.5877 GB, free: 8.277 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.796e-06/0.4288, allocations: 11.98 kB / 0.5877 GB, free: 8.266 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.4288, allocations: 7.938 kB / 0.5877 GB, free: 8.258 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/0.4299, allocations: 1.095 MB / 0.5888 GB, free: 7.074 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.43, allocations: 107.1 kB / 0.5889 GB, free: 6.969 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.438e-05/0.4301, allocations: 11.98 kB / 0.5889 GB, free: 6.957 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.4302, allocations: 7.984 kB / 0.5889 GB, free: 6.949 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.02e-05/0.4302, allocations: 43.75 kB / 0.5889 GB, free: 6.906 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.073e-05/0.4303, allocations: 28 kB / 0.589 GB, free: 6.879 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006092/0.4309, allocations: 0.5614 MB / 0.5895 GB, free: 6.324 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4309, allocations: 4 kB / 0.5895 GB, free: 6.32 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004047/0.4313, allocations: 55.91 kB / 0.5896 GB, free: 6.266 MB / 430.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.001532/0.4328, allocations: 1.66 MB / 0.5912 GB, free: 4.504 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009571/0.4338, allocations: 0.7807 MB / 0.592 GB, free: 3.719 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.4338, allocations: 4 kB / 0.592 GB, free: 3.715 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004236/0.4342, allocations: 397.2 kB / 0.5923 GB, free: 3.328 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.4346, allocations: 45.72 kB / 0.5924 GB, free: 3.285 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00257/0.4372, allocations: 2.031 MB / 0.5944 GB, free: 1.137 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004507/0.4376, allocations: 431.2 kB / 0.5948 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002066/0.4378, allocations: 81.02 kB / 0.5948 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003016/0.4381, allocations: 251.3 kB / 0.5951 GB, free: 372 kB / 430.1 MB Notification: Performance of SimCode: time 1.142e-06/0.4381, allocations: 0 / 0.5951 GB, free: 372 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03266/0.4708, allocations: 10.5 MB / 0.6053 GB, free: 6.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/13.13, allocations: 18.25 kB / 0.6054 GB, free: 6.008 MB / 446.1 MB " [Timeout remaining time 647] (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: 16.11819631792605]