Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001293/0.001293, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.001605/0.001605, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.516/1.516, allocations: 230.5 MB / 258.2 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.226/0.226, allocations: 46.93 MB / 361.6 MB, free: 4.207 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-beta.om/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_4_1_0-beta_om_ModelicaTest_MultiBody_Frames_QuaternionFromT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.QuaternionFromT,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Frames_QuaternionFromT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002372/0.002372, allocations: 76.16 kB / 0.497 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3481, allocations: 66.09 MB / 0.5615 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.QuaternionFromT): time 0.00216/0.3502, allocations: 0.9404 MB / 0.5625 GB, free: 3.371 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001998/0.3522, allocations: 1.463 MB / 0.5639 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.903e-05/0.3522, allocations: 4 kB / 0.5639 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.559e-05/0.3523, allocations: 15.86 kB / 0.5639 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007345/0.353, allocations: 303.2 kB / 0.5642 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.08e-06/0.353, allocations: 0 / 0.5642 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.3532, allocations: 123.6 kB / 0.5643 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.703e-05/0.3532, allocations: 9.75 kB / 0.5643 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.243e-05/0.3533, allocations: 67.61 kB / 0.5644 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01353/0.3668, allocations: 10.8 MB / 0.5749 GB, free: 6.559 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.109e-05/0.3669, allocations: 4 kB / 0.5749 GB, free: 6.555 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002915/0.3672, allocations: 95.89 kB / 0.575 GB, free: 6.461 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002092/0.3674, allocations: 219.2 kB / 0.5752 GB, free: 6.246 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001629/0.3676, allocations: 201.8 kB / 0.5754 GB, free: 6.047 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000473/0.368, allocations: 461.2 kB / 0.5759 GB, free: 5.594 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.453e-06/0.368, allocations: 4 kB / 0.5759 GB, free: 5.59 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.368, allocations: 0 / 0.5759 GB, free: 5.59 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.3681, allocations: 4 kB / 0.5759 GB, free: 5.586 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.0009723/0.369, allocations: 0.8759 MB / 0.5767 GB, free: 4.676 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.3691, allocations: 12.03 kB / 0.5767 GB, free: 4.664 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.701e-05/0.3691, allocations: 62.72 kB / 0.5768 GB, free: 4.594 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.3692, allocations: 88.28 kB / 0.5769 GB, free: 4.508 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00032/0.3696, allocations: 338.6 kB / 0.5772 GB, free: 4.148 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.3696, allocations: 8.359 kB / 0.5772 GB, free: 4.141 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.3696, allocations: 12.36 kB / 0.5772 GB, free: 4.129 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006659/0.3703, allocations: 0.583 MB / 0.5778 GB, free: 3.465 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.3703, allocations: 7.938 kB / 0.5778 GB, free: 3.457 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/0.3703, allocations: 7.984 kB / 0.5778 GB, free: 3.449 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002348/0.3705, allocations: 167.9 kB / 0.578 GB, free: 3.285 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003985/0.3709, allocations: 379.5 kB / 0.5783 GB, free: 2.914 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009111/0.3718, allocations: 0.6229 MB / 0.5789 GB, free: 2.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007301/0.3726, allocations: 0.7646 MB / 0.5797 GB, free: 1.195 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004609/0.373, allocations: 476.5 kB / 0.5801 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.3731, allocations: 15.92 kB / 0.5802 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.227e-05/0.3731, allocations: 71.03 kB / 0.5802 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 1.994e-06/0.3731, allocations: 0 / 0.5802 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.001794/0.3749, allocations: 1.339 MB / 0.5815 GB, free: 15.22 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003345/0.3752, allocations: 0.6473 MB / 0.5822 GB, free: 14.42 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008384/0.3761, allocations: 0.7821 MB / 0.5829 GB, free: 13.62 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.031e-05/0.3761, allocations: 33.69 kB / 0.583 GB, free: 13.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002335/0.3763, allocations: 298.1 kB / 0.5832 GB, free: 13.29 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002641/0.3766, allocations: 329.1 kB / 0.5836 GB, free: 12.96 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.69e-05/0.3767, allocations: 85.62 kB / 0.5836 GB, free: 12.88 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.3769, allocations: 341.9 kB / 0.584 GB, free: 12.54 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003612/0.3772, allocations: 344.6 kB / 0.5843 GB, free: 12.2 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004934/0.3777, allocations: 0.5062 MB / 0.5848 GB, free: 11.62 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009463/0.3787, allocations: 0.9373 MB / 0.5857 GB, free: 10.61 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3787, allocations: 4 kB / 0.5857 GB, free: 10.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00105/0.3797, allocations: 0.9648 MB / 0.5867 GB, free: 9.629 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.3797, allocations: 4 kB / 0.5867 GB, free: 9.625 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.3798, allocations: 8 kB / 0.5867 GB, free: 9.617 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.3798, allocations: 8 kB / 0.5867 GB, free: 9.609 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.743e-06/0.3798, allocations: 7.938 kB / 0.5867 GB, free: 9.602 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.183e-05/0.3798, allocations: 19.91 kB / 0.5867 GB, free: 9.582 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.3799, allocations: 47.55 kB / 0.5867 GB, free: 9.535 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.641e-05/0.38, allocations: 31.98 kB / 0.5868 GB, free: 9.504 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.0003182/0.3803, allocations: 319.1 kB / 0.5871 GB, free: 9.184 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.3804, allocations: 91.33 kB / 0.5872 GB, free: 9.094 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.733e-05/0.3805, allocations: 93.77 kB / 0.5873 GB, free: 8.996 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002181/0.3807, allocations: 171.9 kB / 0.5874 GB, free: 8.828 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.3807, allocations: 8 kB / 0.5874 GB, free: 8.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.3807, allocations: 7.984 kB / 0.5874 GB, free: 8.812 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007387/0.3815, allocations: 0.5039 MB / 0.5879 GB, free: 8.266 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.3815, allocations: 8 kB / 0.5879 GB, free: 8.258 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.067e-06/0.3815, allocations: 15.86 kB / 0.588 GB, free: 8.242 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/0.3815, allocations: 8 kB / 0.588 GB, free: 8.234 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/0.3815, allocations: 19.98 kB / 0.588 GB, free: 8.215 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.349e-05/0.3815, allocations: 11.98 kB / 0.588 GB, free: 8.203 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.3816, allocations: 7.938 kB / 0.588 GB, free: 8.195 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.3827, allocations: 1.095 MB / 0.5891 GB, free: 7.012 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.3828, allocations: 103.1 kB / 0.5892 GB, free: 6.91 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.3828, allocations: 11.98 kB / 0.5892 GB, free: 6.898 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.732e-05/0.3829, allocations: 11.92 kB / 0.5892 GB, free: 6.887 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.868e-05/0.383, allocations: 39.83 kB / 0.5892 GB, free: 6.848 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-05/0.383, allocations: 31.98 kB / 0.5893 GB, free: 6.816 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006134/0.3836, allocations: 0.5614 MB / 0.5898 GB, free: 6.262 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3836, allocations: 0 / 0.5898 GB, free: 6.262 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004101/0.3841, allocations: 59.91 kB / 0.5899 GB, free: 6.203 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.001578/0.3856, allocations: 1.667 MB / 0.5915 GB, free: 4.43 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009173/0.3866, allocations: 0.7757 MB / 0.5922 GB, free: 3.652 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3866, allocations: 1.5 kB / 0.5922 GB, free: 3.652 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004156/0.387, allocations: 396.5 kB / 0.5926 GB, free: 3.266 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/0.3874, allocations: 43.27 kB / 0.5927 GB, free: 3.223 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002625/0.39, allocations: 2.031 MB / 0.5947 GB, free: 1.074 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006753/0.3907, allocations: 1.022 MB / 0.5957 GB, free: 28 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002189/0.3909, allocations: 77.08 kB / 0.5957 GB, free: 15.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003089/0.3912, allocations: 247.3 kB / 0.596 GB, free: 15.7 MB / 446.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3912, allocations: 4 kB / 0.596 GB, free: 15.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03428/0.4255, allocations: 10.76 MB / 0.6065 GB, free: 5.027 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.128/9.554, allocations: 2.5 kB / 0.6065 GB, free: 5.027 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Frames.QuaternionFromT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Frames.QuaternionFromT_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Frames_QuaternionFromT_fmu --startTime=0 --stopTime=0.1 --stepSize=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Frames_QuaternionFromT.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.45919474819675] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1[1]', 'Q1[2]', 'Q1[3]', 'Q1[4]', 'Q2[1]', 'Q2[2]', 'Q2[3]', 'Q2[4]', 'Q3[1]', 'Q3[2]', 'Q3[3]', 'Q3[4]', 'Q4[1]', 'Q4[2]', 'Q4[3]', 'Q4[4]', 'Q5[1]', 'Q5[2]', 'Q5[3]', 'Q5[4]', 'Q6[1]', 'Q6[2]', 'Q6[3]', 'Q6[4]', 'Q7[1]', 'Q7[2]', 'Q7[3]', 'Q7[4]', 'Q8[1]', 'Q8[2]', 'Q8[3]', 'Q8[4]', 'Q9[1]', 'Q9[2]', 'Q9[3]', 'Q9[4]', 'Q10[1]', 'Q10[2]', 'Q10[3]', 'Q10[4]', 'Q11[1]', 'Q11[2]', 'Q11[3]', 'Q11[4]', 'Q12[1]', 'Q12[2]', 'Q12[3]', 'Q12[4]', 'Q13[1]', 'Q13[2]', 'Q13[3]', 'Q13[4]', 'Q14[1]', 'Q14[2]', 'Q14[3]', 'Q14[4]', 'Q15[1]', 'Q15[2]', 'Q15[3]', 'Q15[4]', 'Q16[1]', 'Q16[2]', 'Q16[3]', 'Q16[4]', 'Q17[1]', 'Q17[2]', 'Q17[3]', 'Q17[4]', 'Q18[1]', 'Q18[2]', 'Q18[3]', 'Q18[4]', 'Q19[1]', 'Q19[2]', 'Q19[3]', 'Q19[4]', 'Q20[1]', 'Q20[2]', 'Q20[3]', 'Q20[4]', 'Q21[1]', 'Q21[2]', 'Q21[3]', 'Q21[4]', 'Q22[1]', 'Q22[2]', 'Q22[3]', 'Q22[4]', 'Q23[1]', 'Q23[2]', 'Q23[3]', 'Q23[4]', 'Q24[1]', 'Q24[2]', 'Q24[3]', 'Q24[4]'] 9.62970258994028 9.656297787 9.283363627 Calling exit ...