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) 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 4.1.0-beta.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001347/0.001347, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001241/0.001241, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2258/0.2258, allocations: 46.12 MB / 344.3 MB, free: 11.48 MB / 286.1 MB 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.002487/0.002487, allocations: 83.88 kB / 480.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3643, allocations: 62.45 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.QuaternionFromT): time 0.002129/0.3665, allocations: 0.9358 MB / 0.5315 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002549/0.369, allocations: 1.45 MB / 0.533 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.134e-05/0.3691, allocations: 5.312 kB / 0.533 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.488e-05/0.3692, allocations: 18.81 kB / 0.533 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008273/0.37, allocations: 304.2 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.189e-06/0.3701, allocations: 0 / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001611/0.3702, allocations: 119.8 kB / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.371e-05/0.3703, allocations: 8.438 kB / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.431e-05/0.3704, allocations: 57.67 kB / 0.5335 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01545/0.3858, allocations: 10.63 MB / 0.5438 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001228/0.386, allocations: 4 kB / 0.5438 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003499/0.3863, allocations: 95.84 kB / 0.5439 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002142/0.3865, allocations: 219.3 kB / 0.5441 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001688/0.3867, allocations: 197.8 kB / 0.5443 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005536/0.3873, allocations: 465.2 kB / 0.5448 GB, free: 3.219 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3873, allocations: 0 / 0.5448 GB, free: 3.219 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3873, allocations: 4 kB / 0.5448 GB, free: 3.215 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.3873, allocations: 0 / 0.5448 GB, free: 3.215 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.001081/0.3884, allocations: 0.9474 MB / 0.5457 GB, free: 2.215 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.3885, allocations: 8.031 kB / 0.5457 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.171e-05/0.3886, allocations: 66.7 kB / 0.5458 GB, free: 2.133 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.3887, allocations: 92.28 kB / 0.5459 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003845/0.3891, allocations: 396.5 kB / 0.5462 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.3891, allocations: 4.375 kB / 0.5462 GB, free: 1.609 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.3891, allocations: 20.3 kB / 0.5463 GB, free: 1.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006741/0.3898, allocations: 0.583 MB / 0.5468 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.3898, allocations: 3.938 kB / 0.5468 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.3899, allocations: 11.98 kB / 0.5468 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000227/0.3901, allocations: 167.9 kB / 0.547 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003611/0.3905, allocations: 375.5 kB / 0.5474 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009672/0.3914, allocations: 0.6541 MB / 0.548 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000811/0.3922, allocations: 0.7959 MB / 0.5488 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005087/0.3928, allocations: 0.4966 MB / 0.5493 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.3928, allocations: 19.92 kB / 0.5493 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.406e-05/0.3929, allocations: 67.03 kB / 0.5493 GB, free: 13.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 2.574e-06/0.3929, allocations: 4 kB / 0.5493 GB, free: 13.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.001568/0.3945, allocations: 1.335 MB / 0.5507 GB, free: 12.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003699/0.3948, allocations: 0.6477 MB / 0.5513 GB, free: 11.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009152/0.3958, allocations: 0.7782 MB / 0.552 GB, free: 11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.3958, allocations: 41.62 kB / 0.5521 GB, free: 10.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002981/0.3961, allocations: 302.1 kB / 0.5524 GB, free: 10.65 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002942/0.3964, allocations: 325.1 kB / 0.5527 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.3965, allocations: 81.62 kB / 0.5528 GB, free: 10.24 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.3967, allocations: 341.9 kB / 0.5531 GB, free: 9.902 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004007/0.3971, allocations: 344.7 kB / 0.5534 GB, free: 9.562 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005163/0.3976, allocations: 0.5062 MB / 0.5539 GB, free: 8.984 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.3987, allocations: 0.9451 MB / 0.5548 GB, free: 7.965 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.3987, allocations: 0 / 0.5548 GB, free: 7.965 MB / 414.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001158/0.3998, allocations: 0.9609 MB / 0.5558 GB, free: 6.996 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.3999, allocations: 4 kB / 0.5558 GB, free: 6.992 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.3999, allocations: 8 kB / 0.5558 GB, free: 6.984 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.682e-05/0.3999, allocations: 12 kB / 0.5558 GB, free: 6.973 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.697e-06/0.3999, allocations: 7.938 kB / 0.5558 GB, free: 6.965 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.85e-05/0.4, allocations: 15.92 kB / 0.5558 GB, free: 6.949 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/0.4001, allocations: 48.3 kB / 0.5559 GB, free: 6.902 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.577e-05/0.4002, allocations: 32 kB / 0.5559 GB, free: 6.871 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.0004284/0.4006, allocations: 313.5 kB / 0.5562 GB, free: 6.555 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.4007, allocations: 91.33 kB / 0.5563 GB, free: 6.465 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.686e-05/0.4008, allocations: 93.67 kB / 0.5564 GB, free: 6.363 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002252/0.4011, allocations: 171.9 kB / 0.5565 GB, free: 6.195 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/0.4011, allocations: 11.94 kB / 0.5565 GB, free: 6.184 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.4011, allocations: 7.984 kB / 0.5566 GB, free: 6.176 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007693/0.4019, allocations: 0.5322 MB / 0.5571 GB, free: 5.594 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/0.4019, allocations: 8 kB / 0.5571 GB, free: 5.586 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.927e-06/0.4019, allocations: 15.92 kB / 0.5571 GB, free: 5.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.353e-06/0.4019, allocations: 11.94 kB / 0.5571 GB, free: 5.559 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.763e-05/0.402, allocations: 15.98 kB / 0.5571 GB, free: 5.543 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.588e-06/0.402, allocations: 11.98 kB / 0.5571 GB, free: 5.531 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.183e-06/0.402, allocations: 7.938 kB / 0.5571 GB, free: 5.523 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001139/0.4031, allocations: 1.095 MB / 0.5582 GB, free: 4.336 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.4033, allocations: 184.2 kB / 0.5584 GB, free: 4.137 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.135e-05/0.4033, allocations: 11.98 kB / 0.5584 GB, free: 4.125 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.559e-05/0.4034, allocations: 7.984 kB / 0.5584 GB, free: 4.117 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.928e-05/0.4035, allocations: 39.78 kB / 0.5584 GB, free: 4.078 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.105e-05/0.4035, allocations: 35.97 kB / 0.5585 GB, free: 4.043 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005987/0.4041, allocations: 0.5614 MB / 0.559 GB, free: 3.488 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4042, allocations: 0 / 0.559 GB, free: 3.488 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004079/0.4046, allocations: 51.97 kB / 0.5591 GB, free: 3.438 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.001469/0.406, allocations: 1.66 MB / 0.5607 GB, free: 1.676 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008859/0.4069, allocations: 0.8236 MB / 0.5615 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.407, allocations: 0 / 0.5615 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004371/0.4074, allocations: 427.9 kB / 0.5619 GB, free: 448 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.4078, allocations: 39.28 kB / 0.5619 GB, free: 408 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002558/0.4104, allocations: 2.02 MB / 0.5639 GB, free: 14.26 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006627/0.411, allocations: 1.018 MB / 0.5649 GB, free: 13.22 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002014/0.4112, allocations: 81.02 kB / 0.565 GB, free: 13.14 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003094/0.4116, allocations: 255.3 kB / 0.5652 GB, free: 12.89 MB / 430.1 MB Notification: Performance of SimCode: time 7.52e-07/0.4116, allocations: 4 kB / 0.5652 GB, free: 12.88 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03366/0.4452, allocations: 10.29 MB / 0.5753 GB, free: 2.715 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.02/9.466, allocations: 7.422 kB / 0.5753 GB, free: 2.715 MB / 430.1 MB (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_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_4_1_0-beta_om_ModelicaTest_MultiBody_Frames_QuaternionFromT.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe 2>&1)