Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedRotation.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.Parts.FixedRotation,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00188/0.00188, allocations: 103.7 kB / 17.63 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002234/0.002234, allocations: 212.6 kB / 18.58 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 227.4 MB / 246.8 MB, free: 10.58 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.2297/0.2297, allocations: 46.12 MB / 344.2 MB, free: 11.56 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.002163/0.002163, allocations: 79.02 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1198, allocations: 62.45 MB / 480.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01956/0.1394, allocations: 16.93 MB / 497.1 MB, free: 4.121 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00965/0.1491, allocations: 3.944 MB / 0.4893 GB, free: 168 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00253/0.1516, allocations: 95.81 kB / 0.4894 GB, free: 72 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004759/0.1565, allocations: 2.195 MB / 0.4916 GB, free: 13.87 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006098/0.1626, allocations: 2.494 MB / 0.494 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.1637, allocations: 303.5 kB / 0.4943 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009973/0.1737, allocations: 6.532 MB / 0.5007 GB, free: 4.527 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00518/0.1789, allocations: 3.334 MB / 0.5039 GB, free: 1.145 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2286/0.4075, allocations: 2.121 MB / 0.506 GB, free: 14.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004584/0.4122, allocations: 2.774 MB / 0.5087 GB, free: 14.37 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001811/0.414, allocations: 392.2 kB / 0.5091 GB, free: 14.37 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002866/0.4169, allocations: 0.8012 MB / 0.5099 GB, free: 14.37 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003621/0.4205, allocations: 2.734 MB / 0.5125 GB, free: 14.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005135/0.4257, allocations: 3.307 MB / 0.5158 GB, free: 12.67 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01243/0.4381, allocations: 10.05 MB / 0.5256 GB, free: 10.6 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.4382, allocations: 0.5625 kB / 0.5256 GB, free: 10.6 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4382, allocations: 1.188 kB / 0.5256 GB, free: 10.6 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003818/0.4386, allocations: 0.6562 kB / 0.5256 GB, free: 10.6 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2817 * Number of variables: 2817 Notification: Performance of Generate backend data structure: time 0.01701/0.4556, allocations: 6.974 MB / 0.5324 GB, free: 6.266 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.4557, allocations: 9.625 kB / 0.5324 GB, free: 6.266 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003339/0.459, allocations: 1.271 MB / 0.5336 GB, free: 5.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01892/0.478, allocations: 5.855 MB / 0.5394 GB, free: 2.453 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006582/0.4846, allocations: 3.259 MB / 0.5425 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002071/0.4848, allocations: 326.7 kB / 0.5429 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001761/0.4866, allocations: 420.4 kB / 0.5433 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03492/0.5215, allocations: 18.88 MB / 0.5617 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001086/0.5217, allocations: 36.72 kB / 0.5617 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009952/0.5227, allocations: 201.4 kB / 0.5619 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008496/0.5312, allocations: 4.753 MB / 0.5666 GB, free: 10 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03723/0.5685, allocations: 17.53 MB / 0.5837 GB, free: 8.641 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.113/0.6815, allocations: 61.23 MB / 0.6435 GB, free: 10.79 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01782/0.6994, allocations: 8.421 MB / 0.6517 GB, free: 1.93 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004691/0.7041, allocations: 2.583 MB / 0.6542 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02557/0.7297, allocations: 11.88 MB / 0.6658 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.861e-05/0.7298, allocations: 56.56 kB / 0.6659 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=321): time 7.374e-06/0.7298, allocations: 4 kB / 0.6659 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of matching and sorting (n=321): time 0.02005/0.7499, allocations: 7.507 MB / 0.6732 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.523e-05/0.75, allocations: 107 kB / 0.6733 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01425/0.7643, allocations: 5.663 MB / 0.6788 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005972/0.7649, allocations: 69.61 kB / 0.6789 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.005705/0.7706, allocations: 5.077 MB / 0.6839 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002276/0.773, allocations: 1.198 MB / 0.685 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007012/0.78, allocations: 1.905 MB / 0.6869 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.7802, allocations: 305.1 kB / 0.6872 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007507/0.7877, allocations: 3.208 MB / 0.6903 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01287/0.8006, allocations: 8.652 MB / 0.6988 GB, free: 14.65 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2912/1.092, allocations: 12.91 MB / 0.7114 GB, free: 182.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000281/1.092, allocations: 54.16 kB / 0.7114 GB, free: 182.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.02338/1.116, allocations: 11.64 MB / 0.7228 GB, free: 179.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001424/1.116, allocations: 88.38 kB / 0.7229 GB, free: 179.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003094/1.116, allocations: 190.3 kB / 0.7231 GB, free: 179.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003515/1.116, allocations: 252.9 kB / 0.7233 GB, free: 179.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006722/1.123, allocations: 2.076 MB / 0.7253 GB, free: 179.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002695/1.123, allocations: 375.5 kB / 0.7257 GB, free: 179.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007278/1.131, allocations: 1.319 MB / 0.727 GB, free: 179.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001912/1.133, allocations: 0.556 MB / 0.7275 GB, free: 179 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 868 * Number of states: 0 () * Number of discrete variables: 33 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1140): * Single equations (assignments): 1122 * Array equations: 18 * 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.008053/1.141, allocations: 3.704 MB / 0.7311 GB, free: 177.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008381/1.142, allocations: 480.1 kB / 0.7316 GB, free: 177.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001311/1.143, allocations: 0.6423 MB / 0.7322 GB, free: 176.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.419e-05/1.143, allocations: 56.88 kB / 0.7323 GB, free: 176.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.711e-05/1.143, allocations: 0 / 0.7323 GB, free: 176.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.918e-05/1.143, allocations: 19.33 kB / 0.7323 GB, free: 176.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0194/1.162, allocations: 12.63 MB / 0.7446 GB, free: 172.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.701e-05/1.163, allocations: 11.25 kB / 0.7447 GB, free: 172.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001569/1.164, allocations: 431.3 kB / 0.7451 GB, free: 172.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.917e-05/1.164, allocations: 25.23 kB / 0.7451 GB, free: 172.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001486/1.164, allocations: 56.28 kB / 0.7451 GB, free: 172.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.015e-05/1.164, allocations: 29.38 kB / 0.7452 GB, free: 172.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.038e-05/1.164, allocations: 25.27 kB / 0.7452 GB, free: 172.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004717/1.169, allocations: 4.638 MB / 0.7497 GB, free: 169.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001054/1.17, allocations: 0.5601 MB / 0.7503 GB, free: 169.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005338/1.171, allocations: 66.77 kB / 0.7503 GB, free: 169.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001452/1.172, allocations: 127 kB / 0.7505 GB, free: 169.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003012/1.172, allocations: 175.7 kB / 0.7506 GB, free: 169.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001671/1.173, allocations: 97.88 kB / 0.7507 GB, free: 169 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004897/1.178, allocations: 3.489 MB / 0.7541 GB, free: 166.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 4e-07/1.178, allocations: 4 kB / 0.7541 GB, free: 166.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007395/1.185, allocations: 1.941 MB / 0.756 GB, free: 164.2 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * 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 (225): * Single equations (assignments): 213 * Array equations: 12 * 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.004941/1.19, allocations: 5.318 MB / 0.7612 GB, free: 159.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01604/1.206, allocations: 12.64 MB / 0.7736 GB, free: 147.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.384e-05/1.206, allocations: 1 kB / 0.7736 GB, free: 147.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002064/1.208, allocations: 2.005 MB / 0.7755 GB, free: 145.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003242/1.211, allocations: 0.6257 MB / 0.7761 GB, free: 145 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08591/1.297, allocations: 77.92 MB / 0.8522 GB, free: 57.19 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006417/1.304, allocations: 5.418 MB / 0.8575 GB, free: 51.74 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.007725/1.311, allocations: 3.547 MB / 0.861 GB, free: 48.19 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004749/1.316, allocations: 3.323 MB / 0.8642 GB, free: 44.86 MB / 0.545 GB Notification: Performance of SimCode: time 1.112e-06/1.316, allocations: 0 / 0.8642 GB, free: 44.86 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3769/1.693, allocations: 96.93 MB / 0.9589 GB, free: 182.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/12.97, allocations: 1.438 kB / 0.9589 GB, free: 182.8 MB / 0.5606 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedRotation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_FixedRotation_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_FixedRotation.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1)