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) 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/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 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001532/0.001532, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001835/0.001835, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.268/2.268, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4569/0.4569, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002826/0.002826, allocations: 75.88 kB / 480.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7105/0.7133, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.QuaternionFromT): time 0.003747/0.7172, allocations: 0.9402 MB / 0.5315 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003192/0.7204, allocations: 1.445 MB / 0.5329 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001771/0.7206, allocations: 11.06 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000116/0.7208, allocations: 17.33 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001296/0.7221, allocations: 297.2 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.103e-05/0.7221, allocations: 0 / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002835/0.7224, allocations: 116.1 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.492e-05/0.7225, allocations: 7.031 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.7226, allocations: 67.11 kB / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01785/0.7405, allocations: 10.64 MB / 0.5437 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001528/0.7407, allocations: 4 kB / 0.5438 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004171/0.7411, allocations: 95.89 kB / 0.5438 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000266/0.7414, allocations: 215.3 kB / 0.544 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000301/0.7417, allocations: 205.8 kB / 0.5442 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008385/0.7425, allocations: 446 kB / 0.5447 GB, free: 3.277 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.7426, allocations: 0 / 0.5447 GB, free: 3.277 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.7426, allocations: 0 / 0.5447 GB, free: 3.277 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.196e-05/0.7426, allocations: 0 / 0.5447 GB, free: 3.277 MB / 398.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.00127/0.7439, allocations: 0.9244 MB / 0.5456 GB, free: 2.301 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.295e-05/0.744, allocations: 16.03 kB / 0.5456 GB, free: 2.285 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.401e-05/0.7441, allocations: 70.64 kB / 0.5457 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/0.7442, allocations: 87.72 kB / 0.5457 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003869/0.7446, allocations: 379.9 kB / 0.5461 GB, free: 1.707 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.7446, allocations: 8.359 kB / 0.5461 GB, free: 1.699 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/0.7447, allocations: 12.36 kB / 0.5461 GB, free: 1.688 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008741/0.7456, allocations: 0.5937 MB / 0.5467 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.7456, allocations: 4 kB / 0.5467 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.7456, allocations: 3.938 kB / 0.5467 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004324/0.746, allocations: 171.9 kB / 0.5469 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005505/0.7466, allocations: 375.5 kB / 0.5472 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001381/0.748, allocations: 0.65 MB / 0.5479 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.7491, allocations: 0.8037 MB / 0.5486 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005384/0.7496, allocations: 0.4965 MB / 0.5491 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.7497, allocations: 15.98 kB / 0.5491 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.952e-05/0.7498, allocations: 67.03 kB / 0.5492 GB, free: 14.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 6.482e-06/0.7498, allocations: 0 / 0.5492 GB, free: 14.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.00229/0.7521, allocations: 1.338 MB / 0.5505 GB, free: 12.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006652/0.7527, allocations: 0.6516 MB / 0.5512 GB, free: 11.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001493/0.7542, allocations: 0.7782 MB / 0.5519 GB, free: 11.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.488e-05/0.7543, allocations: 33.62 kB / 0.5519 GB, free: 11.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003247/0.7547, allocations: 298.1 kB / 0.5522 GB, free: 10.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003633/0.755, allocations: 319.2 kB / 0.5525 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001766/0.7552, allocations: 85.62 kB / 0.5526 GB, free: 10.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000223/0.7555, allocations: 338 kB / 0.5529 GB, free: 10.01 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004902/0.756, allocations: 340.7 kB / 0.5533 GB, free: 9.672 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006886/0.7567, allocations: 0.5023 MB / 0.5538 GB, free: 9.098 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001734/0.7584, allocations: 0.9491 MB / 0.5547 GB, free: 8.074 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.425e-05/0.7584, allocations: 0 / 0.5547 GB, free: 8.074 MB / 414.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001977/0.7604, allocations: 0.9526 MB / 0.5556 GB, free: 7.113 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.33e-05/0.7605, allocations: 8.75 kB / 0.5556 GB, free: 7.105 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.1e-05/0.7605, allocations: 4 kB / 0.5556 GB, free: 7.102 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.787e-05/0.7606, allocations: 12 kB / 0.5556 GB, free: 7.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.388e-06/0.7606, allocations: 4 kB / 0.5556 GB, free: 7.086 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.827e-05/0.7606, allocations: 15.92 kB / 0.5557 GB, free: 7.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002916/0.7609, allocations: 43.42 kB / 0.5557 GB, free: 7.027 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.679e-05/0.761, allocations: 31.98 kB / 0.5557 GB, free: 6.996 MB / 414.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.0006448/0.7617, allocations: 317.4 kB / 0.556 GB, free: 6.676 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003324/0.762, allocations: 90.81 kB / 0.5561 GB, free: 6.586 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002935/0.7623, allocations: 93.67 kB / 0.5562 GB, free: 6.484 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003519/0.7627, allocations: 179.8 kB / 0.5564 GB, free: 6.309 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.644e-05/0.7627, allocations: 8 kB / 0.5564 GB, free: 6.301 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.72e-05/0.7628, allocations: 8 kB / 0.5564 GB, free: 6.293 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/0.7643, allocations: 0.5242 MB / 0.5569 GB, free: 5.719 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-05/0.7643, allocations: 11.92 kB / 0.5569 GB, free: 5.707 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.527e-05/0.7643, allocations: 15.88 kB / 0.5569 GB, free: 5.691 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.627e-05/0.7643, allocations: 8 kB / 0.5569 GB, free: 5.684 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001495/0.7645, allocations: 19.97 kB / 0.557 GB, free: 5.664 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.486e-05/0.7645, allocations: 11.94 kB / 0.557 GB, free: 5.652 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.025e-05/0.7645, allocations: 8 kB / 0.557 GB, free: 5.645 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002086/0.7666, allocations: 1.099 MB / 0.5581 GB, free: 4.453 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002311/0.7669, allocations: 171.8 kB / 0.5582 GB, free: 4.266 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.112e-05/0.767, allocations: 11.98 kB / 0.5582 GB, free: 4.254 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.7671, allocations: 11.98 kB / 0.5582 GB, free: 4.242 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.575e-05/0.7672, allocations: 39.83 kB / 0.5583 GB, free: 4.203 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.805e-05/0.7673, allocations: 31.98 kB / 0.5583 GB, free: 4.172 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009173/0.7682, allocations: 0.5575 MB / 0.5589 GB, free: 3.621 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7682, allocations: 0 / 0.5589 GB, free: 3.621 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007008/0.7689, allocations: 51.97 kB / 0.5589 GB, free: 3.57 MB / 414.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.002699/0.7716, allocations: 1.671 MB / 0.5605 GB, free: 1.797 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.7728, allocations: 0.8152 MB / 0.5613 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.7728, allocations: 0 / 0.5613 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00066/0.7735, allocations: 429.2 kB / 0.5617 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000551/0.774, allocations: 40.08 kB / 0.5618 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003835/0.7779, allocations: 1.997 MB / 0.5637 GB, free: 14.41 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001175/0.7791, allocations: 1.022 MB / 0.5647 GB, free: 13.37 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002279/0.7793, allocations: 81.02 kB / 0.5648 GB, free: 13.29 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004302/0.7797, allocations: 251.3 kB / 0.565 GB, free: 13.04 MB / 430.1 MB Notification: Performance of SimCode: time 1.343e-06/0.7798, allocations: 4 kB / 0.565 GB, free: 13.04 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04455/0.8243, allocations: 10.28 MB / 0.5751 GB, free: 2.824 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.41/16.23, allocations: 9.516 kB / 0.5751 GB, free: 2.82 MB / 430.1 MB (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 --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Frames_QuaternionFromT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Frames_QuaternionFromT.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe 2>&1)