Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Frames.QuaternionFromT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.QuaternionFromT,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Frames_QuaternionFromT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.QuaternionFromT,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Frames_QuaternionFromT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001111/0.001111, allocations: 199.7 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.279/1.279, allocations: 226.5 MB / 243.4 MB, free: 8.203 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007073/0.0007073, allocations: 92.7 kB / 295.5 MB, free: 6.883 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3671/0.3671, allocations: 44.82 MB / 392.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002792/0.0002793, allocations: 8 kB / 465.4 MB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3096, allocations: 62.96 MB / 0.516 GB, free: 37.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.QuaternionFromT): time 0.0009414/0.3106, allocations: 0.6236 MB / 0.5166 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.3119, allocations: 1.395 MB / 0.5179 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.036e-05/0.312, allocations: 9.812 kB / 0.5179 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 3.765e-05/0.312, allocations: 18.38 kB / 0.518 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005455/0.3126, allocations: 274.2 kB / 0.5182 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.396e-06/0.3126, allocations: 0 / 0.5182 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.3127, allocations: 120.2 kB / 0.5183 GB, free: 35.47 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.419e-05/0.3127, allocations: 7.984 kB / 0.5183 GB, free: 35.47 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.105e-05/0.3128, allocations: 65.64 kB / 0.5184 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.312/1.625, allocations: 0.656 GB / 1.174 GB, free: 101 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 9.005e-05/1.625, allocations: 4 kB / 1.174 GB, free: 101 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002061/1.625, allocations: 95.86 kB / 1.175 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001298/1.625, allocations: 227.4 kB / 1.175 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 8.513e-05/1.625, allocations: 203.8 kB / 1.175 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.000204/1.625, allocations: 299 kB / 1.175 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/1.625, allocations: 0 / 1.175 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.272e-06/1.625, allocations: 0 / 1.175 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.39e-06/1.625, allocations: 4 kB / 1.175 GB, free: 100.2 MB / 0.5105 GB 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.0005217/1.626, allocations: 0.8315 MB / 1.176 GB, free: 99.34 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/1.626, allocations: 8.031 kB / 1.176 GB, free: 99.33 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.209e-05/1.626, allocations: 70.7 kB / 1.176 GB, free: 99.25 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.527e-05/1.626, allocations: 87.7 kB / 1.176 GB, free: 99.16 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/1.626, allocations: 379.9 kB / 1.177 GB, free: 98.75 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/1.626, allocations: 8.359 kB / 1.177 GB, free: 98.75 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/1.626, allocations: 12.36 kB / 1.177 GB, free: 98.73 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000378/1.627, allocations: 0.5947 MB / 1.177 GB, free: 98.06 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/1.627, allocations: 3.938 kB / 1.177 GB, free: 98.06 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/1.627, allocations: 7.984 kB / 1.177 GB, free: 98.05 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000168/1.627, allocations: 167.9 kB / 1.177 GB, free: 97.89 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002255/1.627, allocations: 380.6 kB / 1.178 GB, free: 97.52 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006278/1.628, allocations: 0.6423 MB / 1.178 GB, free: 96.75 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003493/1.628, allocations: 0.7998 MB / 1.179 GB, free: 95.73 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002599/1.628, allocations: 0.5043 MB / 1.18 GB, free: 95.16 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/1.628, allocations: 11.94 kB / 1.18 GB, free: 95.14 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/1.628, allocations: 67.02 kB / 1.18 GB, free: 95.07 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=96): time 1.673e-06/1.628, allocations: 0 / 1.18 GB, free: 95.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=96): time 0.0009658/1.629, allocations: 1.316 MB / 1.181 GB, free: 93.75 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/1.63, allocations: 0.6556 MB / 1.182 GB, free: 92.94 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005322/1.63, allocations: 0.7859 MB / 1.182 GB, free: 92.14 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/1.63, allocations: 29.69 kB / 1.182 GB, free: 92.11 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/1.63, allocations: 299.6 kB / 1.183 GB, free: 91.81 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/1.63, allocations: 321.8 kB / 1.183 GB, free: 91.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.073e-05/1.63, allocations: 7.984 kB / 1.183 GB, free: 91.49 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.958e-05/1.63, allocations: 339.9 kB / 1.183 GB, free: 91.15 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/1.631, allocations: 340.8 kB / 1.184 GB, free: 90.82 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002495/1.631, allocations: 0.5061 MB / 1.184 GB, free: 90.24 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005377/1.631, allocations: 0.9373 MB / 1.185 GB, free: 89.23 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/1.631, allocations: 0 / 1.185 GB, free: 89.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0006391/1.632, allocations: 0.941 MB / 1.186 GB, free: 88.28 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/1.632, allocations: 11.94 kB / 1.186 GB, free: 88.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/1.632, allocations: 12.61 kB / 1.186 GB, free: 88.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/1.632, allocations: 4 kB / 1.186 GB, free: 88.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.328e-06/1.632, allocations: 11.94 kB / 1.186 GB, free: 88.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/1.632, allocations: 8 kB / 1.186 GB, free: 88.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/1.632, allocations: 43.42 kB / 1.186 GB, free: 88.19 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.598e-05/1.632, allocations: 39.97 kB / 1.186 GB, free: 88.15 MB / 0.5105 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00021/1.633, allocations: 311.3 kB / 1.186 GB, free: 87.84 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.523e-05/1.633, allocations: 94.8 kB / 1.186 GB, free: 87.74 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.407e-05/1.633, allocations: 89.67 kB / 1.187 GB, free: 87.65 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001603/1.633, allocations: 179.8 kB / 1.187 GB, free: 87.47 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/1.633, allocations: 8 kB / 1.187 GB, free: 87.46 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/1.633, allocations: 5.969 kB / 1.187 GB, free: 87.46 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005695/1.633, allocations: 0.532 MB / 1.187 GB, free: 86.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/1.634, allocations: 4 kB / 1.187 GB, free: 86.88 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.557e-06/1.634, allocations: 8 kB / 1.187 GB, free: 86.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/1.634, allocations: 11.94 kB / 1.187 GB, free: 86.86 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/1.634, allocations: 19.97 kB / 1.187 GB, free: 86.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/1.634, allocations: 11.94 kB / 1.187 GB, free: 86.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.634, allocations: 15.88 kB / 1.187 GB, free: 86.81 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006451/1.634, allocations: 1.083 MB / 1.188 GB, free: 85.63 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.113e-05/1.634, allocations: 171.7 kB / 1.189 GB, free: 85.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/1.634, allocations: 15.97 kB / 1.189 GB, free: 85.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.22e-05/1.634, allocations: 11.98 kB / 1.189 GB, free: 85.42 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.562e-05/1.634, allocations: 39.84 kB / 1.189 GB, free: 85.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.67e-05/1.635, allocations: 31.98 kB / 1.189 GB, free: 85.35 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000404/1.635, allocations: 0.5614 MB / 1.189 GB, free: 84.79 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.333e-06/1.635, allocations: 0 / 1.189 GB, free: 84.79 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003679/1.635, allocations: 57.39 kB / 1.189 GB, free: 84.73 MB / 0.5105 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008476/1.636, allocations: 1.655 MB / 1.191 GB, free: 82.98 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005339/1.637, allocations: 0.7991 MB / 1.192 GB, free: 82.18 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.637, allocations: 0 / 1.192 GB, free: 82.18 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002504/1.637, allocations: 438.2 kB / 1.192 GB, free: 81.75 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007973/1.638, allocations: 39.28 kB / 1.192 GB, free: 81.71 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/1.64, allocations: 2.229 MB / 1.194 GB, free: 79.37 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003739/1.64, allocations: 1.026 MB / 1.195 GB, free: 78.32 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003225/1.641, allocations: 267.3 kB / 1.196 GB, free: 78.05 MB / 0.5105 GB Notification: Performance of SimCode: time 5.11e-07/1.641, allocations: 0 / 1.196 GB, free: 78.05 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.751/4.391, allocations: 7.954 MB / 1.203 GB, free: 70.09 MB / 0.5105 GB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Frames.QuaternionFromT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Frames_QuaternionFromT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Frames_QuaternionFromT.fmu > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe 2>&1)