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.001535/0.001535, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001489/0.001489, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.514/1.514, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2388/0.2388, allocations: 46.97 MB / 360.9 MB, free: 4.039 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.003598/0.003598, allocations: 67.91 kB / 0.4961 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3795/0.3831, allocations: 66.03 MB / 0.5606 GB, free: 4.109 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.QuaternionFromT): time 0.002458/0.3856, allocations: 0.914 MB / 0.5615 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002154/0.3877, allocations: 1.397 MB / 0.5629 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.525e-05/0.3878, allocations: 8 kB / 0.5629 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.336e-05/0.3878, allocations: 19.8 kB / 0.5629 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008101/0.3886, allocations: 303.2 kB / 0.5632 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.041e-06/0.3886, allocations: 4 kB / 0.5632 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.3888, allocations: 123.5 kB / 0.5633 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.486e-05/0.3888, allocations: 5.75 kB / 0.5633 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.066e-05/0.3889, allocations: 63.67 kB / 0.5634 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01294/0.4018, allocations: 10.8 MB / 0.5739 GB, free: 6.445 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.46e-05/0.4019, allocations: 4 kB / 0.5739 GB, free: 6.441 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002959/0.4022, allocations: 95.91 kB / 0.574 GB, free: 6.348 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002435/0.4025, allocations: 227.2 kB / 0.5742 GB, free: 6.125 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.4026, allocations: 142.3 kB / 0.5744 GB, free: 5.984 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005006/0.4031, allocations: 473.2 kB / 0.5748 GB, free: 5.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.4031, allocations: 0 / 0.5748 GB, free: 5.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4031, allocations: 0 / 0.5748 GB, free: 5.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.774e-06/0.4031, allocations: 0 / 0.5748 GB, free: 5.52 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.001046/0.4041, allocations: 0.8798 MB / 0.5757 GB, free: 4.605 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.4042, allocations: 8.031 kB / 0.5757 GB, free: 4.598 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.596e-05/0.4043, allocations: 70.7 kB / 0.5758 GB, free: 4.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.561e-05/0.4043, allocations: 88.28 kB / 0.5758 GB, free: 4.434 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003168/0.4047, allocations: 338.7 kB / 0.5762 GB, free: 4.074 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.4047, allocations: 4.375 kB / 0.5762 GB, free: 4.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.4047, allocations: 12.36 kB / 0.5762 GB, free: 4.059 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006422/0.4053, allocations: 0.5963 MB / 0.5768 GB, free: 3.383 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.4054, allocations: 0 / 0.5768 GB, free: 3.383 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.992e-05/0.4054, allocations: 7.984 kB / 0.5768 GB, free: 3.375 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002193/0.4056, allocations: 167.9 kB / 0.5769 GB, free: 3.211 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003776/0.406, allocations: 379.4 kB / 0.5773 GB, free: 2.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008808/0.4069, allocations: 0.6151 MB / 0.5779 GB, free: 2.113 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000716/0.4076, allocations: 0.7646 MB / 0.5786 GB, free: 1.129 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004512/0.408, allocations: 480.5 kB / 0.5791 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.4081, allocations: 16 kB / 0.5791 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.572e-05/0.4081, allocations: 70.95 kB / 0.5792 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 1.953e-06/0.4081, allocations: 0 / 0.5792 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.001532/0.4096, allocations: 1.331 MB / 0.5805 GB, free: 15.16 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003391/0.41, allocations: 0.6516 MB / 0.5811 GB, free: 14.35 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008679/0.4109, allocations: 0.7782 MB / 0.5819 GB, free: 13.56 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.4109, allocations: 37.69 kB / 0.5819 GB, free: 13.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002406/0.4111, allocations: 302.1 kB / 0.5822 GB, free: 13.22 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002709/0.4114, allocations: 329 kB / 0.5825 GB, free: 12.89 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.4115, allocations: 85.48 kB / 0.5826 GB, free: 12.8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.4117, allocations: 341.9 kB / 0.5829 GB, free: 12.46 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00037/0.412, allocations: 340.8 kB / 0.5832 GB, free: 12.13 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005288/0.4126, allocations: 0.5023 MB / 0.5837 GB, free: 11.55 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.4136, allocations: 0.9451 MB / 0.5847 GB, free: 10.54 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.4136, allocations: 0 / 0.5847 GB, free: 10.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001228/0.4148, allocations: 0.9613 MB / 0.5856 GB, free: 9.566 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.4149, allocations: 8.344 kB / 0.5856 GB, free: 9.559 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.4149, allocations: 8 kB / 0.5856 GB, free: 9.551 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-05/0.4149, allocations: 11.98 kB / 0.5856 GB, free: 9.539 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.396e-06/0.4149, allocations: 7.938 kB / 0.5856 GB, free: 9.531 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/0.4149, allocations: 8 kB / 0.5856 GB, free: 9.523 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.4151, allocations: 51.53 kB / 0.5857 GB, free: 9.473 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.562e-05/0.4151, allocations: 28 kB / 0.5857 GB, free: 9.445 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.0004644/0.4156, allocations: 309.5 kB / 0.586 GB, free: 9.133 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/0.4158, allocations: 99.33 kB / 0.5861 GB, free: 9.035 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.4159, allocations: 89.77 kB / 0.5862 GB, free: 8.941 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002383/0.4161, allocations: 175.9 kB / 0.5864 GB, free: 8.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/0.4161, allocations: 11.94 kB / 0.5864 GB, free: 8.758 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.42e-05/0.4161, allocations: 15.92 kB / 0.5864 GB, free: 8.742 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008144/0.4169, allocations: 0.5 MB / 0.5869 GB, free: 8.199 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.417, allocations: 8 kB / 0.5869 GB, free: 8.191 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.907e-06/0.417, allocations: 11.94 kB / 0.5869 GB, free: 8.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/0.417, allocations: 4 kB / 0.5869 GB, free: 8.176 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.417, allocations: 19.97 kB / 0.5869 GB, free: 8.156 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.01e-05/0.417, allocations: 11.94 kB / 0.5869 GB, free: 8.145 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/0.417, allocations: 8 kB / 0.5869 GB, free: 8.137 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/0.4183, allocations: 1.095 MB / 0.588 GB, free: 6.953 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.4184, allocations: 103.2 kB / 0.5881 GB, free: 6.852 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.602e-05/0.4184, allocations: 15.97 kB / 0.5881 GB, free: 6.836 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.4185, allocations: 7.984 kB / 0.5881 GB, free: 6.828 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.565e-05/0.4186, allocations: 39.84 kB / 0.5882 GB, free: 6.789 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.949e-05/0.4186, allocations: 35.97 kB / 0.5882 GB, free: 6.754 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006049/0.4192, allocations: 0.5575 MB / 0.5887 GB, free: 6.203 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4192, allocations: 0 / 0.5887 GB, free: 6.203 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004425/0.4197, allocations: 55.91 kB / 0.5888 GB, free: 6.148 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.001726/0.4214, allocations: 1.671 MB / 0.5904 GB, free: 4.375 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009229/0.4223, allocations: 0.7769 MB / 0.5912 GB, free: 3.598 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/0.4223, allocations: 0 / 0.5912 GB, free: 3.598 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004117/0.4227, allocations: 392.2 kB / 0.5916 GB, free: 3.215 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.4231, allocations: 39.27 kB / 0.5916 GB, free: 3.176 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002594/0.4257, allocations: 2.03 MB / 0.5936 GB, free: 1.031 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004435/0.4261, allocations: 435.1 kB / 0.594 GB, free: 0.582 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002095/0.4264, allocations: 82.03 kB / 0.5941 GB, free: 0.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003005/0.4267, allocations: 251.3 kB / 0.5943 GB, free: 260 kB / 430.1 MB Notification: Performance of SimCode: time 8.21e-07/0.4267, allocations: 0 / 0.5943 GB, free: 260 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03796/0.4646, allocations: 10.45 MB / 0.6045 GB, free: 5.949 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.6, allocations: 14.42 kB / 0.6045 GB, free: 5.938 MB / 446.1 MB " [Timeout remaining time 648] (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.549215956125408]