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.001769/0.001769, allocations: 112.5 kB / 21.22 MB, free: 0.7422 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.002124/0.002124, allocations: 209.2 kB / 24.53 MB, free: 4.133 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.421/1.421, allocations: 230.6 MB / 258.3 MB, free: 7.953 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.223/0.223, allocations: 46.93 MB / 361.6 MB, free: 4.254 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="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.001963/0.001963, allocations: 63.91 kB / 0.497 GB, free: 7.863 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3668, allocations: 66.04 MB / 0.5615 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.QuaternionFromT): time 0.002476/0.3693, allocations: 0.9373 MB / 0.5624 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002547/0.3719, allocations: 1.455 MB / 0.5638 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.144e-05/0.3719, allocations: 12 kB / 0.5638 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.868e-05/0.372, allocations: 19.86 kB / 0.5638 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008512/0.3728, allocations: 299.2 kB / 0.5641 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.38e-06/0.3728, allocations: 0 / 0.5641 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.373, allocations: 123.5 kB / 0.5642 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.734e-05/0.373, allocations: 5.75 kB / 0.5642 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.503e-05/0.3731, allocations: 59.67 kB / 0.5643 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01491/0.388, allocations: 10.81 MB / 0.5748 GB, free: 6.711 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001036/0.3881, allocations: 4 kB / 0.5748 GB, free: 6.707 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000323/0.3885, allocations: 95.91 kB / 0.5749 GB, free: 6.613 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002326/0.3887, allocations: 227.2 kB / 0.5752 GB, free: 6.391 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002639/0.3889, allocations: 193.8 kB / 0.5753 GB, free: 6.199 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005899/0.3895, allocations: 461.2 kB / 0.5758 GB, free: 5.746 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.3895, allocations: 0 / 0.5758 GB, free: 5.746 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3895, allocations: 0 / 0.5758 GB, free: 5.746 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.186e-06/0.3896, allocations: 0 / 0.5758 GB, free: 5.746 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.001047/0.3906, allocations: 0.876 MB / 0.5766 GB, free: 4.836 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.3906, allocations: 8.031 kB / 0.5766 GB, free: 4.828 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.474e-05/0.3907, allocations: 8.188 kB / 0.5766 GB, free: 4.82 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.834e-05/0.3908, allocations: 78.62 kB / 0.5767 GB, free: 4.734 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.3909, allocations: 88.28 kB / 0.5768 GB, free: 4.648 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003513/0.3912, allocations: 330.7 kB / 0.5771 GB, free: 4.297 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.3912, allocations: 8.359 kB / 0.5771 GB, free: 4.289 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.3913, allocations: 16.34 kB / 0.5771 GB, free: 4.273 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007401/0.392, allocations: 0.5945 MB / 0.5777 GB, free: 3.598 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.392, allocations: 4 kB / 0.5777 GB, free: 3.594 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.392, allocations: 3.984 kB / 0.5777 GB, free: 3.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002581/0.3923, allocations: 171.9 kB / 0.5779 GB, free: 3.422 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003977/0.3927, allocations: 375.5 kB / 0.5783 GB, free: 3.055 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.3939, allocations: 0.6228 MB / 0.5789 GB, free: 2.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007754/0.3947, allocations: 0.7608 MB / 0.5796 GB, free: 1.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005033/0.3952, allocations: 484.4 kB / 0.5801 GB, free: 0.793 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.3952, allocations: 15.94 kB / 0.5801 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.645e-05/0.3953, allocations: 67.08 kB / 0.5801 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 2.304e-06/0.3953, allocations: 3.938 kB / 0.5802 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.001673/0.3969, allocations: 1.331 MB / 0.5815 GB, free: 15.36 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005525/0.3975, allocations: 0.6555 MB / 0.5821 GB, free: 14.55 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.3986, allocations: 0.7743 MB / 0.5828 GB, free: 13.77 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.3986, allocations: 37.62 kB / 0.5829 GB, free: 13.73 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002745/0.3989, allocations: 306 kB / 0.5832 GB, free: 13.42 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002989/0.3992, allocations: 321.1 kB / 0.5835 GB, free: 13.11 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.3993, allocations: 89.47 kB / 0.5836 GB, free: 13.01 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.3995, allocations: 338 kB / 0.5839 GB, free: 12.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003514/0.3998, allocations: 344.8 kB / 0.5842 GB, free: 12.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005144/0.4003, allocations: 0.5023 MB / 0.5847 GB, free: 11.76 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/0.4014, allocations: 0.9412 MB / 0.5856 GB, free: 10.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.4015, allocations: 7.938 kB / 0.5856 GB, free: 10.74 MB / 430.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001164/0.4026, allocations: 0.9577 MB / 0.5866 GB, free: 9.773 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.4026, allocations: 12 kB / 0.5866 GB, free: 9.762 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.4027, allocations: 8 kB / 0.5866 GB, free: 9.754 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.4027, allocations: 4 kB / 0.5866 GB, free: 9.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.017e-06/0.4027, allocations: 11.98 kB / 0.5866 GB, free: 9.738 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.182e-05/0.4027, allocations: 11.94 kB / 0.5866 GB, free: 9.727 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/0.4029, allocations: 47.55 kB / 0.5867 GB, free: 9.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.932e-05/0.4029, allocations: 31.98 kB / 0.5867 GB, free: 9.648 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.0003765/0.4033, allocations: 317.5 kB / 0.587 GB, free: 9.328 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.4034, allocations: 95.31 kB / 0.5871 GB, free: 9.234 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001047/0.4035, allocations: 93.77 kB / 0.5872 GB, free: 9.137 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002861/0.4038, allocations: 175.9 kB / 0.5873 GB, free: 8.965 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.711e-05/0.4038, allocations: 8 kB / 0.5874 GB, free: 8.957 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.4039, allocations: 4 kB / 0.5874 GB, free: 8.953 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009423/0.4048, allocations: 0.5078 MB / 0.5879 GB, free: 8.402 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.4048, allocations: 7.938 kB / 0.5879 GB, free: 8.395 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.346e-06/0.4048, allocations: 11.94 kB / 0.5879 GB, free: 8.383 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.127e-06/0.4048, allocations: 8 kB / 0.5879 GB, free: 8.375 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.365e-05/0.4049, allocations: 19.97 kB / 0.5879 GB, free: 8.355 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.898e-06/0.4049, allocations: 11.94 kB / 0.5879 GB, free: 8.344 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.535e-06/0.4049, allocations: 11.98 kB / 0.5879 GB, free: 8.332 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/0.4063, allocations: 1.099 MB / 0.589 GB, free: 7.145 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.4064, allocations: 99.16 kB / 0.5891 GB, free: 7.047 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.608e-05/0.4065, allocations: 11.98 kB / 0.5891 GB, free: 7.035 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.4066, allocations: 7.984 kB / 0.5891 GB, free: 7.027 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.198e-05/0.4066, allocations: 47.77 kB / 0.5892 GB, free: 6.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.721e-05/0.4067, allocations: 31.98 kB / 0.5892 GB, free: 6.949 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006829/0.4074, allocations: 0.5536 MB / 0.5897 GB, free: 6.402 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4074, allocations: 0 / 0.5897 GB, free: 6.402 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004782/0.4078, allocations: 55.91 kB / 0.5898 GB, free: 6.348 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.001863/0.4097, allocations: 1.667 MB / 0.5914 GB, free: 4.578 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001199/0.4109, allocations: 0.7795 MB / 0.5922 GB, free: 3.793 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.4109, allocations: 0 / 0.5922 GB, free: 3.793 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004668/0.4114, allocations: 394.4 kB / 0.5925 GB, free: 3.41 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004522/0.4118, allocations: 39.47 kB / 0.5926 GB, free: 3.371 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002851/0.4147, allocations: 2.042 MB / 0.5946 GB, free: 1.211 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007611/0.4154, allocations: 1.022 MB / 0.5956 GB, free: 168 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002131/0.4156, allocations: 77.03 kB / 0.5956 GB, free: 88 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003619/0.416, allocations: 255.4 kB / 0.5959 GB, free: 15.83 MB / 446.1 MB Notification: Performance of SimCode: time 1.923e-06/0.416, allocations: 0 / 0.5959 GB, free: 15.83 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0335/0.4495, allocations: 10.9 MB / 0.6065 GB, free: 5.094 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/13.01, allocations: 10.41 kB / 0.6065 GB, free: 5.09 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.882267664012033]