Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001536/0.001536, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.502/1.502, allocations: 227.2 MB / 245 MB, free: 7.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001254/0.001254, allocations: 97.62 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4528/0.4528, allocations: 45.22 MB / 394.6 MB, free: 31.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003881/0.0003879, allocations: 8.219 kB / 468.5 MB, free: 7.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4292/0.4296, allocations: 63.24 MB / 0.5193 GB, free: 43.6 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1524/0.5821, allocations: 104 MB / 0.6208 GB, free: 1.629 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/0.5824, allocations: 80.56 kB / 0.6209 GB, free: 1.555 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1605/0.7429, allocations: 60.23 MB / 0.6797 GB, free: 4.906 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.06e-06/0.743, allocations: 4 kB / 0.6797 GB, free: 4.902 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001017/0.7431, allocations: 52 kB / 0.6798 GB, free: 4.852 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.00731/0.7504, allocations: 2.739 MB / 0.6824 GB, free: 2.051 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.7505, allocations: 12.03 kB / 0.6824 GB, free: 2.039 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001281/0.7518, allocations: 490.3 kB / 0.6829 GB, free: 1.551 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008048/0.7598, allocations: 1.985 MB / 0.6848 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008257/0.7681, allocations: 2.717 MB / 0.6875 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001665/0.7683, allocations: 192.8 kB / 0.6877 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006261/0.769, allocations: 247.8 kB / 0.6879 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01063/0.7796, allocations: 6.902 MB / 0.6947 GB, free: 4.648 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.538e-05/0.7797, allocations: 43.62 kB / 0.6947 GB, free: 4.605 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003339/0.7801, allocations: 123.9 kB / 0.6948 GB, free: 4.484 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009207/0.781, allocations: 0.7189 MB / 0.6955 GB, free: 3.77 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3617/1.143, allocations: 5.887 MB / 0.7013 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03616/1.179, allocations: 33.67 MB / 0.7341 GB, free: 82.43 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00388/1.183, allocations: 2.099 MB / 0.7362 GB, free: 81.76 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001638/1.183, allocations: 180.9 kB / 0.7364 GB, free: 81.57 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/1.183, allocations: 47.69 kB / 0.7364 GB, free: 81.54 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=100): time 3.817e-06/1.183, allocations: 4.938 kB / 0.7364 GB, free: 81.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=112): time 0.01293/1.196, allocations: 6.327 MB / 0.7426 GB, free: 79.79 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.865e-05/1.196, allocations: 140.5 kB / 0.7427 GB, free: 79.63 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003784/1.2, allocations: 2.608 MB / 0.7453 GB, free: 79.36 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.629e-05/1.2, allocations: 43.98 kB / 0.7453 GB, free: 79.32 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001427/1.201, allocations: 2.107 MB / 0.7474 GB, free: 78.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004019/1.202, allocations: 456.1 kB / 0.7478 GB, free: 77.79 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001603/1.202, allocations: 90.22 kB / 0.7479 GB, free: 77.72 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002456/1.202, allocations: 497.8 kB / 0.7484 GB, free: 77.34 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002272/1.205, allocations: 1.414 MB / 0.7498 GB, free: 76.91 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004454/1.209, allocations: 4.262 MB / 0.7539 GB, free: 72.64 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004247/1.213, allocations: 2.412 MB / 0.7563 GB, free: 71.82 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.311e-05/1.213, allocations: 29.19 kB / 0.7563 GB, free: 71.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=575) (initialization): time 0.01288/1.226, allocations: 5.473 MB / 0.7616 GB, free: 69.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001128/1.226, allocations: 49.39 kB / 0.7617 GB, free: 69.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002287/1.227, allocations: 101 kB / 0.7618 GB, free: 69.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002354/1.227, allocations: 148.6 kB / 0.7619 GB, free: 69.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003733/1.231, allocations: 1.084 MB / 0.763 GB, free: 69.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002482/1.231, allocations: 198.6 kB / 0.7632 GB, free: 69.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004051/1.235, allocations: 288.8 kB / 0.7635 GB, free: 69.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006263/1.236, allocations: 283.9 kB / 0.7637 GB, free: 69.46 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 () * 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.003285/1.239, allocations: 1.387 MB / 0.7651 GB, free: 68.77 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008777/1.24, allocations: 242.1 kB / 0.7653 GB, free: 68.64 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002965/1.243, allocations: 1.223 MB / 0.7665 GB, free: 68.16 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.323e-05/1.243, allocations: 14.47 kB / 0.7665 GB, free: 68.16 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.779e-05/1.243, allocations: 2.125 kB / 0.7665 GB, free: 68.16 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.769e-05/1.243, allocations: 4.922 kB / 0.7665 GB, free: 68.16 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009806/1.253, allocations: 4.421 MB / 0.7708 GB, free: 66.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.719e-05/1.253, allocations: 3.562 kB / 0.7708 GB, free: 66.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/1.254, allocations: 213.7 kB / 0.771 GB, free: 66.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.248e-05/1.254, allocations: 10.95 kB / 0.7711 GB, free: 66.38 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.273e-05/1.254, allocations: 23.34 kB / 0.7711 GB, free: 66.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.555e-05/1.254, allocations: 18.25 kB / 0.7711 GB, free: 66.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/1.254, allocations: 7.406 kB / 0.7711 GB, free: 66.36 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003378/1.257, allocations: 2.584 MB / 0.7736 GB, free: 64.71 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00106/1.258, allocations: 316.7 kB / 0.7739 GB, free: 64.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002715/1.259, allocations: 23.06 kB / 0.774 GB, free: 64.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/1.26, allocations: 74.64 kB / 0.774 GB, free: 64.44 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001645/1.26, allocations: 69.58 kB / 0.7741 GB, free: 64.42 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/1.26, allocations: 35.34 kB / 0.7741 GB, free: 64.41 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003289/1.263, allocations: 1.836 MB / 0.7759 GB, free: 63.79 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2e-07/1.263, allocations: 3.938 kB / 0.7759 GB, free: 63.78 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004606/1.268, allocations: 0.6414 MB / 0.7765 GB, free: 63.7 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 () * 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.00332/1.271, allocations: 4.377 MB / 0.7808 GB, free: 60.34 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00562/1.277, allocations: 3.223 MB / 0.784 GB, free: 59.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/1.277, allocations: 1.719 kB / 0.784 GB, free: 59.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009633/1.278, allocations: 0.7762 MB / 0.7847 GB, free: 59.05 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001673/1.28, allocations: 252 kB / 0.785 GB, free: 58.93 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05951/1.339, allocations: 90.92 MB / 0.8738 GB, free: 6.77 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002073/1.341, allocations: 2.264 MB / 0.876 GB, free: 5.738 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003517/1.345, allocations: 1.466 MB / 0.8774 GB, free: 5.625 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001379/1.346, allocations: 1.08 MB / 0.8785 GB, free: 4.781 MB / 0.5261 GB Notification: Performance of SimCode: time 1.783e-06/1.346, allocations: 4 kB / 0.8785 GB, free: 4.777 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3667/1.713, allocations: 48.49 MB / 0.9258 GB, free: 141.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001324/1.713, allocations: 160.1 kB / 0.926 GB, free: 141.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.249/4.962, allocations: 0 / 0.926 GB, free: 141.4 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.TestMove_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_TestMove_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Rotational.TestMove_res.mat does not exist to compare? outputFormat=mat