Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00202/0.00202, allocations: 116.7 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002669/0.002669, allocations: 215.5 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.572/1.572, allocations: 230.5 MB / 257.4 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2384/0.2384, allocations: 46.93 MB / 360.8 MB, free: 4.18 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.QuaternionFromT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Frames_QuaternionFromT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.QuaternionFromT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Frames_QuaternionFromT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002196/0.002196, allocations: 83.86 kB / 0.4962 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3342, allocations: 66.08 MB / 0.5608 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.QuaternionFromT): time 0.002243/0.3364, allocations: 0.9296 MB / 0.5617 GB, free: 3.352 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002078/0.3385, allocations: 1.475 MB / 0.5631 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.531e-05/0.3386, allocations: 8 kB / 0.5631 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.821e-05/0.3386, allocations: 15.86 kB / 0.5631 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008308/0.3394, allocations: 295.3 kB / 0.5634 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.682e-06/0.3395, allocations: 4 kB / 0.5634 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.3396, allocations: 119.5 kB / 0.5635 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.927e-05/0.3397, allocations: 9.734 kB / 0.5635 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.003e-05/0.3397, allocations: 63.67 kB / 0.5636 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01497/0.3547, allocations: 10.8 MB / 0.5741 GB, free: 6.535 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.264e-05/0.3548, allocations: 4 kB / 0.5742 GB, free: 6.531 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003014/0.3551, allocations: 95.84 kB / 0.5742 GB, free: 6.438 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002418/0.3553, allocations: 231.2 kB / 0.5745 GB, free: 6.211 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001826/0.3555, allocations: 185.9 kB / 0.5746 GB, free: 6.027 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000559/0.3561, allocations: 469.2 kB / 0.5751 GB, free: 5.566 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3561, allocations: 0 / 0.5751 GB, free: 5.566 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3561, allocations: 0 / 0.5751 GB, free: 5.566 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.516e-05/0.3561, allocations: 4 kB / 0.5751 GB, free: 5.562 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.001037/0.3571, allocations: 0.8721 MB / 0.5759 GB, free: 4.656 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.3572, allocations: 12.03 kB / 0.576 GB, free: 4.645 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.59e-05/0.3573, allocations: 66.7 kB / 0.576 GB, free: 4.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.3574, allocations: 92.27 kB / 0.5761 GB, free: 4.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003288/0.3577, allocations: 330.7 kB / 0.5764 GB, free: 4.129 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.3577, allocations: 8.359 kB / 0.5764 GB, free: 4.121 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.3578, allocations: 8.359 kB / 0.5764 GB, free: 4.113 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006647/0.3584, allocations: 0.5947 MB / 0.577 GB, free: 3.438 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.3584, allocations: 7.922 kB / 0.577 GB, free: 3.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.3585, allocations: 7.984 kB / 0.577 GB, free: 3.422 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002389/0.3587, allocations: 167.9 kB / 0.5772 GB, free: 3.258 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000386/0.3591, allocations: 375.5 kB / 0.5776 GB, free: 2.891 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000935/0.36, allocations: 0.6229 MB / 0.5782 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000738/0.3608, allocations: 0.7685 MB / 0.5789 GB, free: 1.168 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004721/0.3612, allocations: 480.4 kB / 0.5794 GB, free: 0.625 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.3613, allocations: 19.88 kB / 0.5794 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.382e-05/0.3613, allocations: 67.02 kB / 0.5795 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 2.204e-06/0.3613, allocations: 0 / 0.5795 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.00152/0.3628, allocations: 1.328 MB / 0.5808 GB, free: 15.2 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003465/0.3632, allocations: 0.6547 MB / 0.5814 GB, free: 14.39 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008535/0.364, allocations: 0.7782 MB / 0.5822 GB, free: 13.6 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.542e-05/0.3641, allocations: 33.69 kB / 0.5822 GB, free: 13.56 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002465/0.3643, allocations: 298.1 kB / 0.5825 GB, free: 13.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002831/0.3646, allocations: 333.1 kB / 0.5828 GB, free: 12.94 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.3647, allocations: 85.61 kB / 0.5829 GB, free: 12.85 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.3649, allocations: 338 kB / 0.5832 GB, free: 12.51 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003783/0.3653, allocations: 340.7 kB / 0.5835 GB, free: 12.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005096/0.3658, allocations: 0.5062 MB / 0.584 GB, free: 11.6 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009779/0.3667, allocations: 0.949 MB / 0.5849 GB, free: 10.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.3667, allocations: 4 kB / 0.5849 GB, free: 10.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001071/0.3678, allocations: 0.9647 MB / 0.5859 GB, free: 9.598 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.3678, allocations: 8 kB / 0.5859 GB, free: 9.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.3679, allocations: 4 kB / 0.5859 GB, free: 9.586 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/0.3679, allocations: 8 kB / 0.5859 GB, free: 9.578 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.855e-06/0.3679, allocations: 11.92 kB / 0.5859 GB, free: 9.566 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.3679, allocations: 8 kB / 0.5859 GB, free: 9.559 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.368, allocations: 47.55 kB / 0.586 GB, free: 9.512 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.81e-05/0.3681, allocations: 31.98 kB / 0.586 GB, free: 9.48 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.00033/0.3684, allocations: 319.3 kB / 0.5863 GB, free: 9.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.3685, allocations: 99.31 kB / 0.5864 GB, free: 9.062 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.973e-05/0.3686, allocations: 93.77 kB / 0.5865 GB, free: 8.965 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002192/0.3689, allocations: 171.9 kB / 0.5866 GB, free: 8.797 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.348e-05/0.3689, allocations: 8 kB / 0.5867 GB, free: 8.789 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.3689, allocations: 4 kB / 0.5867 GB, free: 8.785 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007438/0.3696, allocations: 0.5039 MB / 0.5872 GB, free: 8.238 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.3696, allocations: 8 kB / 0.5872 GB, free: 8.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.973e-06/0.3696, allocations: 7.938 kB / 0.5872 GB, free: 8.223 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.3697, allocations: 8 kB / 0.5872 GB, free: 8.215 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.513e-05/0.3697, allocations: 23.97 kB / 0.5872 GB, free: 8.191 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.706e-06/0.3697, allocations: 11.94 kB / 0.5872 GB, free: 8.18 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.109e-05/0.3697, allocations: 7.938 kB / 0.5872 GB, free: 8.172 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.3708, allocations: 1.095 MB / 0.5883 GB, free: 6.988 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.3709, allocations: 99.16 kB / 0.5884 GB, free: 6.891 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.715e-05/0.371, allocations: 11.98 kB / 0.5884 GB, free: 6.879 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.3711, allocations: 15.97 kB / 0.5884 GB, free: 6.863 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/0.3712, allocations: 39.83 kB / 0.5884 GB, free: 6.824 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.511e-05/0.3712, allocations: 35.97 kB / 0.5885 GB, free: 6.789 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006169/0.3718, allocations: 0.5614 MB / 0.589 GB, free: 6.234 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3718, allocations: 0 / 0.589 GB, free: 6.234 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004446/0.3723, allocations: 59.91 kB / 0.5891 GB, free: 6.176 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.00155/0.3738, allocations: 1.656 MB / 0.5907 GB, free: 4.414 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008358/0.3746, allocations: 0.7834 MB / 0.5915 GB, free: 3.629 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3746, allocations: 1.5 kB / 0.5915 GB, free: 3.629 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004178/0.3751, allocations: 392.5 kB / 0.5918 GB, free: 3.246 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.3754, allocations: 45.25 kB / 0.5919 GB, free: 3.203 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002622/0.3781, allocations: 2.032 MB / 0.5939 GB, free: 1.055 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006626/0.3787, allocations: 1.022 MB / 0.5949 GB, free: 8 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002093/0.3789, allocations: 81.02 kB / 0.5949 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003081/0.3792, allocations: 255.3 kB / 0.5952 GB, free: 15.68 MB / 446.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3792, allocations: 7.938 kB / 0.5952 GB, free: 15.67 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04133/0.4206, allocations: 10.85 MB / 0.6058 GB, free: 4.895 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.59, allocations: 10.06 kB / 0.6058 GB, free: 4.891 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Frames_QuaternionFromT_fmu --startTime=0 --stopTime=0.1 --stepSize=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Frames_QuaternionFromT.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.642308679874986]