Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001421/0.00142, allocations: 95.58 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00234/0.00234, allocations: 174 kB / 16.56 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.731/1.731, allocations: 205.4 MB / 222.7 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.416/0.416, allocations: 43.54 MB / 314.5 MB, free: 8.742 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004923/0.0004926, allocations: 16 kB / 384 MB, free: 7.941 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1238, allocations: 58.85 MB / 442.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.2562/0.3801, allocations: 35.39 MB / 478.2 MB, free: 29.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0157/0.3958, allocations: 7.806 MB / 486 MB, free: 24.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007235/0.4031, allocations: 184.9 kB / 486.2 MB, free: 24.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00654/0.4097, allocations: 1.872 MB / 488.1 MB, free: 23.69 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02052/0.4302, allocations: 5.299 MB / 493.4 MB, free: 21.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002667/0.4329, allocations: 244.8 kB / 493.6 MB, free: 21.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02754/0.4605, allocations: 15.26 MB / 0.497 GB, free: 16.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009504/0.4701, allocations: 3.866 MB / 0.5007 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00535/0.4755, allocations: 1.554 MB / 0.5023 GB, free: 14.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005204/0.4807, allocations: 1.941 MB / 0.5042 GB, free: 13.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00221/0.483, allocations: 231.7 kB / 0.5044 GB, free: 13.9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003537/0.4865, allocations: 0.5565 MB / 0.5049 GB, free: 13.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004825/0.4914, allocations: 2.386 MB / 0.5072 GB, free: 12.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00298/0.4944, allocations: 1.327 MB / 0.5085 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008696/0.5031, allocations: 8.136 MB / 0.5165 GB, free: 4.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.5032, allocations: 0 / 0.5165 GB, free: 4.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.547e-06/0.5032, allocations: 0 / 0.5165 GB, free: 4.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004152/0.5036, allocations: 3.938 kB / 0.5165 GB, free: 4.516 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.01094/0.5146, allocations: 5.949 MB / 0.5223 GB, free: 14.49 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.5146, allocations: 8.031 kB / 0.5223 GB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003231/0.5179, allocations: 1.276 MB / 0.5236 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02313/0.541, allocations: 7.133 MB / 0.5305 GB, free: 6.043 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009506/0.5506, allocations: 3.213 MB / 0.5337 GB, free: 2.762 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004581/0.5511, allocations: 327.8 kB / 0.534 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002522/0.5536, allocations: 415.7 kB / 0.5344 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03713/0.5908, allocations: 18.98 MB / 0.5529 GB, free: 14.31 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00013/0.591, allocations: 35.69 kB / 0.5529 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001447/0.5924, allocations: 207.6 kB / 0.5531 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008158/0.6006, allocations: 4.754 MB / 0.5578 GB, free: 9.309 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03552/0.6362, allocations: 17.59 MB / 0.575 GB, free: 7.688 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3424/0.9786, allocations: 61.36 MB / 0.6349 GB, free: 97 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01437/0.9931, allocations: 8.423 MB / 0.6431 GB, free: 94.61 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02324/1.016, allocations: 11.93 MB / 0.6548 GB, free: 91.21 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.007e-05/1.016, allocations: 59.36 kB / 0.6548 GB, free: 91.17 MB / 494.1 MB Notification: Performance of pre-optimization done (n=321): time 7.724e-06/1.016, allocations: 0 / 0.6548 GB, free: 91.17 MB / 494.1 MB Notification: Performance of matching and sorting (n=321): time 0.01953/1.036, allocations: 8.552 MB / 0.6632 GB, free: 89.46 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.27e-05/1.036, allocations: 101.4 kB / 0.6633 GB, free: 89.36 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01033/1.046, allocations: 5.64 MB / 0.6688 GB, free: 87.37 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005463/1.047, allocations: 69.91 kB / 0.6688 GB, free: 87.31 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003886/1.051, allocations: 5.066 MB / 0.6738 GB, free: 83.46 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001785/1.053, allocations: 1.2 MB / 0.675 GB, free: 82.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007184/1.053, allocations: 180 kB / 0.6751 GB, free: 82.46 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0007372/1.054, allocations: 0.7272 MB / 0.6758 GB, free: 81.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00609/1.06, allocations: 3.175 MB / 0.6789 GB, free: 81.04 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009514/1.07, allocations: 8.585 MB / 0.6873 GB, free: 72.88 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007495/1.077, allocations: 5.273 MB / 0.6925 GB, free: 71.07 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001182/1.078, allocations: 58.5 kB / 0.6925 GB, free: 71.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.02078/1.098, allocations: 11.58 MB / 0.7038 GB, free: 66.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001472/1.099, allocations: 88.59 kB / 0.7039 GB, free: 66.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002769/1.099, allocations: 188.7 kB / 0.7041 GB, free: 66.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002515/1.099, allocations: 281.5 kB / 0.7044 GB, free: 66.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006826/1.106, allocations: 2.072 MB / 0.7064 GB, free: 66.55 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002957/1.106, allocations: 376.8 kB / 0.7067 GB, free: 66.47 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007635/1.114, allocations: 1.323 MB / 0.708 GB, free: 65.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001832/1.116, allocations: 0.5584 MB / 0.7086 GB, free: 65.55 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006905/1.123, allocations: 3.698 MB / 0.7122 GB, free: 63.98 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000834/1.124, allocations: 484.4 kB / 0.7127 GB, free: 63.71 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001131/1.125, allocations: 0.6483 MB / 0.7133 GB, free: 63.34 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-05/1.125, allocations: 57.75 kB / 0.7133 GB, free: 63.33 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.281e-05/1.125, allocations: 3.953 kB / 0.7134 GB, free: 63.33 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.483e-05/1.125, allocations: 10.12 kB / 0.7134 GB, free: 63.33 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02196/1.147, allocations: 12.61 MB / 0.7257 GB, free: 53.22 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.147e-05/1.147, allocations: 19.75 kB / 0.7257 GB, free: 53.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001755/1.149, allocations: 418.5 kB / 0.7261 GB, free: 52.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.7e-05/1.149, allocations: 28.06 kB / 0.7261 GB, free: 52.84 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001516/1.149, allocations: 59.8 kB / 0.7262 GB, free: 52.78 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.479e-05/1.149, allocations: 31.64 kB / 0.7262 GB, free: 52.75 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.549e-05/1.149, allocations: 23.88 kB / 0.7262 GB, free: 52.73 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006333/1.155, allocations: 6.584 MB / 0.7327 GB, free: 46.07 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001725/1.157, allocations: 0.5863 MB / 0.7332 GB, free: 45.48 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008524/1.158, allocations: 63.33 kB / 0.7333 GB, free: 45.42 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001741/1.16, allocations: 127.5 kB / 0.7334 GB, free: 45.34 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002786/1.16, allocations: 175.4 kB / 0.7336 GB, free: 45.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001748/1.16, allocations: 103 kB / 0.7337 GB, free: 45.11 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004991/1.165, allocations: 3.458 MB / 0.7371 GB, free: 42.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.51e-07/1.165, allocations: 4 kB / 0.7371 GB, free: 42.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008485/1.174, allocations: 1.988 MB / 0.739 GB, free: 40.32 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006942/1.181, allocations: 10.11 MB / 0.7489 GB, free: 29.79 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01111/1.192, allocations: 7.231 MB / 0.7559 GB, free: 22.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-05/1.192, allocations: 8 kB / 0.7559 GB, free: 22.59 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002607/1.194, allocations: 2.003 MB / 0.7579 GB, free: 20.59 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003068/1.197, allocations: 0.5696 MB / 0.7585 GB, free: 20.04 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3046/1.502, allocations: 163.3 MB / 0.9179 GB, free: 101 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007255/1.509, allocations: 5.571 MB / 0.9233 GB, free: 100.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.007892/1.517, allocations: 3.549 MB / 0.9268 GB, free: 99.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004759/1.522, allocations: 3.328 MB / 0.93 GB, free: 99.43 MB / 0.545 GB Notification: Performance of SimCode: time 1.462e-06/1.522, allocations: 0 / 0.93 GB, free: 99.43 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1691/1.691, allocations: 110.1 MB / 1.038 GB, free: 20.35 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001407/1.691, allocations: 185.9 kB / 1.038 GB, free: 20.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.448/7.139, allocations: 0 / 1.038 GB, free: 20.1 MB / 0.545 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedRotation_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedRotation.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat does not exist to compare? outputFormat=mat