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.001479/0.001479, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001917/0.001916, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.521/1.521, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.223/0.223, allocations: 46.12 MB / 344.2 MB, free: 11.57 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.003879/0.003879, allocations: 81.23 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1803, allocations: 62.45 MB / 480.2 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.QuaternionFromT): time 0.003752/0.1841, allocations: 0.9441 MB / 481.1 MB, free: 4.211 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003378/0.1875, allocations: 1.439 MB / 482.6 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.1877, allocations: 12 kB / 482.6 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.943e-05/0.1878, allocations: 19.86 kB / 482.6 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001321/0.1892, allocations: 302.6 kB / 482.9 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.037e-05/0.1892, allocations: 0 / 482.9 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002704/0.1895, allocations: 115.6 kB / 483 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.629e-05/0.1896, allocations: 13.56 kB / 483 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.1897, allocations: 59.67 kB / 483.1 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02492/0.2146, allocations: 10.64 MB / 493.7 MB, free: 7.594 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001337/0.2148, allocations: 11.94 kB / 493.7 MB, free: 7.582 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004783/0.2153, allocations: 91.91 kB / 493.8 MB, free: 7.492 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003537/0.2157, allocations: 215.3 kB / 494 MB, free: 7.281 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002914/0.216, allocations: 193.8 kB / 494.2 MB, free: 7.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008772/0.2169, allocations: 446 kB / 494.7 MB, free: 6.652 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.2169, allocations: 0 / 494.7 MB, free: 6.652 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.013e-06/0.217, allocations: 3.984 kB / 494.7 MB, free: 6.648 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.575e-05/0.217, allocations: 0 / 494.7 MB, free: 6.648 MB / 366.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.001617/0.2186, allocations: 0.9166 MB / 495.6 MB, free: 5.68 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.2187, allocations: 16.03 kB / 495.6 MB, free: 5.664 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001092/0.2188, allocations: 70.69 kB / 495.7 MB, free: 5.586 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000178/0.219, allocations: 83.72 kB / 495.8 MB, free: 5.504 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005238/0.2196, allocations: 383.8 kB / 496.1 MB, free: 5.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.2196, allocations: 8.359 kB / 496.1 MB, free: 5.082 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.811e-05/0.2196, allocations: 12.36 kB / 496.2 MB, free: 5.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.2208, allocations: 0.5907 MB / 496.7 MB, free: 4.402 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.2208, allocations: 7.938 kB / 496.8 MB, free: 4.395 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.362e-05/0.2208, allocations: 3.984 kB / 496.8 MB, free: 4.391 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004281/0.2213, allocations: 171.9 kB / 496.9 MB, free: 4.223 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006991/0.222, allocations: 371.5 kB / 497.3 MB, free: 3.859 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001811/0.2238, allocations: 0.6539 MB / 497.9 MB, free: 3.086 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/0.2251, allocations: 0.792 MB / 498.7 MB, free: 2.074 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008898/0.226, allocations: 0.5082 MB / 499.2 MB, free: 1.492 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.2261, allocations: 19.94 kB / 499.3 MB, free: 1.473 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.44e-05/0.2262, allocations: 67.02 kB / 499.3 MB, free: 1.398 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 5.51e-06/0.2262, allocations: 3.938 kB / 499.3 MB, free: 1.395 MB / 366.1 MB Notification: Performance of matching and sorting (n=96): time 0.002762/0.229, allocations: 1.331 MB / 0.4889 GB, free: 60 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006032/0.2296, allocations: 0.6516 MB / 0.4896 GB, free: 15.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001673/0.2313, allocations: 0.7782 MB / 0.4903 GB, free: 14.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.856e-05/0.2314, allocations: 29.69 kB / 0.4904 GB, free: 14.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004018/0.2318, allocations: 302.1 kB / 0.4906 GB, free: 14.13 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004444/0.2323, allocations: 311.2 kB / 0.4909 GB, free: 13.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001901/0.2325, allocations: 85.62 kB / 0.491 GB, free: 13.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002326/0.2327, allocations: 338 kB / 0.4913 GB, free: 13.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006246/0.2334, allocations: 348.8 kB / 0.4917 GB, free: 13.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008448/0.2342, allocations: 0.4984 MB / 0.4922 GB, free: 12.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001637/0.2359, allocations: 0.9451 MB / 0.4931 GB, free: 11.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.2359, allocations: 0 / 0.4931 GB, free: 11.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001996/0.2379, allocations: 0.9526 MB / 0.494 GB, free: 10.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.227e-05/0.238, allocations: 8.75 kB / 0.494 GB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.498e-05/0.238, allocations: 4 kB / 0.494 GB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.989e-05/0.2381, allocations: 12 kB / 0.494 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.846e-06/0.2381, allocations: 7.938 kB / 0.494 GB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.281e-05/0.2381, allocations: 11.94 kB / 0.4941 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002963/0.2384, allocations: 47.36 kB / 0.4941 GB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.787e-05/0.2385, allocations: 31.98 kB / 0.4941 GB, free: 10.38 MB / 382.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.0006129/0.2391, allocations: 309.5 kB / 0.4944 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002519/0.2394, allocations: 94.8 kB / 0.4945 GB, free: 9.973 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001691/0.2396, allocations: 89.67 kB / 0.4946 GB, free: 9.879 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003831/0.24, allocations: 175.9 kB / 0.4948 GB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.991e-05/0.24, allocations: 8 kB / 0.4948 GB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.031e-05/0.2401, allocations: 15.98 kB / 0.4948 GB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001466/0.2415, allocations: 0.532 MB / 0.4953 GB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/0.2416, allocations: 4 kB / 0.4953 GB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.365e-05/0.2416, allocations: 11.88 kB / 0.4953 GB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.584e-05/0.2416, allocations: 8 kB / 0.4953 GB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.929e-05/0.2417, allocations: 19.97 kB / 0.4954 GB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.836e-05/0.2417, allocations: 8 kB / 0.4954 GB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.55e-05/0.2417, allocations: 15.88 kB / 0.4954 GB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002059/0.2438, allocations: 1.095 MB / 0.4964 GB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002845/0.2441, allocations: 167.7 kB / 0.4966 GB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.37e-05/0.2442, allocations: 19.91 kB / 0.4966 GB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002626/0.2445, allocations: 8 kB / 0.4966 GB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.2446, allocations: 43.83 kB / 0.4967 GB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.76e-05/0.2447, allocations: 28 kB / 0.4967 GB, free: 7.566 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001256/0.246, allocations: 0.5536 MB / 0.4972 GB, free: 7.016 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.246, allocations: 0 / 0.4972 GB, free: 7.016 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008869/0.2469, allocations: 55.91 kB / 0.4973 GB, free: 6.961 MB / 382.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.003217/0.2501, allocations: 1.671 MB / 0.4989 GB, free: 5.188 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001643/0.2518, allocations: 0.8075 MB / 0.4997 GB, free: 4.383 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.2518, allocations: 0 / 0.4997 GB, free: 4.383 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007575/0.2526, allocations: 437.2 kB / 0.5001 GB, free: 3.957 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00068/0.2533, allocations: 42.33 kB / 0.5002 GB, free: 3.922 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005308/0.2586, allocations: 2.02 MB / 0.5021 GB, free: 1.785 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00131/0.26, allocations: 1.022 MB / 0.5031 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005416/0.2606, allocations: 77.03 kB / 0.5032 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005896/0.2612, allocations: 247.3 kB / 0.5035 GB, free: 432 kB / 382.1 MB Notification: Performance of SimCode: time 1.272e-06/0.2612, allocations: 0 / 0.5035 GB, free: 432 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2585/0.5197, allocations: 10.1 MB / 0.5133 GB, free: 42.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.976/8.496, allocations: 4.688 kB / 0.5133 GB, free: 42.27 MB / 382.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)