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.00127/0.00127, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001389/0.001389, allocations: 208.7 kB / 24.51 MB, free: 3.941 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.465/1.465, allocations: 230.5 MB / 258.2 MB, free: 7.801 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.2345/0.2345, allocations: 46.94 MB / 361.6 MB, free: 3.953 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.QuaternionFromT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Frames_QuaternionFromT",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002228/0.002228, allocations: 75.88 kB / 0.4969 GB, free: 7.551 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3371, allocations: 66.08 MB / 0.5615 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.QuaternionFromT): time 0.002274/0.3394, allocations: 0.8906 MB / 0.5623 GB, free: 3.148 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002166/0.3415, allocations: 1.412 MB / 0.5637 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.622e-05/0.3416, allocations: 8 kB / 0.5637 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.286e-05/0.3416, allocations: 15.86 kB / 0.5637 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008463/0.3425, allocations: 295.3 kB / 0.564 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.999e-06/0.3425, allocations: 4 kB / 0.564 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.3426, allocations: 127.5 kB / 0.5641 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.728e-05/0.3427, allocations: 5.75 kB / 0.5641 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.468e-05/0.3428, allocations: 63.67 kB / 0.5642 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01548/0.3582, allocations: 10.8 MB / 0.5748 GB, free: 6.391 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.555e-05/0.3583, allocations: 4 kB / 0.5748 GB, free: 6.387 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002796/0.3586, allocations: 95.84 kB / 0.5749 GB, free: 6.293 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002271/0.3588, allocations: 227.2 kB / 0.5751 GB, free: 6.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.359, allocations: 142.4 kB / 0.5752 GB, free: 5.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005131/0.3595, allocations: 469.3 kB / 0.5757 GB, free: 5.469 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3595, allocations: 0 / 0.5757 GB, free: 5.469 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3595, allocations: 0 / 0.5757 GB, free: 5.469 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.3595, allocations: 4 kB / 0.5757 GB, free: 5.465 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.000989/0.3605, allocations: 0.8798 MB / 0.5765 GB, free: 4.551 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.3605, allocations: 8.031 kB / 0.5765 GB, free: 4.543 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.928e-05/0.3605, allocations: 8.188 kB / 0.5765 GB, free: 4.535 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.754e-05/0.3606, allocations: 70.69 kB / 0.5766 GB, free: 4.457 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.678e-05/0.3607, allocations: 88.28 kB / 0.5767 GB, free: 4.371 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003161/0.361, allocations: 334.7 kB / 0.577 GB, free: 4.016 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.361, allocations: 4.375 kB / 0.577 GB, free: 4.012 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.3611, allocations: 12.36 kB / 0.577 GB, free: 4 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006546/0.3617, allocations: 0.5944 MB / 0.5776 GB, free: 3.324 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.3617, allocations: 7.938 kB / 0.5776 GB, free: 3.316 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.3617, allocations: 7.984 kB / 0.5776 GB, free: 3.309 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002449/0.362, allocations: 171.9 kB / 0.5778 GB, free: 3.141 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003738/0.3624, allocations: 371.5 kB / 0.5781 GB, free: 2.777 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009523/0.3633, allocations: 0.619 MB / 0.5787 GB, free: 2.047 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007351/0.364, allocations: 0.7607 MB / 0.5795 GB, free: 1.066 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004641/0.3645, allocations: 484.5 kB / 0.5799 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.3645, allocations: 19.88 kB / 0.58 GB, free: 0.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.835e-05/0.3646, allocations: 63.08 kB / 0.58 GB, free: 440 kB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 1.914e-06/0.3646, allocations: 0 / 0.58 GB, free: 440 kB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.001554/0.3661, allocations: 1.339 MB / 0.5813 GB, free: 15.09 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003645/0.3665, allocations: 0.6469 MB / 0.582 GB, free: 14.29 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008702/0.3674, allocations: 0.7782 MB / 0.5827 GB, free: 13.5 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.3674, allocations: 33.69 kB / 0.5827 GB, free: 13.46 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002442/0.3676, allocations: 298.1 kB / 0.583 GB, free: 13.16 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002672/0.3679, allocations: 333 kB / 0.5834 GB, free: 12.83 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.368, allocations: 90.36 kB / 0.5834 GB, free: 12.74 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.3682, allocations: 334 kB / 0.5838 GB, free: 12.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003462/0.3685, allocations: 340.8 kB / 0.5841 GB, free: 12.07 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004882/0.369, allocations: 0.5062 MB / 0.5846 GB, free: 11.49 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009407/0.37, allocations: 0.9451 MB / 0.5855 GB, free: 10.47 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.37, allocations: 4 kB / 0.5855 GB, free: 10.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001076/0.371, allocations: 0.9531 MB / 0.5864 GB, free: 9.508 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.3711, allocations: 8 kB / 0.5864 GB, free: 9.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.3711, allocations: 4 kB / 0.5864 GB, free: 9.496 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.3711, allocations: 8 kB / 0.5865 GB, free: 9.488 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.228e-05/0.3711, allocations: 16.67 kB / 0.5865 GB, free: 9.473 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.3711, allocations: 4 kB / 0.5865 GB, free: 9.469 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.3713, allocations: 55.48 kB / 0.5865 GB, free: 9.414 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.536e-05/0.3713, allocations: 31.98 kB / 0.5866 GB, free: 9.383 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.0003346/0.3716, allocations: 313.5 kB / 0.5869 GB, free: 9.066 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.3718, allocations: 95.33 kB / 0.5869 GB, free: 8.973 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.3719, allocations: 93.75 kB / 0.587 GB, free: 8.875 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002314/0.3721, allocations: 179.8 kB / 0.5872 GB, free: 8.699 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.912e-05/0.3721, allocations: 8 kB / 0.5872 GB, free: 8.691 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.3721, allocations: 4 kB / 0.5872 GB, free: 8.688 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00077/0.3729, allocations: 0.4961 MB / 0.5877 GB, free: 8.148 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.3729, allocations: 11.92 kB / 0.5877 GB, free: 8.137 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.192e-06/0.3729, allocations: 12 kB / 0.5877 GB, free: 8.125 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/0.3729, allocations: 8 kB / 0.5877 GB, free: 8.117 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.3729, allocations: 23.91 kB / 0.5878 GB, free: 8.094 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.3729, allocations: 8 kB / 0.5878 GB, free: 8.086 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.373, allocations: 7.938 kB / 0.5878 GB, free: 8.078 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/0.3741, allocations: 1.095 MB / 0.5888 GB, free: 6.895 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.3742, allocations: 103.1 kB / 0.5889 GB, free: 6.793 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.334e-05/0.3743, allocations: 11.98 kB / 0.5889 GB, free: 6.781 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.3744, allocations: 11.98 kB / 0.589 GB, free: 6.77 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.002e-05/0.3744, allocations: 43.77 kB / 0.589 GB, free: 6.727 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.102e-05/0.3745, allocations: 31.98 kB / 0.589 GB, free: 6.695 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006392/0.3751, allocations: 0.5614 MB / 0.5896 GB, free: 6.141 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3751, allocations: 0 / 0.5896 GB, free: 6.141 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004186/0.3755, allocations: 55.91 kB / 0.5896 GB, free: 6.086 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.001627/0.3772, allocations: 1.667 MB / 0.5913 GB, free: 4.312 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009166/0.3781, allocations: 0.7762 MB / 0.592 GB, free: 3.535 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3781, allocations: 0 / 0.592 GB, free: 3.535 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004314/0.3785, allocations: 401.2 kB / 0.5924 GB, free: 3.145 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/0.3789, allocations: 36.09 kB / 0.5924 GB, free: 3.109 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002745/0.3817, allocations: 2.031 MB / 0.5944 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004647/0.3821, allocations: 431.2 kB / 0.5948 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002012/0.3823, allocations: 77.02 kB / 0.5949 GB, free: 448 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003138/0.3826, allocations: 255.3 kB / 0.5951 GB, free: 192 kB / 430.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3826, allocations: 0 / 0.5951 GB, free: 192 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0368/0.4194, allocations: 10.52 MB / 0.6054 GB, free: 5.762 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/12.75, allocations: 6.062 kB / 0.6054 GB, free: 5.762 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.688982146093622]