Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002649/0.002649, allocations: 182 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.183/2.183, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001135/0.001135, allocations: 82.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2966/0.2966, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.613e-05/3.639e-05, allocations: 0 / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1222, allocations: 58.85 MB / 484.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5138/0.6361, allocations: 96.05 MB / 0.5667 GB, free: 7.57 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/0.6365, allocations: 75.84 kB / 0.5668 GB, free: 7.535 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6904/1.327, allocations: 139.4 MB / 0.7029 GB, free: 3.438 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.194e-06/1.327, allocations: 0 / 0.7029 GB, free: 3.438 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003594/1.327, allocations: 120 kB / 0.703 GB, free: 3.32 MB / 0.4948 GB 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.3787/1.706, allocations: 6.066 MB / 0.7089 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.236e-05/1.706, allocations: 10.67 kB / 0.7089 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007987/1.714, allocations: 1.386 MB / 0.7103 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05246/1.767, allocations: 6.54 MB / 0.7167 GB, free: 104.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01794/1.785, allocations: 4.289 MB / 0.7209 GB, free: 104 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009515/1.786, allocations: 0.5042 MB / 0.7213 GB, free: 104 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005462/1.791, allocations: 0.6528 MB / 0.722 GB, free: 104 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05943/1.851, allocations: 18 MB / 0.7396 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004265/1.851, allocations: 37.88 kB / 0.7396 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004893/1.856, allocations: 308.9 kB / 0.7399 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004791/1.861, allocations: 2.156 MB / 0.742 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05056/1.911, allocations: 17.24 MB / 0.7588 GB, free: 101 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1335/2.045, allocations: 61.83 MB / 0.8192 GB, free: 59.68 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02392/2.069, allocations: 8.394 MB / 0.8274 GB, free: 51.97 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007874/2.077, allocations: 2.545 MB / 0.8299 GB, free: 49.68 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03636/2.113, allocations: 11.84 MB / 0.8415 GB, free: 39.16 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.224e-05/2.114, allocations: 64.58 kB / 0.8415 GB, free: 39.09 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=321): time 8.937e-06/2.114, allocations: 0 / 0.8415 GB, free: 39.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=321): time 0.02677/2.14, allocations: 5.776 MB / 0.8472 GB, free: 34.32 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/2.14, allocations: 110.5 kB / 0.8473 GB, free: 34.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01301/2.153, allocations: 4.963 MB / 0.8521 GB, free: 29.83 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006312/2.154, allocations: 65.61 kB / 0.8522 GB, free: 29.77 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004084/2.158, allocations: 4.99 MB / 0.857 GB, free: 25.28 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001921/2.16, allocations: 1.209 MB / 0.8582 GB, free: 24.22 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001335/2.162, allocations: 176 kB / 0.8584 GB, free: 24.05 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001148/2.163, allocations: 0.7138 MB / 0.8591 GB, free: 23.44 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008114/2.171, allocations: 3.03 MB / 0.8621 GB, free: 20.71 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01162/2.183, allocations: 8.396 MB / 0.8703 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01156/2.194, allocations: 5.179 MB / 0.8753 GB, free: 5.562 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001975/2.195, allocations: 52 kB / 0.8754 GB, free: 5.512 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.0313/2.226, allocations: 11.08 MB / 0.8862 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001935/2.226, allocations: 95.89 kB / 0.8863 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003844/2.227, allocations: 188 kB / 0.8865 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004512/2.227, allocations: 280 kB / 0.8867 GB, free: 9.879 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0143/2.241, allocations: 2.077 MB / 0.8887 GB, free: 7.801 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005544/2.242, allocations: 370.6 kB / 0.8891 GB, free: 7.438 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01086/2.253, allocations: 1.291 MB / 0.8904 GB, free: 6.133 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002515/2.255, allocations: 0.5466 MB / 0.8909 GB, free: 5.59 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 863 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1135): * Single equations (assignments): 1123 * 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 prepare postOptimizeDAE: time 0.003484/2.259, allocations: 0.7702 MB / 0.8917 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00153/2.26, allocations: 489.4 kB / 0.8921 GB, free: 4.332 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002837/2.263, allocations: 0.6605 MB / 0.8928 GB, free: 3.664 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001742/2.264, allocations: 51.98 kB / 0.8928 GB, free: 3.613 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.225e-05/2.264, allocations: 8 kB / 0.8928 GB, free: 3.605 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.899e-05/2.264, allocations: 7.969 kB / 0.8928 GB, free: 3.598 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4185/2.682, allocations: 12.62 MB / 0.9052 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.899e-05/2.682, allocations: 14.36 kB / 0.9052 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004116/2.686, allocations: 423.1 kB / 0.9056 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.986e-05/2.687, allocations: 26.75 kB / 0.9056 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006562/2.687, allocations: 60.58 kB / 0.9057 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.804e-05/2.687, allocations: 29 kB / 0.9057 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.276e-05/2.687, allocations: 22.62 kB / 0.9057 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01288/2.7, allocations: 6.561 MB / 0.9121 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001987/2.702, allocations: 0.582 MB / 0.9127 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002005/2.704, allocations: 53.97 kB / 0.9127 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004104/2.709, allocations: 135.2 kB / 0.9129 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009893/2.71, allocations: 171.5 kB / 0.913 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005874/2.71, allocations: 99.77 kB / 0.9131 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009929/2.72, allocations: 3.407 MB / 0.9164 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.232e-06/2.72, allocations: 0 / 0.9164 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01107/2.731, allocations: 1.996 MB / 0.9184 GB, free: 102.1 MB / 0.5105 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 () * 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.01281/2.744, allocations: 10.09 MB / 0.9283 GB, free: 95.51 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01613/2.76, allocations: 7.036 MB / 0.9351 GB, free: 95.46 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.07e-05/2.76, allocations: 6.844 kB / 0.9351 GB, free: 95.46 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004707/2.765, allocations: 1.982 MB / 0.9371 GB, free: 95.39 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004485/2.77, allocations: 0.5686 MB / 0.9376 GB, free: 95.36 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05635/2.826, allocations: 16.14 MB / 0.9534 GB, free: 92.25 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01516/2.841, allocations: 5.6 MB / 0.9588 GB, free: 91.37 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009315/2.851, allocations: 3.395 MB / 0.9622 GB, free: 89.48 MB / 0.5105 GB Notification: Performance of SimCode: time 1.823e-06/2.851, allocations: 0 / 0.9622 GB, free: 89.48 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.594/8.445, allocations: 134.3 MB / 1.093 GB, free: 90.16 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_FixedRotation_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_FixedRotation.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat does not exist to compare? outputFormat=mat