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.001608/0.001608, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001963/0.001963, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2212/0.2212, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 76.16 kB / 480.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3535, allocations: 62.43 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.QuaternionFromT): time 0.002008/0.3556, allocations: 0.9385 MB / 0.5315 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001766/0.3574, allocations: 1.453 MB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.73e-05/0.3574, allocations: 6.688 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.447e-05/0.3575, allocations: 18.02 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007213/0.3582, allocations: 297.7 kB / 0.5332 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.44e-06/0.3582, allocations: 0 / 0.5332 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.3584, allocations: 119.1 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.612e-05/0.3584, allocations: 7.5 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.207e-05/0.3585, allocations: 71.08 kB / 0.5334 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01358/0.372, allocations: 10.63 MB / 0.5437 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.028e-05/0.3722, allocations: 7.984 kB / 0.5438 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002699/0.3724, allocations: 91.91 kB / 0.5438 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001573/0.3726, allocations: 215.3 kB / 0.544 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.3727, allocations: 201.8 kB / 0.5442 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004028/0.3731, allocations: 457.3 kB / 0.5447 GB, free: 3.266 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3732, allocations: 0 / 0.5447 GB, free: 3.266 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3732, allocations: 0 / 0.5447 GB, free: 3.266 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.3732, allocations: 0 / 0.5447 GB, free: 3.266 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.0008363/0.374, allocations: 0.9591 MB / 0.5456 GB, free: 2.254 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.3741, allocations: 8.031 kB / 0.5456 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.741e-05/0.3741, allocations: 70.7 kB / 0.5457 GB, free: 2.168 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.529e-05/0.3742, allocations: 88.28 kB / 0.5458 GB, free: 2.082 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.3745, allocations: 392.5 kB / 0.5461 GB, free: 1.656 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.3745, allocations: 8.359 kB / 0.5462 GB, free: 1.648 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/0.3746, allocations: 12.36 kB / 0.5462 GB, free: 1.637 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005152/0.3751, allocations: 0.5937 MB / 0.5467 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.3751, allocations: 7.938 kB / 0.5468 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.3751, allocations: 3.984 kB / 0.5468 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002058/0.3753, allocations: 171.9 kB / 0.5469 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002998/0.3757, allocations: 379.4 kB / 0.5473 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007926/0.3765, allocations: 0.6502 MB / 0.5479 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005608/0.377, allocations: 0.796 MB / 0.5487 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003753/0.3774, allocations: 0.5004 MB / 0.5492 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.3774, allocations: 15.94 kB / 0.5492 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.478e-05/0.3775, allocations: 71.02 kB / 0.5493 GB, free: 13.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 1.663e-06/0.3775, allocations: 0 / 0.5493 GB, free: 13.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.001247/0.3787, allocations: 1.339 MB / 0.5506 GB, free: 12.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002236/0.379, allocations: 0.6438 MB / 0.5512 GB, free: 11.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006953/0.3797, allocations: 0.7821 MB / 0.552 GB, free: 11.03 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.3797, allocations: 29.69 kB / 0.552 GB, free: 11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/0.3799, allocations: 298.1 kB / 0.5523 GB, free: 10.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002008/0.3801, allocations: 333 kB / 0.5526 GB, free: 10.37 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.647e-05/0.3802, allocations: 85.62 kB / 0.5527 GB, free: 10.28 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.3803, allocations: 338 kB / 0.553 GB, free: 9.945 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002815/0.3806, allocations: 344.6 kB / 0.5533 GB, free: 9.605 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004141/0.381, allocations: 0.5023 MB / 0.5538 GB, free: 9.031 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007747/0.3818, allocations: 0.9451 MB / 0.5547 GB, free: 8.012 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.3818, allocations: 0 / 0.5547 GB, free: 8.012 MB / 414.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0009185/0.3827, allocations: 0.9576 MB / 0.5557 GB, free: 7.047 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.3828, allocations: 8 kB / 0.5557 GB, free: 7.039 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.3828, allocations: 12.14 kB / 0.5557 GB, free: 7.027 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/0.3828, allocations: 8 kB / 0.5557 GB, free: 7.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.982e-06/0.3828, allocations: 11.92 kB / 0.5557 GB, free: 7.008 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/0.3828, allocations: 11.94 kB / 0.5557 GB, free: 6.996 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.383, allocations: 47.55 kB / 0.5558 GB, free: 6.949 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.261e-05/0.383, allocations: 35.97 kB / 0.5558 GB, free: 6.914 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.0002908/0.3833, allocations: 313.5 kB / 0.5561 GB, free: 6.598 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.3834, allocations: 99.33 kB / 0.5562 GB, free: 6.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.3835, allocations: 97.66 kB / 0.5563 GB, free: 6.395 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002104/0.3838, allocations: 171.9 kB / 0.5565 GB, free: 6.227 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.505e-05/0.3838, allocations: 12 kB / 0.5565 GB, free: 6.215 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.3838, allocations: 11.94 kB / 0.5565 GB, free: 6.203 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007197/0.3845, allocations: 0.5243 MB / 0.557 GB, free: 5.629 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.3845, allocations: 8 kB / 0.557 GB, free: 5.621 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.492e-06/0.3846, allocations: 11.88 kB / 0.557 GB, free: 5.609 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-06/0.3846, allocations: 8 kB / 0.557 GB, free: 5.602 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.3846, allocations: 19.97 kB / 0.557 GB, free: 5.582 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.706e-06/0.3846, allocations: 8 kB / 0.557 GB, free: 5.574 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.922e-06/0.3846, allocations: 11.94 kB / 0.5571 GB, free: 5.562 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009959/0.3856, allocations: 1.092 MB / 0.5581 GB, free: 4.379 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.3858, allocations: 184.2 kB / 0.5583 GB, free: 4.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.23e-05/0.3858, allocations: 19.86 kB / 0.5583 GB, free: 4.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.3859, allocations: 11.98 kB / 0.5583 GB, free: 4.148 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.037e-05/0.386, allocations: 43.83 kB / 0.5584 GB, free: 4.105 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.218e-05/0.386, allocations: 35.97 kB / 0.5584 GB, free: 4.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005429/0.3866, allocations: 0.5536 MB / 0.5589 GB, free: 3.523 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3866, allocations: 0 / 0.5589 GB, free: 3.523 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003976/0.387, allocations: 51.97 kB / 0.559 GB, free: 3.473 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.001282/0.3883, allocations: 1.664 MB / 0.5606 GB, free: 1.707 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007861/0.3891, allocations: 0.8111 MB / 0.5614 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3891, allocations: 0 / 0.5614 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003507/0.3894, allocations: 434 kB / 0.5618 GB, free: 488 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.3898, allocations: 39.58 kB / 0.5619 GB, free: 448 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002188/0.392, allocations: 2.023 MB / 0.5638 GB, free: 14.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006182/0.3926, allocations: 1.026 MB / 0.5648 GB, free: 13.25 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002023/0.3928, allocations: 77.03 kB / 0.5649 GB, free: 13.17 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003097/0.3932, allocations: 255.3 kB / 0.5652 GB, free: 12.92 MB / 430.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3932, allocations: 0 / 0.5652 GB, free: 12.92 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02615/0.4193, allocations: 10.27 MB / 0.5752 GB, free: 2.719 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.743/9.162, allocations: 13.88 kB / 0.5752 GB, free: 2.707 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 ModelicaTest_trunk_ModelicaTest_MultiBody_Frames_QuaternionFromT.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe 2>&1)