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.001394/0.001394, allocations: 106 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001495/0.001495, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, allocations: 227.4 MB / 246.8 MB, free: 10.52 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.2254/0.2254, allocations: 46.12 MB / 344.2 MB, free: 11.54 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.002236/0.002236, allocations: 84.22 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1279, allocations: 62.45 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.QuaternionFromT): time 0.002339/0.1303, allocations: 0.9324 MB / 481.1 MB, free: 4.188 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.1323, allocations: 1.451 MB / 482.6 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.056e-05/0.1324, allocations: 4 kB / 482.6 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.934e-05/0.1324, allocations: 15.86 kB / 482.6 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007774/0.1332, allocations: 303.2 kB / 482.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.011e-06/0.1332, allocations: 3.938 kB / 482.9 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001411/0.1334, allocations: 115.6 kB / 483 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.023e-05/0.1334, allocations: 9.562 kB / 483 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.401e-05/0.1335, allocations: 63.67 kB / 483.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01554/0.1491, allocations: 10.63 MB / 493.7 MB, free: 7.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001048/0.1492, allocations: 4 kB / 493.7 MB, free: 7.566 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003058/0.1495, allocations: 99.78 kB / 493.8 MB, free: 7.469 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000248/0.1498, allocations: 215.3 kB / 494 MB, free: 7.258 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001846/0.15, allocations: 197.8 kB / 494.2 MB, free: 7.062 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004815/0.1505, allocations: 446 kB / 494.7 MB, free: 6.625 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.1505, allocations: 0 / 494.7 MB, free: 6.625 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1505, allocations: 0 / 494.7 MB, free: 6.625 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.1505, allocations: 0 / 494.7 MB, free: 6.625 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.001015/0.1515, allocations: 0.9283 MB / 495.6 MB, free: 5.645 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.1516, allocations: 8.031 kB / 495.6 MB, free: 5.637 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.102e-05/0.1517, allocations: 66.7 kB / 495.7 MB, free: 5.562 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.1518, allocations: 83.72 kB / 495.7 MB, free: 5.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003407/0.1522, allocations: 391.8 kB / 496.1 MB, free: 5.059 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.1522, allocations: 8.359 kB / 496.1 MB, free: 5.051 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.1522, allocations: 8.359 kB / 496.1 MB, free: 5.043 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000683/0.1529, allocations: 0.5907 MB / 496.7 MB, free: 4.375 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.1529, allocations: 7.938 kB / 496.7 MB, free: 4.367 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.152e-05/0.1529, allocations: 7.984 kB / 496.8 MB, free: 4.359 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002417/0.1532, allocations: 167.9 kB / 496.9 MB, free: 4.195 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004017/0.1536, allocations: 383.5 kB / 497.3 MB, free: 3.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.1546, allocations: 0.6422 MB / 497.9 MB, free: 3.059 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009561/0.1556, allocations: 0.792 MB / 498.7 MB, free: 2.047 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005808/0.1562, allocations: 0.5083 MB / 499.2 MB, free: 1.465 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.69e-05/0.1562, allocations: 19.86 kB / 499.3 MB, free: 1.445 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.567e-05/0.1563, allocations: 67.03 kB / 499.3 MB, free: 1.371 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 3.577e-06/0.1563, allocations: 0 / 499.3 MB, free: 1.371 MB / 366.1 MB Notification: Performance of matching and sorting (n=96): time 0.00177/0.1581, allocations: 1.331 MB / 0.4889 GB, free: 36 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004318/0.1585, allocations: 0.6516 MB / 0.4895 GB, free: 15.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000936/0.1595, allocations: 0.7821 MB / 0.4903 GB, free: 14.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.319e-05/0.1595, allocations: 33.69 kB / 0.4903 GB, free: 14.39 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002652/0.1598, allocations: 302 kB / 0.4906 GB, free: 14.1 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000305/0.1601, allocations: 311.2 kB / 0.4909 GB, free: 13.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.1603, allocations: 85.62 kB / 0.491 GB, free: 13.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.1605, allocations: 341.9 kB / 0.4913 GB, free: 13.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003664/0.1608, allocations: 336.8 kB / 0.4917 GB, free: 13.03 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005405/0.1614, allocations: 0.5115 MB / 0.4922 GB, free: 12.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009852/0.1624, allocations: 0.9334 MB / 0.4931 GB, free: 11.44 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.1624, allocations: 4 kB / 0.4931 GB, free: 11.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001132/0.1635, allocations: 0.9533 MB / 0.494 GB, free: 10.47 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.1636, allocations: 12 kB / 0.494 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/0.1636, allocations: 4 kB / 0.494 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.1636, allocations: 8 kB / 0.494 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.918e-06/0.1636, allocations: 11.94 kB / 0.494 GB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.973e-05/0.1637, allocations: 19.91 kB / 0.4941 GB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.1638, allocations: 43.36 kB / 0.4941 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-05/0.1639, allocations: 32 kB / 0.4941 GB, free: 10.34 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.0004243/0.1643, allocations: 313.5 kB / 0.4944 GB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/0.1644, allocations: 90.81 kB / 0.4945 GB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000115/0.1646, allocations: 93.67 kB / 0.4946 GB, free: 9.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002791/0.1648, allocations: 175.9 kB / 0.4948 GB, free: 9.668 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.597e-05/0.1649, allocations: 4 kB / 0.4948 GB, free: 9.664 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.709e-05/0.1649, allocations: 11.98 kB / 0.4948 GB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009383/0.1658, allocations: 0.5281 MB / 0.4953 GB, free: 9.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.904e-06/0.1659, allocations: 4 kB / 0.4953 GB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.667e-05/0.1659, allocations: 19.86 kB / 0.4953 GB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.587e-06/0.1659, allocations: 8 kB / 0.4953 GB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/0.1659, allocations: 15.98 kB / 0.4953 GB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.04e-05/0.1659, allocations: 7.984 kB / 0.4954 GB, free: 9.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.361e-05/0.166, allocations: 15.94 kB / 0.4954 GB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/0.1674, allocations: 1.095 MB / 0.4964 GB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000163/0.1676, allocations: 175.7 kB / 0.4966 GB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.909e-05/0.1676, allocations: 11.98 kB / 0.4966 GB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.1678, allocations: 7.984 kB / 0.4966 GB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.068e-05/0.1678, allocations: 43.78 kB / 0.4967 GB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.157e-05/0.1679, allocations: 35.97 kB / 0.4967 GB, free: 7.527 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007417/0.1686, allocations: 0.5575 MB / 0.4972 GB, free: 6.973 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1686, allocations: 0 / 0.4972 GB, free: 6.973 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00048/0.1691, allocations: 47.98 kB / 0.4973 GB, free: 6.926 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.001759/0.1709, allocations: 1.655 MB / 0.4989 GB, free: 5.168 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001048/0.172, allocations: 0.8186 MB / 0.4997 GB, free: 4.352 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.172, allocations: 7.938 kB / 0.4997 GB, free: 4.344 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004808/0.1725, allocations: 430.4 kB / 0.5001 GB, free: 3.926 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003961/0.1729, allocations: 41.47 kB / 0.5002 GB, free: 3.891 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002814/0.1757, allocations: 2.02 MB / 0.5021 GB, free: 1.754 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006705/0.1764, allocations: 1.026 MB / 0.5031 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002653/0.1767, allocations: 73.03 kB / 0.5032 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003146/0.177, allocations: 255.3 kB / 0.5035 GB, free: 392 kB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.177, allocations: 4 kB / 0.5035 GB, free: 388 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.247/0.424, allocations: 10.1 MB / 0.5133 GB, free: 42.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.967/8.391, allocations: 2.406 kB / 0.5133 GB, free: 42.07 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Frames_QuaternionFromT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Frames_QuaternionFromT.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe 2>&1)