Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_4_0_0_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.000928/0.000928, allocations: 99.36 kB / 17 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008858/0.0008862, allocations: 186.3 kB / 17.89 MB, free: 6.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 223.3 MB / 241.9 MB, free: 14.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2086/0.2086, allocations: 44.22 MB / 337.2 MB, free: 2.547 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003106/0.0003106, allocations: 9.656 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1107, allocations: 61.92 MB / 471.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.03448/0.1452, allocations: 37.32 MB / 0.497 GB, free: 8.176 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02092/0.1662, allocations: 7.514 MB / 0.5044 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006981/0.1732, allocations: 179.6 kB / 0.5045 GB, free: 472 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2574/0.4307, allocations: 1.937 MB / 0.5064 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01935/0.4501, allocations: 5.666 MB / 0.512 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001872/0.452, allocations: 283.4 kB / 0.5122 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.03649/0.4885, allocations: 34.61 MB / 0.546 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005098/0.4936, allocations: 3.883 MB / 0.5498 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002624/0.4963, allocations: 1.875 MB / 0.5517 GB, free: 8.938 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002684/0.499, allocations: 2.754 MB / 0.5544 GB, free: 6.609 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005316/0.4995, allocations: 228 kB / 0.5546 GB, free: 6.387 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001205/0.5007, allocations: 0.5914 MB / 0.5551 GB, free: 5.891 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001832/0.5026, allocations: 2.567 MB / 0.5577 GB, free: 3.789 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000992/0.5036, allocations: 1.328 MB / 0.5589 GB, free: 3.121 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006603/0.5102, allocations: 8.135 MB / 0.5669 GB, free: 12.04 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.5102, allocations: 0 / 0.5669 GB, free: 12.04 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.5102, allocations: 0 / 0.5669 GB, free: 12.04 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002253/0.5105, allocations: 4 kB / 0.5669 GB, free: 12.03 MB / 414.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.007915/0.5184, allocations: 5.811 MB / 0.5726 GB, free: 6.684 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.5184, allocations: 8.031 kB / 0.5726 GB, free: 6.676 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001616/0.5201, allocations: 1.276 MB / 0.5738 GB, free: 5.883 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01647/0.5365, allocations: 6.026 MB / 0.5797 GB, free: 36 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005077/0.5416, allocations: 3.204 MB / 0.5828 GB, free: 13.44 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000174/0.5418, allocations: 324.5 kB / 0.5831 GB, free: 13.27 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006991/0.5425, allocations: 422.2 kB / 0.5836 GB, free: 13 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02323/0.5658, allocations: 18.85 MB / 0.602 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.441e-05/0.5659, allocations: 31.69 kB / 0.602 GB, free: 12.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005164/0.5664, allocations: 207.7 kB / 0.6022 GB, free: 11.92 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005889/0.5723, allocations: 4.749 MB / 0.6068 GB, free: 7.195 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02575/0.5981, allocations: 17.45 MB / 0.6239 GB, free: 5.719 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08371/0.6818, allocations: 61.26 MB / 0.6837 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01474/0.6966, allocations: 8.409 MB / 0.6919 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003693/0.7003, allocations: 2.574 MB / 0.6944 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2222/0.9225, allocations: 11.87 MB / 0.706 GB, free: 182.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.349e-05/0.9227, allocations: 56.66 kB / 0.7061 GB, free: 182.1 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=321): time 7.804e-06/0.9227, allocations: 1.969 kB / 0.7061 GB, free: 182.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=321): time 0.01892/0.9416, allocations: 7.487 MB / 0.7134 GB, free: 182 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.271e-05/0.9417, allocations: 102.2 kB / 0.7135 GB, free: 181.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008463/0.9502, allocations: 5.645 MB / 0.719 GB, free: 180.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003886/0.9506, allocations: 65.8 kB / 0.719 GB, free: 180.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002452/0.9531, allocations: 5.07 MB / 0.724 GB, free: 177 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001123/0.9542, allocations: 1.207 MB / 0.7252 GB, free: 176.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003316/0.9545, allocations: 182.1 kB / 0.7253 GB, free: 176 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003469/0.9549, allocations: 0.7328 MB / 0.7261 GB, free: 175.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003728/0.9586, allocations: 3.175 MB / 0.7292 GB, free: 174.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005215/0.9638, allocations: 8.61 MB / 0.7376 GB, free: 166.4 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005695/0.9695, allocations: 5.283 MB / 0.7427 GB, free: 164.4 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.582e-05/0.9696, allocations: 51.19 kB / 0.7428 GB, free: 164.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01419/0.9838, allocations: 11.56 MB / 0.7541 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.509e-05/0.9839, allocations: 88 kB / 0.7542 GB, free: 158.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001548/0.9841, allocations: 188 kB / 0.7543 GB, free: 158.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001829/0.9843, allocations: 284.8 kB / 0.7546 GB, free: 157.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005166/0.9895, allocations: 2.07 MB / 0.7566 GB, free: 156 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001776/0.9897, allocations: 380.9 kB / 0.757 GB, free: 155.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004856/0.9945, allocations: 1.326 MB / 0.7583 GB, free: 154.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005352/0.9951, allocations: 0.5495 MB / 0.7588 GB, free: 153.9 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003987/0.9991, allocations: 3.699 MB / 0.7624 GB, free: 150.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004412/0.9995, allocations: 485.5 kB / 0.7629 GB, free: 150.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/1.001, allocations: 0.6494 MB / 0.7635 GB, free: 149.6 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.738e-05/1.001, allocations: 60.84 kB / 0.7636 GB, free: 149.6 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.272e-05/1.001, allocations: 2.625 kB / 0.7636 GB, free: 149.6 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.585e-05/1.001, allocations: 15.09 kB / 0.7636 GB, free: 149.6 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01349/1.014, allocations: 12.61 MB / 0.7759 GB, free: 137.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.428e-05/1.014, allocations: 12.22 kB / 0.7759 GB, free: 137.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001461/1.016, allocations: 431.3 kB / 0.7764 GB, free: 136.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.049e-05/1.016, allocations: 24 kB / 0.7764 GB, free: 136.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001328/1.016, allocations: 61.89 kB / 0.7764 GB, free: 136.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.766e-05/1.016, allocations: 31.86 kB / 0.7765 GB, free: 136.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.568e-06/1.016, allocations: 19.94 kB / 0.7765 GB, free: 136.6 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004237/1.02, allocations: 4.616 MB / 0.781 GB, free: 131.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000946/1.021, allocations: 0.5877 MB / 0.7816 GB, free: 131.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005034/1.022, allocations: 55.98 kB / 0.7816 GB, free: 131.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00134/1.023, allocations: 130.6 kB / 0.7817 GB, free: 131 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002124/1.023, allocations: 172.8 kB / 0.7819 GB, free: 130.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001577/1.023, allocations: 98.95 kB / 0.782 GB, free: 130.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00423/1.028, allocations: 3.459 MB / 0.7854 GB, free: 127.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/1.028, allocations: 0 / 0.7854 GB, free: 127.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006492/1.034, allocations: 1.991 MB / 0.7873 GB, free: 125.3 MB / 0.5294 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 (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.004576/1.039, allocations: 5.306 MB / 0.7925 GB, free: 119.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008336/1.047, allocations: 7.229 MB / 0.7996 GB, free: 112.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/1.047, allocations: 4 kB / 0.7996 GB, free: 112.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001959/1.049, allocations: 1.995 MB / 0.8015 GB, free: 110.6 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002685/1.052, allocations: 0.6011 MB / 0.8021 GB, free: 110 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06764/1.119, allocations: 52.31 MB / 0.8532 GB, free: 52.48 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006278/1.126, allocations: 5.415 MB / 0.8585 GB, free: 47.02 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.007335/1.133, allocations: 3.551 MB / 0.8619 GB, free: 43.46 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004329/1.137, allocations: 3.323 MB / 0.8652 GB, free: 40.14 MB / 0.5294 GB Notification: Performance of SimCode: time 1.172e-06/1.137, allocations: 0 / 0.8652 GB, free: 40.14 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4621/1.6, allocations: 111.3 MB / 0.9739 GB, free: 116.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000149/1.6, allocations: 183.4 kB / 0.974 GB, free: 116.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.453/7.053, allocations: 0 / 0.974 GB, free: 116.4 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedRotation_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedRotation.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat does not exist to compare? outputFormat=mat