Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_3_2_3_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.001511/0.001511, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.964/1.964, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0008819/0.0008818, allocations: 85.59 kB / 267 MB, free: 9.273 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.4725/0.4725, allocations: 43.47 MB / 358.6 MB, free: 51.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.933e-05/3.935e-05, allocations: 4 kB / 425.4 MB, free: 8.113 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.15, allocations: 58.84 MB / 484.2 MB, free: 13.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4788/0.6288, allocations: 101.3 MB / 0.5719 GB, free: 4.441 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/0.6291, allocations: 77.88 kB / 0.5719 GB, free: 4.406 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1687/0.7979, allocations: 58.79 MB / 0.6293 GB, free: 1.137 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.7979, allocations: 0 / 0.6293 GB, free: 1.137 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001049/0.798, allocations: 48 kB / 0.6294 GB, free: 1.09 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.009822/0.8078, allocations: 2.597 MB / 0.6319 GB, free: 14.63 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.8079, allocations: 12.03 kB / 0.6319 GB, free: 14.62 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001111/0.809, allocations: 491.6 kB / 0.6324 GB, free: 14.3 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00874/0.8178, allocations: 1.983 MB / 0.6343 GB, free: 12.33 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009533/0.8273, allocations: 3.355 MB / 0.6376 GB, free: 9.508 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001863/0.8276, allocations: 187.6 kB / 0.6378 GB, free: 9.379 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00101/0.8286, allocations: 251 kB / 0.638 GB, free: 9.195 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01555/0.8441, allocations: 6.823 MB / 0.6447 GB, free: 1.891 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002103/0.8444, allocations: 51.53 kB / 0.6447 GB, free: 1.84 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009375/0.8454, allocations: 123.9 kB / 0.6449 GB, free: 1.719 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001546/0.8469, allocations: 0.7111 MB / 0.6456 GB, free: 1.012 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01604/0.863, allocations: 5.754 MB / 0.6512 GB, free: 11.26 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04046/0.9035, allocations: 33.7 MB / 0.6841 GB, free: 8.398 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00409/0.9076, allocations: 2.087 MB / 0.6861 GB, free: 6.164 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001347/0.909, allocations: 1.019 MB / 0.6871 GB, free: 5.133 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002494/0.9093, allocations: 178.5 kB / 0.6873 GB, free: 4.922 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.343e-05/0.9093, allocations: 50.94 kB / 0.6873 GB, free: 4.863 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=100): time 3.707e-06/0.9093, allocations: 0 / 0.6873 GB, free: 4.863 MB / 0.4948 GB Notification: Performance of matching and sorting (n=112): time 0.2743/1.184, allocations: 5.16 MB / 0.6924 GB, free: 121.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.408e-05/1.184, allocations: 145 kB / 0.6925 GB, free: 121.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004162/1.188, allocations: 2.561 MB / 0.695 GB, free: 121.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002242/1.188, allocations: 38.98 kB / 0.6951 GB, free: 121.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001394/1.19, allocations: 2.106 MB / 0.6971 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004812/1.19, allocations: 459.3 kB / 0.6976 GB, free: 120.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/1.19, allocations: 83.5 kB / 0.6976 GB, free: 120.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003065/1.191, allocations: 499 kB / 0.6981 GB, free: 120 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002359/1.193, allocations: 1.364 MB / 0.6994 GB, free: 119.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003222/1.196, allocations: 4.202 MB / 0.7035 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002802/1.199, allocations: 2.368 MB / 0.7059 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.724e-05/1.199, allocations: 29.84 kB / 0.7059 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=575) (initialization): time 0.008028/1.207, allocations: 5.359 MB / 0.7111 GB, free: 115.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.99e-05/1.207, allocations: 48.91 kB / 0.7112 GB, free: 115.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-05/1.207, allocations: 106 kB / 0.7113 GB, free: 115.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001435/1.207, allocations: 148.4 kB / 0.7114 GB, free: 115.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003148/1.211, allocations: 1.087 MB / 0.7125 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001279/1.211, allocations: 198.6 kB / 0.7127 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003106/1.214, allocations: 292.2 kB / 0.7129 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003079/1.214, allocations: 279.5 kB / 0.7132 GB, free: 115.6 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.0004662/1.215, allocations: 447.8 kB / 0.7136 GB, free: 115.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003084/1.215, allocations: 240.1 kB / 0.7139 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001784/1.217, allocations: 1.223 MB / 0.7151 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.148e-05/1.217, allocations: 13.23 kB / 0.7151 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/1.217, allocations: 0.6875 kB / 0.7151 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/1.217, allocations: 6.797 kB / 0.7151 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006446/1.223, allocations: 4.414 MB / 0.7194 GB, free: 114.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/1.223, allocations: 3.312 kB / 0.7194 GB, free: 114.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008998/1.224, allocations: 209.5 kB / 0.7196 GB, free: 114.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.439e-05/1.224, allocations: 9.844 kB / 0.7196 GB, free: 114.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.917e-05/1.224, allocations: 29.14 kB / 0.7196 GB, free: 114.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.727e-06/1.224, allocations: 14.34 kB / 0.7196 GB, free: 114.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/1.224, allocations: 6.594 kB / 0.7196 GB, free: 114.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002143/1.226, allocations: 2.574 MB / 0.7222 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009362/1.227, allocations: 467.1 kB / 0.7226 GB, free: 113.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002275/1.228, allocations: 19.84 kB / 0.7226 GB, free: 113.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000956/1.229, allocations: 82.41 kB / 0.7227 GB, free: 113.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/1.229, allocations: 64.86 kB / 0.7228 GB, free: 113.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.128e-05/1.229, allocations: 36.25 kB / 0.7228 GB, free: 113.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002262/1.231, allocations: 1.785 MB / 0.7245 GB, free: 113 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.71e-07/1.231, allocations: 0 / 0.7245 GB, free: 113 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003791/1.235, allocations: 0.6352 MB / 0.7252 GB, free: 113 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.002861/1.238, allocations: 4.368 MB / 0.7294 GB, free: 110.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00536/1.243, allocations: 3.158 MB / 0.7325 GB, free: 109.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.175e-05/1.243, allocations: 4.438 kB / 0.7325 GB, free: 109.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001122/1.244, allocations: 0.7701 MB / 0.7333 GB, free: 108.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001792/1.246, allocations: 257.9 kB / 0.7335 GB, free: 108.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01525/1.261, allocations: 5.477 MB / 0.7389 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001822/1.263, allocations: 2.265 MB / 0.7411 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003464/1.267, allocations: 1.462 MB / 0.7425 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00132/1.268, allocations: 1.089 MB / 0.7436 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of SimCode: time 1.102e-06/1.268, allocations: 0 / 0.7436 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1087/1.377, allocations: 48.61 MB / 0.791 GB, free: 91.76 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/1.377, allocations: 141.1 kB / 0.7912 GB, free: 91.54 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.614/4.991, allocations: 3.938 kB / 0.7912 GB, free: 91.53 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_TestMove_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove_res.mat does not exist to compare? outputFormat=mat