Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000934/0.0009339, allocations: 94.92 kB / 292.1 MB, free: 10.89 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4041/0.4041, allocations: 44.22 MB / 387.5 MB, free: 38.81 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004936/0.0004936, allocations: 8 kB / 460 MB, free: 1.426 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4386/0.4392, allocations: 61.9 MB / 0.5096 GB, free: 38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1562/0.5955, allocations: 103.1 MB / 0.6103 GB, free: 7.961 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/0.5958, allocations: 75.94 kB / 0.6104 GB, free: 7.891 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1585/0.7543, allocations: 59.46 MB / 0.6684 GB, free: 11.97 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.7544, allocations: 0 / 0.6684 GB, free: 11.97 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.874e-05/0.7545, allocations: 44 kB / 0.6685 GB, free: 11.93 MB / 490.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.006586/0.7611, allocations: 2.724 MB / 0.6711 GB, free: 9.141 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.703e-05/0.7612, allocations: 8.031 kB / 0.6712 GB, free: 9.133 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00104/0.7622, allocations: 494.3 kB / 0.6716 GB, free: 8.641 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008056/0.7703, allocations: 1.981 MB / 0.6736 GB, free: 6.652 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009652/0.78, allocations: 3.236 MB / 0.6767 GB, free: 3.363 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001996/0.7802, allocations: 184.8 kB / 0.6769 GB, free: 3.18 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007078/0.7809, allocations: 247.8 kB / 0.6771 GB, free: 2.938 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3187/1.1, allocations: 6.893 MB / 0.6839 GB, free: 99.57 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001251/1.1, allocations: 49.41 kB / 0.6839 GB, free: 99.57 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005162/1.1, allocations: 124.1 kB / 0.684 GB, free: 99.57 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001247/1.102, allocations: 0.7178 MB / 0.6847 GB, free: 99.56 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01528/1.117, allocations: 5.896 MB / 0.6905 GB, free: 99.54 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04318/1.16, allocations: 33.67 MB / 0.7234 GB, free: 75.66 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005743/1.166, allocations: 2.106 MB / 0.7254 GB, free: 74.57 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002792/1.166, allocations: 187 kB / 0.7256 GB, free: 74.38 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/1.166, allocations: 41.89 kB / 0.7256 GB, free: 74.33 MB / 490.7 MB Notification: Performance of pre-optimization done (n=100): time 6.842e-06/1.166, allocations: 0 / 0.7256 GB, free: 74.33 MB / 490.7 MB Notification: Performance of matching and sorting (n=112): time 0.02264/1.189, allocations: 6.322 MB / 0.7318 GB, free: 71.65 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.011e-05/1.189, allocations: 149.8 kB / 0.732 GB, free: 71.49 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007399/1.197, allocations: 2.603 MB / 0.7345 GB, free: 70.59 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003491/1.197, allocations: 41.2 kB / 0.7345 GB, free: 70.55 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002399/1.199, allocations: 2.105 MB / 0.7366 GB, free: 69.07 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008521/1.2, allocations: 455.8 kB / 0.737 GB, free: 68.75 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00033/1.201, allocations: 90.19 kB / 0.7371 GB, free: 68.68 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003655/1.201, allocations: 499.6 kB / 0.7376 GB, free: 68.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004132/1.205, allocations: 1.416 MB / 0.739 GB, free: 67.88 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006776/1.212, allocations: 4.261 MB / 0.7431 GB, free: 63.55 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00683/1.219, allocations: 2.41 MB / 0.7455 GB, free: 62.61 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002096/1.219, allocations: 29.12 kB / 0.7455 GB, free: 62.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=575) (initialization): time 0.01529/1.234, allocations: 5.47 MB / 0.7509 GB, free: 60.54 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001095/1.235, allocations: 47.94 kB / 0.7509 GB, free: 60.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001789/1.235, allocations: 106.8 kB / 0.751 GB, free: 60.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001846/1.235, allocations: 149.8 kB / 0.7512 GB, free: 60.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005637/1.241, allocations: 1.088 MB / 0.7522 GB, free: 60.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001782/1.241, allocations: 197.2 kB / 0.7524 GB, free: 60.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006291/1.247, allocations: 294.5 kB / 0.7527 GB, free: 60.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008716/1.248, allocations: 285.4 kB / 0.753 GB, free: 60.24 MB / 490.7 MB 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 () * Number of clocked 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.003225/1.251, allocations: 1.375 MB / 0.7543 GB, free: 59.56 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000787/1.252, allocations: 241.1 kB / 0.7545 GB, free: 59.43 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002804/1.255, allocations: 1.227 MB / 0.7557 GB, free: 58.94 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.325e-05/1.255, allocations: 14.58 kB / 0.7557 GB, free: 58.94 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.564e-05/1.255, allocations: 0 / 0.7557 GB, free: 58.94 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/1.255, allocations: 6.844 kB / 0.7557 GB, free: 58.94 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.011/1.266, allocations: 4.407 MB / 0.76 GB, free: 57.19 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.066e-05/1.266, allocations: 6.844 kB / 0.7601 GB, free: 57.19 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001523/1.268, allocations: 217.7 kB / 0.7603 GB, free: 57.17 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.956e-05/1.268, allocations: 14.34 kB / 0.7603 GB, free: 57.16 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001151/1.268, allocations: 21.66 kB / 0.7603 GB, free: 57.15 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.351e-05/1.268, allocations: 14.44 kB / 0.7603 GB, free: 57.15 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/1.268, allocations: 7.469 kB / 0.7603 GB, free: 57.15 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003703/1.272, allocations: 2.588 MB / 0.7628 GB, free: 55.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009409/1.273, allocations: 321.9 kB / 0.7632 GB, free: 55.24 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004025/1.273, allocations: 22.84 kB / 0.7632 GB, free: 55.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001643/1.275, allocations: 69.62 kB / 0.7632 GB, free: 55.22 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001861/1.275, allocations: 69.95 kB / 0.7633 GB, free: 55.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001268/1.275, allocations: 40.77 kB / 0.7633 GB, free: 55.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004276/1.279, allocations: 1.835 MB / 0.7651 GB, free: 54.57 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.7e-07/1.279, allocations: 0 / 0.7651 GB, free: 54.57 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00592/1.285, allocations: 0.6337 MB / 0.7658 GB, free: 54.48 MB / 490.7 MB 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 () * Number of clocked 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.004137/1.289, allocations: 4.371 MB / 0.77 GB, free: 51.13 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007707/1.297, allocations: 3.226 MB / 0.7732 GB, free: 50.08 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.667e-05/1.297, allocations: 0.875 kB / 0.7732 GB, free: 50.08 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001603/1.299, allocations: 0.7846 MB / 0.7739 GB, free: 49.83 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00281/1.302, allocations: 254 kB / 0.7742 GB, free: 49.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07862/1.38, allocations: 91.01 MB / 0.8631 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003426/1.384, allocations: 2.264 MB / 0.8653 GB, free: 9.352 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006015/1.39, allocations: 1.46 MB / 0.8667 GB, free: 8.434 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002692/1.393, allocations: 1.085 MB / 0.8678 GB, free: 7.434 MB / 0.5261 GB Notification: Performance of SimCode: time 9.02e-07/1.393, allocations: 0 / 0.8678 GB, free: 7.434 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3919/1.784, allocations: 48.45 MB / 0.9151 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001267/1.785, allocations: 166.2 kB / 0.9152 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.587/5.372, allocations: 0 / 0.9152 GB, free: 140.1 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_TestMove_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove_res.mat does not exist to compare? outputFormat=mat