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.001147/0.001147, allocations: 118.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001408/0.001408, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2224/0.2224, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001568, allocations: 79.88 kB / 480.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.3702, 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.00214/0.3724, allocations: 0.9243 MB / 0.5314 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002177/0.3746, allocations: 1.457 MB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.746e-05/0.3747, allocations: 6.188 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.953e-05/0.3747, allocations: 18.83 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007444/0.3755, allocations: 299.6 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.69e-06/0.3755, allocations: 1.188 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.3756, allocations: 119 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.962e-05/0.3757, allocations: 8.438 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.654e-05/0.3757, allocations: 65.61 kB / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01352/0.3893, allocations: 10.63 MB / 0.5437 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001185/0.3894, allocations: 4 kB / 0.5437 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003572/0.3898, allocations: 91.91 kB / 0.5438 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002055/0.39, allocations: 215.3 kB / 0.544 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.3902, allocations: 205.8 kB / 0.5442 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004582/0.3906, allocations: 454 kB / 0.5447 GB, free: 3.301 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.3907, allocations: 0 / 0.5447 GB, free: 3.301 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3907, allocations: 0 / 0.5447 GB, free: 3.301 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.3907, allocations: 4 kB / 0.5447 GB, free: 3.297 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.0009908/0.3917, allocations: 0.9205 MB / 0.5456 GB, free: 2.324 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.3918, allocations: 8.031 kB / 0.5456 GB, free: 2.316 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.346e-05/0.3918, allocations: 66.7 kB / 0.5456 GB, free: 2.242 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.581e-05/0.3919, allocations: 87.72 kB / 0.5457 GB, free: 2.156 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003284/0.3923, allocations: 383.8 kB / 0.5461 GB, free: 1.738 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.3923, allocations: 12.36 kB / 0.5461 GB, free: 1.727 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.3923, allocations: 8.359 kB / 0.5461 GB, free: 1.719 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006058/0.3929, allocations: 0.5869 MB / 0.5467 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.393, allocations: 11.88 kB / 0.5467 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.393, allocations: 7.984 kB / 0.5467 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002464/0.3932, allocations: 167.9 kB / 0.5469 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003815/0.3936, allocations: 379.5 kB / 0.5472 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009571/0.3946, allocations: 0.6461 MB / 0.5479 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007371/0.3953, allocations: 0.8038 MB / 0.5486 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004718/0.3958, allocations: 0.5004 MB / 0.5491 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.3959, allocations: 11.92 kB / 0.5491 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.2e-05/0.3959, allocations: 74.97 kB / 0.5492 GB, free: 14.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 1.864e-06/0.3959, allocations: 4 kB / 0.5492 GB, free: 14.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.001498/0.3974, allocations: 1.331 MB / 0.5505 GB, free: 12.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003696/0.3978, allocations: 0.6438 MB / 0.5511 GB, free: 11.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008114/0.3986, allocations: 0.786 MB / 0.5519 GB, free: 11.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/0.3987, allocations: 33.69 kB / 0.5519 GB, free: 11.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00028/0.399, allocations: 298.1 kB / 0.5522 GB, free: 10.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002942/0.3993, allocations: 315.2 kB / 0.5525 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.543e-05/0.3994, allocations: 81.62 kB / 0.5526 GB, free: 10.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.3995, allocations: 345.9 kB / 0.5529 GB, free: 10.03 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003169/0.3999, allocations: 344.6 kB / 0.5533 GB, free: 9.691 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004331/0.4003, allocations: 0.5023 MB / 0.5538 GB, free: 9.117 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008388/0.4012, allocations: 0.9451 MB / 0.5547 GB, free: 8.098 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.4012, allocations: 4 kB / 0.5547 GB, free: 8.094 MB / 414.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0009042/0.4021, allocations: 0.9448 MB / 0.5556 GB, free: 7.141 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.4021, allocations: 4 kB / 0.5556 GB, free: 7.137 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.4021, allocations: 8 kB / 0.5556 GB, free: 7.129 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.4021, allocations: 8 kB / 0.5556 GB, free: 7.121 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.572e-06/0.4022, allocations: 7.938 kB / 0.5556 GB, free: 7.113 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/0.4022, allocations: 20.66 kB / 0.5557 GB, free: 7.094 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.4023, allocations: 43.42 kB / 0.5557 GB, free: 7.051 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-05/0.4024, allocations: 35.98 kB / 0.5557 GB, free: 7.016 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.0003111/0.4027, allocations: 317.4 kB / 0.556 GB, free: 6.695 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.4028, allocations: 86.81 kB / 0.5561 GB, free: 6.609 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.272e-05/0.4029, allocations: 93.67 kB / 0.5562 GB, free: 6.508 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002138/0.4031, allocations: 175.8 kB / 0.5564 GB, free: 6.336 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.38e-05/0.4031, allocations: 8 kB / 0.5564 GB, free: 6.328 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.4031, allocations: 4 kB / 0.5564 GB, free: 6.324 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007492/0.4039, allocations: 0.5358 MB / 0.5569 GB, free: 5.738 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.699e-06/0.4039, allocations: 15.98 kB / 0.5569 GB, free: 5.723 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.314e-06/0.4039, allocations: 11.88 kB / 0.5569 GB, free: 5.711 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.4039, allocations: 8 kB / 0.5569 GB, free: 5.703 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.852e-05/0.404, allocations: 19.97 kB / 0.557 GB, free: 5.684 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.684e-06/0.404, allocations: 8 kB / 0.557 GB, free: 5.676 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/0.404, allocations: 7.938 kB / 0.557 GB, free: 5.668 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.4051, allocations: 1.087 MB / 0.558 GB, free: 4.488 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/0.4053, allocations: 175.8 kB / 0.5582 GB, free: 4.297 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.076e-05/0.4053, allocations: 11.98 kB / 0.5582 GB, free: 4.285 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.424e-05/0.4054, allocations: 11.92 kB / 0.5582 GB, free: 4.273 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.4055, allocations: 39.83 kB / 0.5583 GB, free: 4.234 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-05/0.4055, allocations: 35.98 kB / 0.5583 GB, free: 4.199 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005622/0.4061, allocations: 0.5614 MB / 0.5588 GB, free: 3.645 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4061, allocations: 3.938 kB / 0.5588 GB, free: 3.641 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004149/0.4065, allocations: 51.97 kB / 0.5589 GB, free: 3.59 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.001351/0.4079, allocations: 1.663 MB / 0.5605 GB, free: 1.824 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007884/0.4087, allocations: 0.8119 MB / 0.5613 GB, free: 1.016 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.4087, allocations: 4.438 kB / 0.5613 GB, free: 1.012 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003673/0.409, allocations: 431.5 kB / 0.5617 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.4094, allocations: 41.09 kB / 0.5618 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002218/0.4116, allocations: 1.999 MB / 0.5637 GB, free: 14.44 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005256/0.4122, allocations: 1.018 MB / 0.5647 GB, free: 13.39 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001856/0.4124, allocations: 73.03 kB / 0.5648 GB, free: 13.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000257/0.4126, allocations: 259.3 kB / 0.565 GB, free: 13.07 MB / 430.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4126, allocations: 0 / 0.565 GB, free: 13.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02743/0.4401, allocations: 10.41 MB / 0.5752 GB, free: 2.723 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.88/9.32, allocations: 3.219 kB / 0.5752 GB, free: 2.723 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)