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.001247/0.001247, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001392/0.001392, allocations: 206 kB / 23.73 MB, free: 4.523 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.45/1.45, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2325/0.2325, allocations: 46.96 MB / 360.9 MB, free: 4.035 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="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.00214/0.00214, allocations: 67.89 kB / 0.4961 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3889/0.391, allocations: 66.04 MB / 0.5606 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.QuaternionFromT): time 0.002351/0.3934, allocations: 0.9022 MB / 0.5615 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002114/0.3955, allocations: 1.409 MB / 0.5629 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.485e-05/0.3955, allocations: 4 kB / 0.5629 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.29e-05/0.3956, allocations: 19.86 kB / 0.5629 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008036/0.3964, allocations: 303.2 kB / 0.5632 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.32e-06/0.3964, allocations: 0 / 0.5632 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000149/0.3966, allocations: 115.6 kB / 0.5633 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.498e-05/0.3966, allocations: 9.75 kB / 0.5633 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.72e-05/0.3967, allocations: 63.61 kB / 0.5634 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01574/0.4124, allocations: 10.81 MB / 0.5739 GB, free: 6.562 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.741e-05/0.4125, allocations: 4 kB / 0.5739 GB, free: 6.559 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003342/0.4129, allocations: 95.84 kB / 0.574 GB, free: 6.465 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002387/0.4131, allocations: 223.2 kB / 0.5742 GB, free: 6.246 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.4132, allocations: 142.4 kB / 0.5744 GB, free: 6.105 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005303/0.4138, allocations: 473.2 kB / 0.5748 GB, free: 5.641 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.4138, allocations: 0 / 0.5748 GB, free: 5.641 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.4138, allocations: 0 / 0.5748 GB, free: 5.641 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.4138, allocations: 4 kB / 0.5748 GB, free: 5.637 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.001092/0.4149, allocations: 0.8721 MB / 0.5757 GB, free: 4.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.4149, allocations: 12.03 kB / 0.5757 GB, free: 4.719 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.144e-05/0.415, allocations: 66.7 kB / 0.5757 GB, free: 4.645 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.4151, allocations: 92.27 kB / 0.5758 GB, free: 4.555 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003545/0.4155, allocations: 338.7 kB / 0.5762 GB, free: 4.195 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.4155, allocations: 8.359 kB / 0.5762 GB, free: 4.188 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.4155, allocations: 8.359 kB / 0.5762 GB, free: 4.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007421/0.4163, allocations: 0.5885 MB / 0.5767 GB, free: 3.512 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.4163, allocations: 7.938 kB / 0.5768 GB, free: 3.504 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.731e-05/0.4163, allocations: 11.97 kB / 0.5768 GB, free: 3.492 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002557/0.4166, allocations: 175.9 kB / 0.5769 GB, free: 3.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004124/0.417, allocations: 371.5 kB / 0.5773 GB, free: 2.957 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.418, allocations: 0.6151 MB / 0.5779 GB, free: 2.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007772/0.4188, allocations: 0.7608 MB / 0.5786 GB, free: 1.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004721/0.4193, allocations: 480.5 kB / 0.5791 GB, free: 0.707 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.4193, allocations: 15.94 kB / 0.5791 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.15e-05/0.4193, allocations: 75.02 kB / 0.5792 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 2.745e-06/0.4193, allocations: 0 / 0.5792 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.001595/0.4209, allocations: 1.335 MB / 0.5805 GB, free: 15.27 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000394/0.4213, allocations: 0.6509 MB / 0.5811 GB, free: 14.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008914/0.4222, allocations: 0.7743 MB / 0.5819 GB, free: 13.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.4223, allocations: 29.69 kB / 0.5819 GB, free: 13.64 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002639/0.4225, allocations: 302.1 kB / 0.5822 GB, free: 13.34 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003007/0.4228, allocations: 329 kB / 0.5825 GB, free: 13.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.4229, allocations: 97.41 kB / 0.5826 GB, free: 12.92 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.4231, allocations: 334.7 kB / 0.5829 GB, free: 12.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003491/0.4234, allocations: 340.8 kB / 0.5832 GB, free: 12.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005173/0.424, allocations: 0.5102 MB / 0.5837 GB, free: 11.67 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009912/0.425, allocations: 0.9412 MB / 0.5847 GB, free: 10.65 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.425, allocations: 4 kB / 0.5847 GB, free: 10.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001079/0.426, allocations: 0.9492 MB / 0.5856 GB, free: 9.691 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.4261, allocations: 11.94 kB / 0.5856 GB, free: 9.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/0.4261, allocations: 8 kB / 0.5856 GB, free: 9.672 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.4261, allocations: 4 kB / 0.5856 GB, free: 9.668 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.385e-06/0.4261, allocations: 11.98 kB / 0.5856 GB, free: 9.656 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.609e-05/0.4261, allocations: 16.62 kB / 0.5856 GB, free: 9.641 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.4263, allocations: 47.55 kB / 0.5857 GB, free: 9.594 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.312e-05/0.4263, allocations: 39.97 kB / 0.5857 GB, free: 9.555 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.0003566/0.4267, allocations: 309.5 kB / 0.586 GB, free: 9.242 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.4268, allocations: 91.33 kB / 0.5861 GB, free: 9.152 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.4269, allocations: 97.75 kB / 0.5862 GB, free: 9.051 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000239/0.4271, allocations: 171.9 kB / 0.5864 GB, free: 8.883 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.608e-05/0.4272, allocations: 8 kB / 0.5864 GB, free: 8.875 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.4272, allocations: 4 kB / 0.5864 GB, free: 8.871 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008053/0.428, allocations: 0.5 MB / 0.5869 GB, free: 8.328 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.428, allocations: 8 kB / 0.5869 GB, free: 8.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.093e-05/0.428, allocations: 15.86 kB / 0.5869 GB, free: 8.305 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/0.428, allocations: 12 kB / 0.5869 GB, free: 8.293 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/0.428, allocations: 15.98 kB / 0.5869 GB, free: 8.277 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.065e-05/0.428, allocations: 11.98 kB / 0.5869 GB, free: 8.266 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.724e-06/0.428, allocations: 7.938 kB / 0.5869 GB, free: 8.258 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.4294, allocations: 1.095 MB / 0.588 GB, free: 7.074 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/0.4295, allocations: 103.1 kB / 0.5881 GB, free: 6.973 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.718e-05/0.4295, allocations: 11.98 kB / 0.5881 GB, free: 6.961 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.4296, allocations: 11.98 kB / 0.5881 GB, free: 6.949 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.41e-05/0.4297, allocations: 47.81 kB / 0.5882 GB, free: 6.902 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.934e-05/0.4297, allocations: 28 kB / 0.5882 GB, free: 6.875 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006863/0.4304, allocations: 0.5614 MB / 0.5887 GB, free: 6.32 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4304, allocations: 0 / 0.5887 GB, free: 6.32 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004492/0.4309, allocations: 59.91 kB / 0.5888 GB, free: 6.262 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.001696/0.4326, allocations: 1.663 MB / 0.5904 GB, free: 4.496 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009275/0.4335, allocations: 0.7726 MB / 0.5912 GB, free: 3.719 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4335, allocations: 4 kB / 0.5912 GB, free: 3.715 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004075/0.4339, allocations: 401.2 kB / 0.5916 GB, free: 3.324 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.4343, allocations: 35.28 kB / 0.5916 GB, free: 3.289 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002663/0.437, allocations: 2.035 MB / 0.5936 GB, free: 1.137 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004572/0.4374, allocations: 431.2 kB / 0.594 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002038/0.4376, allocations: 77.02 kB / 0.5941 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003111/0.4379, allocations: 251.3 kB / 0.5943 GB, free: 376 kB / 430.1 MB Notification: Performance of SimCode: time 1.492e-06/0.4379, allocations: 0 / 0.5943 GB, free: 376 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0412/0.4792, allocations: 10.73 MB / 0.6048 GB, free: 5.789 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.37, allocations: 2.188 kB / 0.6048 GB, free: 5.789 MB / 446.1 MB " [Timeout remaining time 649] (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: 14.228414170007454]