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.001682/0.001682, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.00222/0.00222, allocations: 219.8 kB / 24.53 MB, free: 4.008 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.417/1.417, allocations: 230.5 MB / 258.2 MB, free: 8.012 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.2199/0.2199, allocations: 46.93 MB / 361.6 MB, free: 4.199 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.00233/0.00233, allocations: 75.88 kB / 0.497 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3143, allocations: 66.08 MB / 0.5615 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.QuaternionFromT): time 0.002189/0.3165, allocations: 0.9491 MB / 0.5625 GB, free: 3.348 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002017/0.3185, allocations: 1.459 MB / 0.5639 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.328e-05/0.3186, allocations: 4 kB / 0.5639 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.979e-05/0.3186, allocations: 19.86 kB / 0.5639 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007383/0.3194, allocations: 299.3 kB / 0.5642 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.17e-06/0.3194, allocations: 0 / 0.5642 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.3195, allocations: 115.5 kB / 0.5643 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.74e-05/0.3196, allocations: 13.73 kB / 0.5643 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.259e-05/0.3196, allocations: 63.67 kB / 0.5644 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01389/0.3335, allocations: 10.8 MB / 0.5749 GB, free: 6.547 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.769e-05/0.3336, allocations: 4 kB / 0.5749 GB, free: 6.543 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003347/0.3339, allocations: 99.83 kB / 0.575 GB, free: 6.445 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002084/0.3342, allocations: 219.2 kB / 0.5752 GB, free: 6.23 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001537/0.3343, allocations: 197.8 kB / 0.5754 GB, free: 6.035 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004828/0.3348, allocations: 469.2 kB / 0.5759 GB, free: 5.574 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.3348, allocations: 7.922 kB / 0.5759 GB, free: 5.566 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3348, allocations: 0 / 0.5759 GB, free: 5.566 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.3348, allocations: 0 / 0.5759 GB, free: 5.566 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.0009306/0.3357, allocations: 0.8682 MB / 0.5767 GB, free: 4.664 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.3358, allocations: 12.03 kB / 0.5767 GB, free: 4.652 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.096e-05/0.3358, allocations: 4.188 kB / 0.5767 GB, free: 4.648 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.341e-05/0.3359, allocations: 70.69 kB / 0.5768 GB, free: 4.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.611e-05/0.336, allocations: 88.28 kB / 0.5769 GB, free: 4.484 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002926/0.3362, allocations: 338.7 kB / 0.5772 GB, free: 4.125 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.3363, allocations: 8.359 kB / 0.5772 GB, free: 4.117 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.3363, allocations: 8.359 kB / 0.5772 GB, free: 4.109 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006531/0.3369, allocations: 0.5945 MB / 0.5778 GB, free: 3.434 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.3369, allocations: 3.938 kB / 0.5778 GB, free: 3.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.147e-05/0.337, allocations: 7.984 kB / 0.5778 GB, free: 3.422 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002574/0.3372, allocations: 167.9 kB / 0.578 GB, free: 3.258 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004013/0.3376, allocations: 379.5 kB / 0.5783 GB, free: 2.887 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.3388, allocations: 0.6307 MB / 0.579 GB, free: 2.145 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007724/0.3395, allocations: 0.7569 MB / 0.5797 GB, free: 1.168 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004664/0.34, allocations: 480.5 kB / 0.5801 GB, free: 0.625 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.34, allocations: 19.88 kB / 0.5802 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.861e-05/0.3401, allocations: 67.08 kB / 0.5802 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 2.745e-06/0.3401, allocations: 0 / 0.5802 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.001578/0.3417, allocations: 1.327 MB / 0.5815 GB, free: 15.2 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003547/0.342, allocations: 0.6516 MB / 0.5822 GB, free: 14.39 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008226/0.3429, allocations: 0.7821 MB / 0.5829 GB, free: 13.6 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.3429, allocations: 29.69 kB / 0.583 GB, free: 13.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000245/0.3431, allocations: 298.1 kB / 0.5832 GB, free: 13.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002662/0.3434, allocations: 329.1 kB / 0.5836 GB, free: 12.95 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.3435, allocations: 93.47 kB / 0.5836 GB, free: 12.85 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.3437, allocations: 334 kB / 0.584 GB, free: 12.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003503/0.344, allocations: 344.8 kB / 0.5843 GB, free: 12.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005127/0.3445, allocations: 0.5061 MB / 0.5848 GB, free: 11.6 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.3455, allocations: 0.9454 MB / 0.5857 GB, free: 10.58 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.3455, allocations: 0 / 0.5857 GB, free: 10.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00107/0.3466, allocations: 0.957 MB / 0.5866 GB, free: 9.613 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.3466, allocations: 10.19 kB / 0.5867 GB, free: 9.605 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/0.3467, allocations: 7.984 kB / 0.5867 GB, free: 9.598 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.648e-05/0.3467, allocations: 8.75 kB / 0.5867 GB, free: 9.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.943e-06/0.3467, allocations: 7.938 kB / 0.5867 GB, free: 9.582 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515e-05/0.3467, allocations: 15.94 kB / 0.5867 GB, free: 9.566 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.3469, allocations: 47.55 kB / 0.5867 GB, free: 9.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-05/0.3469, allocations: 35.97 kB / 0.5868 GB, free: 9.484 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.0003552/0.3473, allocations: 313.5 kB / 0.5871 GB, free: 9.168 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.3474, allocations: 103.3 kB / 0.5872 GB, free: 9.066 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.3475, allocations: 93.77 kB / 0.5873 GB, free: 8.969 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002419/0.3477, allocations: 171.9 kB / 0.5874 GB, free: 8.801 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-05/0.3477, allocations: 8 kB / 0.5874 GB, free: 8.793 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.3477, allocations: 8 kB / 0.5874 GB, free: 8.785 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007917/0.3485, allocations: 0.5117 MB / 0.5879 GB, free: 8.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.427e-06/0.3486, allocations: 7.938 kB / 0.5879 GB, free: 8.223 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.251e-06/0.3486, allocations: 7.938 kB / 0.588 GB, free: 8.215 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.493e-06/0.3486, allocations: 8 kB / 0.588 GB, free: 8.207 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/0.3486, allocations: 19.97 kB / 0.588 GB, free: 8.188 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.3486, allocations: 8 kB / 0.588 GB, free: 8.18 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.164e-05/0.3486, allocations: 11.94 kB / 0.588 GB, free: 8.168 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.3498, allocations: 1.095 MB / 0.5891 GB, free: 6.984 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.3499, allocations: 95.16 kB / 0.5892 GB, free: 6.891 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.625e-05/0.3499, allocations: 15.97 kB / 0.5892 GB, free: 6.875 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.35, allocations: 11.98 kB / 0.5892 GB, free: 6.863 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.551e-05/0.3501, allocations: 47.77 kB / 0.5892 GB, free: 6.816 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.189e-05/0.3502, allocations: 31.98 kB / 0.5893 GB, free: 6.785 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000631/0.3508, allocations: 0.5536 MB / 0.5898 GB, free: 6.238 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3508, allocations: 0 / 0.5898 GB, free: 6.238 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004747/0.3513, allocations: 55.91 kB / 0.5899 GB, free: 6.184 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.001514/0.3528, allocations: 1.664 MB / 0.5915 GB, free: 4.414 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008817/0.3537, allocations: 0.7809 MB / 0.5922 GB, free: 3.633 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.3537, allocations: 0 / 0.5922 GB, free: 3.633 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000417/0.3541, allocations: 399.5 kB / 0.5926 GB, free: 3.242 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.3545, allocations: 40.83 kB / 0.5927 GB, free: 3.203 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002765/0.3572, allocations: 2.031 MB / 0.5946 GB, free: 1.055 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006985/0.3579, allocations: 1.026 MB / 0.5956 GB, free: 4 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002282/0.3582, allocations: 77.08 kB / 0.5957 GB, free: 15.92 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003073/0.3585, allocations: 255.3 kB / 0.596 GB, free: 15.67 MB / 446.1 MB Notification: Performance of SimCode: time 1.312e-06/0.3585, allocations: 0 / 0.596 GB, free: 15.67 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03056/0.389, allocations: 10.89 MB / 0.6066 GB, free: 4.875 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.29, allocations: 11.56 kB / 0.6066 GB, free: 4.867 MB / 446.1 MB " [Timeout remaining time 648] (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.112278650980443]