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.00131/0.00131, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001479/0.001479, allocations: 211.3 kB / 23.74 MB, free: 4.66 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.473/1.473, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.2329/0.2329, allocations: 46.94 MB / 360.9 MB, free: 4.27 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.00233/0.00233, allocations: 63.91 kB / 0.4962 GB, free: 7.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3556, allocations: 66.04 MB / 0.5607 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.QuaternionFromT): time 0.002422/0.358, allocations: 0.9438 MB / 0.5616 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002206/0.3602, allocations: 1.459 MB / 0.563 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.834e-05/0.3603, allocations: 4 kB / 0.563 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.231e-05/0.3604, allocations: 19.86 kB / 0.563 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008869/0.3612, allocations: 303.2 kB / 0.5633 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.251e-06/0.3612, allocations: 0 / 0.5633 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.3614, allocations: 119.5 kB / 0.5634 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.991e-05/0.3615, allocations: 13.75 kB / 0.5635 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.861e-05/0.3616, allocations: 63.61 kB / 0.5635 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01399/0.3756, allocations: 10.8 MB / 0.5741 GB, free: 6.688 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.3757, allocations: 4 kB / 0.5741 GB, free: 6.684 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003617/0.376, allocations: 95.89 kB / 0.5742 GB, free: 6.59 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002532/0.3763, allocations: 223.2 kB / 0.5744 GB, free: 6.371 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001952/0.3765, allocations: 197.8 kB / 0.5746 GB, free: 6.176 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005651/0.377, allocations: 461.2 kB / 0.575 GB, free: 5.723 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.377, allocations: 4 kB / 0.575 GB, free: 5.719 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.377, allocations: 0 / 0.575 GB, free: 5.719 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.3771, allocations: 0 / 0.575 GB, free: 5.719 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.001086/0.3781, allocations: 0.8721 MB / 0.5759 GB, free: 4.812 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.3782, allocations: 12.02 kB / 0.5759 GB, free: 4.801 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.387e-05/0.3783, allocations: 70.7 kB / 0.5759 GB, free: 4.723 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.3784, allocations: 92.22 kB / 0.576 GB, free: 4.633 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003118/0.3787, allocations: 334.7 kB / 0.5763 GB, free: 4.277 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.3787, allocations: 12.36 kB / 0.5764 GB, free: 4.266 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.3787, allocations: 12.36 kB / 0.5764 GB, free: 4.254 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006751/0.3794, allocations: 0.5869 MB / 0.5769 GB, free: 3.586 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.3794, allocations: 7.938 kB / 0.577 GB, free: 3.578 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.3794, allocations: 3.984 kB / 0.577 GB, free: 3.574 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002265/0.3797, allocations: 171.9 kB / 0.5771 GB, free: 3.406 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003627/0.38, allocations: 379.5 kB / 0.5775 GB, free: 3.035 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009467/0.381, allocations: 0.619 MB / 0.5781 GB, free: 2.305 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008108/0.3818, allocations: 0.7647 MB / 0.5788 GB, free: 1.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005442/0.3823, allocations: 480.5 kB / 0.5793 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.3824, allocations: 15.94 kB / 0.5793 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.198e-05/0.3824, allocations: 71.02 kB / 0.5794 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 2.034e-06/0.3824, allocations: 0 / 0.5794 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.001603/0.384, allocations: 1.335 MB / 0.5807 GB, free: 15.34 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003711/0.3844, allocations: 0.6477 MB / 0.5813 GB, free: 14.54 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000848/0.3852, allocations: 0.782 MB / 0.5821 GB, free: 13.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.046e-05/0.3853, allocations: 33.69 kB / 0.5821 GB, free: 13.71 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002352/0.3855, allocations: 302.1 kB / 0.5824 GB, free: 13.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002594/0.3858, allocations: 325.1 kB / 0.5827 GB, free: 13.09 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.638e-05/0.3859, allocations: 85.62 kB / 0.5828 GB, free: 13 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.386, allocations: 341.9 kB / 0.5831 GB, free: 12.66 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000338/0.3864, allocations: 348.6 kB / 0.5834 GB, free: 12.32 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004718/0.3868, allocations: 0.5059 MB / 0.5839 GB, free: 11.74 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009185/0.3877, allocations: 0.9412 MB / 0.5849 GB, free: 10.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.3878, allocations: 4 kB / 0.5849 GB, free: 10.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001035/0.3888, allocations: 0.9655 MB / 0.5858 GB, free: 9.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.3888, allocations: 12 kB / 0.5858 GB, free: 9.738 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.3888, allocations: 8 kB / 0.5858 GB, free: 9.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.3888, allocations: 4 kB / 0.5858 GB, free: 9.727 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.432e-06/0.3889, allocations: 8 kB / 0.5858 GB, free: 9.719 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.728e-05/0.3889, allocations: 11.94 kB / 0.5858 GB, free: 9.707 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/0.389, allocations: 47.55 kB / 0.5859 GB, free: 9.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.492e-05/0.3891, allocations: 31.98 kB / 0.5859 GB, free: 9.629 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.0003313/0.3894, allocations: 313.5 kB / 0.5862 GB, free: 9.312 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.3895, allocations: 95.33 kB / 0.5863 GB, free: 9.219 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.3896, allocations: 89.77 kB / 0.5864 GB, free: 9.125 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002177/0.3898, allocations: 175.9 kB / 0.5866 GB, free: 8.953 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.315e-05/0.3899, allocations: 8 kB / 0.5866 GB, free: 8.945 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.3899, allocations: 7.984 kB / 0.5866 GB, free: 8.938 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007511/0.3906, allocations: 0.5039 MB / 0.5871 GB, free: 8.391 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.3906, allocations: 4 kB / 0.5871 GB, free: 8.387 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.095e-06/0.3906, allocations: 15.88 kB / 0.5871 GB, free: 8.371 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.979e-06/0.3906, allocations: 11.98 kB / 0.5871 GB, free: 8.359 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.3907, allocations: 15.98 kB / 0.5871 GB, free: 8.344 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/0.3907, allocations: 8 kB / 0.5871 GB, free: 8.336 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.353e-06/0.3907, allocations: 11.94 kB / 0.5871 GB, free: 8.324 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/0.3919, allocations: 1.095 MB / 0.5882 GB, free: 7.141 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.392, allocations: 103.1 kB / 0.5883 GB, free: 7.039 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.493e-05/0.392, allocations: 19.97 kB / 0.5883 GB, free: 7.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.625e-05/0.3921, allocations: 4 kB / 0.5883 GB, free: 7.016 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.41e-05/0.3922, allocations: 43.83 kB / 0.5884 GB, free: 6.973 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-05/0.3922, allocations: 31.98 kB / 0.5884 GB, free: 6.941 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005995/0.3928, allocations: 0.5536 MB / 0.5889 GB, free: 6.395 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3928, allocations: 0 / 0.5889 GB, free: 6.395 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004123/0.3932, allocations: 55.91 kB / 0.589 GB, free: 6.34 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.001682/0.3949, allocations: 1.671 MB / 0.5906 GB, free: 4.566 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000977/0.3959, allocations: 0.7795 MB / 0.5914 GB, free: 3.781 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3959, allocations: 0 / 0.5914 GB, free: 3.781 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000422/0.3963, allocations: 398.5 kB / 0.5918 GB, free: 3.395 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.3967, allocations: 39.27 kB / 0.5918 GB, free: 3.355 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002653/0.3993, allocations: 2.035 MB / 0.5938 GB, free: 1.203 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007491/0.4001, allocations: 1.026 MB / 0.5948 GB, free: 156 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001928/0.4003, allocations: 73.03 kB / 0.5949 GB, free: 80 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003126/0.4006, allocations: 255.4 kB / 0.5951 GB, free: 15.82 MB / 446.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4006, allocations: 0 / 0.5951 GB, free: 15.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04078/0.4414, allocations: 10.86 MB / 0.6057 GB, free: 5.105 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/12.66, allocations: 6.562 kB / 0.6057 GB, free: 5.102 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: 15.551727906102315]