Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.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.Rotational.TestMove,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_TestMove",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.00239/0.002391, allocations: 181.1 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.104/2.104, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001104/0.001103, allocations: 86.64 kB / 267.5 MB, free: 14.11 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.2967/0.2967, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.572e-05/3.586e-05, allocations: 4 kB / 425.4 MB, free: 23.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1366, allocations: 58.85 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.514/0.6507, allocations: 101.3 MB / 0.5719 GB, free: 2.039 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/0.651, allocations: 75.75 kB / 0.5719 GB, free: 2.008 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2625/0.9135, allocations: 58.78 MB / 0.6293 GB, free: 14.68 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.18e-06/0.9136, allocations: 4 kB / 0.6293 GB, free: 14.68 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001207/0.9137, allocations: 52 kB / 0.6294 GB, free: 14.63 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.009233/0.9229, allocations: 2.595 MB / 0.6319 GB, free: 12.17 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.812e-05/0.923, allocations: 12.03 kB / 0.6319 GB, free: 12.16 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001657/0.9247, allocations: 491.4 kB / 0.6324 GB, free: 11.84 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01603/0.9407, allocations: 1.983 MB / 0.6343 GB, free: 9.867 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01414/0.9549, allocations: 3.351 MB / 0.6376 GB, free: 6.957 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00025/0.9552, allocations: 184.8 kB / 0.6378 GB, free: 6.773 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00124/0.9565, allocations: 243.9 kB / 0.638 GB, free: 6.535 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01842/0.9749, allocations: 6.826 MB / 0.6447 GB, free: 14.89 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001525/0.9751, allocations: 55.5 kB / 0.6447 GB, free: 14.84 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006472/0.9758, allocations: 127.9 kB / 0.6448 GB, free: 14.71 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001691/0.9775, allocations: 0.715 MB / 0.6455 GB, free: 14 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01764/0.9952, allocations: 5.744 MB / 0.6512 GB, free: 8.254 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05377/1.049, allocations: 33.7 MB / 0.6841 GB, free: 5.375 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007208/1.056, allocations: 2.087 MB / 0.6861 GB, free: 3.141 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002534/1.059, allocations: 1.023 MB / 0.6871 GB, free: 2.105 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003268/1.059, allocations: 178.5 kB / 0.6873 GB, free: 1.895 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.783e-05/1.059, allocations: 38.89 kB / 0.6873 GB, free: 1.848 MB / 490.7 MB Notification: Performance of pre-optimization done (n=100): time 8.756e-06/1.059, allocations: 4 kB / 0.6873 GB, free: 1.844 MB / 490.7 MB Notification: Performance of matching and sorting (n=112): time 0.02308/1.082, allocations: 5.168 MB / 0.6924 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/1.083, allocations: 137 kB / 0.6925 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006831/1.089, allocations: 2.569 MB / 0.695 GB, free: 9.898 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003075/1.09, allocations: 41.7 kB / 0.695 GB, free: 9.852 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002676/1.092, allocations: 2.097 MB / 0.6971 GB, free: 7.727 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009184/1.093, allocations: 450.4 kB / 0.6975 GB, free: 7.281 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005843/1.094, allocations: 88 kB / 0.6976 GB, free: 7.195 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004486/1.094, allocations: 0.4928 MB / 0.6981 GB, free: 6.691 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003984/1.098, allocations: 1.356 MB / 0.6994 GB, free: 5.328 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3461/1.445, allocations: 4.193 MB / 0.7035 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006338/1.451, allocations: 2.381 MB / 0.7058 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001106/1.451, allocations: 28.97 kB / 0.7059 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=575) (initialization): time 0.01541/1.467, allocations: 5.281 MB / 0.711 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001143/1.467, allocations: 48.19 kB / 0.7111 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002066/1.467, allocations: 106.2 kB / 0.7112 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002651/1.467, allocations: 150.7 kB / 0.7113 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007715/1.475, allocations: 1.082 MB / 0.7124 GB, free: 136.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003384/1.475, allocations: 201 kB / 0.7126 GB, free: 136.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005516/1.481, allocations: 291.3 kB / 0.7128 GB, free: 136.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001124/1.482, allocations: 280.2 kB / 0.7131 GB, free: 136.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 464 * Number of states: 0 () * Number of discrete variables: 18 (world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (551): * Single equations (assignments): 548 * Array equations: 3 * 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.0009704/1.483, allocations: 451.1 kB / 0.7135 GB, free: 136.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006781/1.484, allocations: 242.7 kB / 0.7138 GB, free: 136.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003287/1.487, allocations: 1.216 MB / 0.7149 GB, free: 136.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.439e-05/1.487, allocations: 13.77 kB / 0.715 GB, free: 136.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/1.487, allocations: 1.922 kB / 0.715 GB, free: 136.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.119e-05/1.487, allocations: 5.266 kB / 0.715 GB, free: 136.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01324/1.501, allocations: 4.404 MB / 0.7193 GB, free: 135.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.177e-05/1.501, allocations: 9.156 kB / 0.7193 GB, free: 135.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00203/1.503, allocations: 212.3 kB / 0.7195 GB, free: 135.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.256e-05/1.503, allocations: 8.984 kB / 0.7195 GB, free: 135.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001239/1.503, allocations: 28.89 kB / 0.7195 GB, free: 135.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-05/1.503, allocations: 11.95 kB / 0.7195 GB, free: 135.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/1.503, allocations: 6.312 kB / 0.7195 GB, free: 135.9 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003956/1.507, allocations: 2.574 MB / 0.722 GB, free: 134.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001365/1.508, allocations: 466.3 kB / 0.7225 GB, free: 134.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004544/1.509, allocations: 29.28 kB / 0.7225 GB, free: 134.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001798/1.51, allocations: 77.53 kB / 0.7226 GB, free: 134.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002092/1.511, allocations: 71.67 kB / 0.7227 GB, free: 134.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001196/1.511, allocations: 34.94 kB / 0.7227 GB, free: 134.6 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004232/1.515, allocations: 1.789 MB / 0.7244 GB, free: 134.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.42e-07/1.515, allocations: 3.609 kB / 0.7244 GB, free: 134.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004929/1.52, allocations: 0.6306 MB / 0.7251 GB, free: 134.4 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 87 * Array equations: 3 * 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.004588/1.525, allocations: 4.36 MB / 0.7293 GB, free: 131.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007116/1.532, allocations: 3.167 MB / 0.7324 GB, free: 131.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.799e-06/1.532, allocations: 0 / 0.7324 GB, free: 131.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001647/1.534, allocations: 0.7762 MB / 0.7332 GB, free: 131.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002158/1.536, allocations: 253.3 kB / 0.7334 GB, free: 131.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01897/1.555, allocations: 5.761 MB / 0.739 GB, free: 129.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003839/1.559, allocations: 2.265 MB / 0.7412 GB, free: 128.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00297/1.562, allocations: 1.121 MB / 0.7423 GB, free: 127.5 MB / 0.4948 GB Notification: Performance of SimCode: time 1.373e-06/1.562, allocations: 0 / 0.7423 GB, free: 127.5 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.669/5.231, allocations: 52.19 MB / 0.7933 GB, free: 97.24 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_TestMove_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove_res.mat does not exist to compare? outputFormat=mat