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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.0008836/0.0008836, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.478/1.478, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008768/0.0008767, allocations: 82.66 kB / 261.7 MB, free: 1.684 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2128/0.2128, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.734e-05/1.744e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1219, allocations: 58.85 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3988/0.5209, allocations: 95.39 MB / 0.5592 GB, free: 15.86 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002104/0.5212, allocations: 78.59 kB / 0.5593 GB, free: 15.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3336/0.8548, allocations: 136.5 MB / 0.6926 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.755e-06/0.8549, allocations: 0 / 0.6926 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003144/0.8552, allocations: 116 kB / 0.6927 GB, free: 14.86 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.022/0.8772, allocations: 6.075 MB / 0.6986 GB, free: 8.715 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.8773, allocations: 12.03 kB / 0.6986 GB, free: 8.703 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02868/0.9059, allocations: 6.537 MB / 0.705 GB, free: 2.145 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3296/1.236, allocations: 4.275 MB / 0.7092 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006025/1.236, allocations: 218.9 kB / 0.7094 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004547/1.241, allocations: 383.3 kB / 0.7097 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02752/1.268, allocations: 12.75 MB / 0.7222 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0494/1.318, allocations: 16.89 MB / 0.7387 GB, free: 105.1 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004025/1.318, allocations: 35.19 kB / 0.7387 GB, free: 105.1 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00456/1.323, allocations: 25.66 kB / 0.7387 GB, free: 105.1 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003376/1.326, allocations: 2.166 MB / 0.7409 GB, free: 105 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0919/1.418, allocations: 59.29 MB / 0.7988 GB, free: 72.87 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006966/1.425, allocations: 6.134 MB / 0.8048 GB, free: 69.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002557/1.428, allocations: 2.047 MB / 0.8068 GB, free: 68.64 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001486/1.429, allocations: 2.273 MB / 0.809 GB, free: 66.58 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/1.429, allocations: 70.86 kB / 0.809 GB, free: 66.52 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=341): time 5.961e-06/1.429, allocations: 3.531 kB / 0.809 GB, free: 66.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=341): time 0.009633/1.439, allocations: 5.072 MB / 0.814 GB, free: 65.08 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/1.439, allocations: 107.1 kB / 0.8141 GB, free: 64.96 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006377/1.446, allocations: 4.497 MB / 0.8185 GB, free: 61.18 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001989/1.446, allocations: 33.45 kB / 0.8185 GB, free: 61.14 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002627/1.448, allocations: 5.272 MB / 0.8237 GB, free: 56.98 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001076/1.449, allocations: 1.243 MB / 0.8249 GB, free: 55.86 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003031/1.45, allocations: 0 / 0.8249 GB, free: 55.86 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004198/1.45, allocations: 0.7554 MB / 0.8256 GB, free: 55.23 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003381/1.454, allocations: 3.106 MB / 0.8287 GB, free: 52.46 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00615/1.46, allocations: 8.94 MB / 0.8374 GB, free: 41.39 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007252/1.467, allocations: 5.408 MB / 0.8427 GB, free: 37.04 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002412/1.467, allocations: 60 kB / 0.8427 GB, free: 36.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1345) (initialization): time 0.03727/1.505, allocations: 10.85 MB / 0.8533 GB, free: 27.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002317/1.505, allocations: 95.14 kB / 0.8534 GB, free: 27.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004163/1.505, allocations: 208 kB / 0.8536 GB, free: 27.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003487/1.506, allocations: 308.8 kB / 0.8539 GB, free: 26.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009348/1.515, allocations: 2.272 MB / 0.8561 GB, free: 24.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003028/1.515, allocations: 417.7 kB / 0.8565 GB, free: 24.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008377/1.524, allocations: 1.133 MB / 0.8576 GB, free: 23.33 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00214/1.526, allocations: 0.5892 MB / 0.8582 GB, free: 22.75 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 949 * 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 (1249): * Single equations (assignments): 1237 * 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.001829/1.528, allocations: 0.6001 MB / 0.8588 GB, free: 22.14 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004913/1.533, allocations: 4.063 MB / 0.8628 GB, free: 18.49 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005786/1.533, allocations: 469.8 kB / 0.8632 GB, free: 18.02 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00171/1.535, allocations: 0.6284 MB / 0.8638 GB, free: 17.45 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.112e-05/1.535, allocations: 55.55 kB / 0.8639 GB, free: 17.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.895e-05/1.535, allocations: 0 / 0.8639 GB, free: 17.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.133e-05/1.535, allocations: 19.7 kB / 0.8639 GB, free: 17.39 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02085/1.556, allocations: 12.63 MB / 0.8762 GB, free: 6.598 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.752e-05/1.556, allocations: 12 kB / 0.8762 GB, free: 6.586 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00187/1.558, allocations: 462.2 kB / 0.8767 GB, free: 6.211 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.63e-05/1.558, allocations: 27.95 kB / 0.8767 GB, free: 6.184 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001607/1.558, allocations: 24.66 kB / 0.8767 GB, free: 6.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-05/1.558, allocations: 31.58 kB / 0.8768 GB, free: 6.133 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-05/1.558, allocations: 23.94 kB / 0.8768 GB, free: 6.109 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007266/1.566, allocations: 6.676 MB / 0.8833 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00141/1.567, allocations: 0.5548 MB / 0.8838 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008466/1.568, allocations: 19.8 kB / 0.8839 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001941/1.57, allocations: 94.67 kB / 0.8839 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003679/1.57, allocations: 190.8 kB / 0.8841 GB, free: 15.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000217/1.57, allocations: 99.33 kB / 0.8842 GB, free: 15 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006123/1.577, allocations: 2.933 MB / 0.8871 GB, free: 12.49 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.31e-07/1.577, allocations: 0 / 0.8871 GB, free: 12.49 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01028/1.587, allocations: 1.839 MB / 0.8889 GB, free: 10.65 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (245): * Single equations (assignments): 233 * 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.009438/1.596, allocations: 9.945 MB / 0.8986 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.2888/1.885, allocations: 7.438 MB / 0.9059 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.614e-05/1.885, allocations: 6.094 kB / 0.9059 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003206/1.888, allocations: 2.12 MB / 0.9079 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002368/1.891, allocations: 361.4 kB / 0.9083 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03828/1.929, allocations: 15.26 MB / 0.9232 GB, free: 111.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00679/1.936, allocations: 5.578 MB / 0.9286 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.009719/1.946, allocations: 3.963 MB / 0.9325 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007543/1.953, allocations: 3.376 MB / 0.9358 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of SimCode: time 3.687e-06/1.953, allocations: 0 / 0.9358 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2094/2.163, allocations: 105.7 MB / 1.039 GB, free: 48.41 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001868/2.163, allocations: 144.4 kB / 1.039 GB, free: 48.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.986/7.149, allocations: 0 / 1.039 GB, free: 48.2 MB / 0.5105 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) 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