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.001076/0.001076, allocations: 196.9 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.317/1.317, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009916/0.0009917, allocations: 85.69 kB / 292.1 MB, free: 5.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1958/0.1958, allocations: 45.14 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.091e-05/3.113e-05, allocations: 4 kB / 460.5 MB, free: 69.94 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09297/0.09302, allocations: 63.24 MB / 0.5114 GB, free: 6.719 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3857/0.4787, allocations: 103.9 MB / 0.6129 GB, free: 6.172 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002071/0.479, allocations: 70.78 kB / 0.613 GB, free: 6.141 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1552/0.6342, allocations: 60.26 MB / 0.6718 GB, free: 1.574 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.6342, allocations: 0 / 0.6718 GB, free: 1.574 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001195/0.6343, allocations: 48 kB / 0.6719 GB, free: 1.527 MB / 458.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.006857/0.6412, allocations: 2.625 MB / 0.6744 GB, free: 15.04 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.6413, allocations: 15.95 kB / 0.6745 GB, free: 15.03 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001465/0.6427, allocations: 491.2 kB / 0.6749 GB, free: 14.71 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008914/0.6517, allocations: 1.979 MB / 0.6769 GB, free: 12.74 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007521/0.6592, allocations: 2.698 MB / 0.6795 GB, free: 10.03 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002268/0.6595, allocations: 188.8 kB / 0.6797 GB, free: 9.84 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001223/0.6607, allocations: 239.9 kB / 0.6799 GB, free: 9.605 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0134/0.6741, allocations: 6.819 MB / 0.6866 GB, free: 1.973 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001382/0.6743, allocations: 51.47 kB / 0.6866 GB, free: 1.922 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007617/0.6751, allocations: 127.9 kB / 0.6867 GB, free: 1.797 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001129/0.6762, allocations: 0.7189 MB / 0.6874 GB, free: 1.082 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01024/0.6865, allocations: 5.752 MB / 0.6931 GB, free: 11.32 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03412/0.7206, allocations: 33.68 MB / 0.7259 GB, free: 8.473 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004169/0.7248, allocations: 2.09 MB / 0.728 GB, free: 6.234 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001295/0.7261, allocations: 1.011 MB / 0.729 GB, free: 5.211 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002017/0.7264, allocations: 178.5 kB / 0.7291 GB, free: 5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.7264, allocations: 46.83 kB / 0.7292 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=100): time 4.488e-06/0.7264, allocations: 0 / 0.7292 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of matching and sorting (n=112): time 0.01173/0.7381, allocations: 5.108 MB / 0.7342 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.467e-05/0.7383, allocations: 145 kB / 0.7343 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003465/0.7417, allocations: 2.548 MB / 0.7368 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.6e-05/0.7418, allocations: 41.7 kB / 0.7368 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001365/0.7432, allocations: 2.106 MB / 0.7389 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003735/0.7436, allocations: 462.2 kB / 0.7393 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.7437, allocations: 84 kB / 0.7394 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000313/0.7441, allocations: 495.8 kB / 0.7399 GB, free: 9.859 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00197/0.746, allocations: 1.356 MB / 0.7412 GB, free: 8.496 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003684/0.7497, allocations: 4.207 MB / 0.7453 GB, free: 2.844 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003038/0.7528, allocations: 2.373 MB / 0.7476 GB, free: 476 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.061e-05/0.7528, allocations: 32 kB / 0.7477 GB, free: 444 kB / 0.5261 GB Notification: Performance of matching and sorting (n=575) (initialization): time 0.2941/1.047, allocations: 5.344 MB / 0.7529 GB, free: 148.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.144e-05/1.047, allocations: 48.12 kB / 0.7529 GB, free: 148.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001425/1.047, allocations: 106.8 kB / 0.753 GB, free: 148.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002325/1.047, allocations: 147.8 kB / 0.7532 GB, free: 148.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003374/1.051, allocations: 1.08 MB / 0.7542 GB, free: 148.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001968/1.051, allocations: 203.4 kB / 0.7544 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002986/1.054, allocations: 288.2 kB / 0.7547 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003646/1.054, allocations: 279.8 kB / 0.755 GB, free: 148.5 MB / 0.5261 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.000427/1.055, allocations: 458.2 kB / 0.7554 GB, free: 148.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003071/1.055, allocations: 245.6 kB / 0.7556 GB, free: 148.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002005/1.057, allocations: 1.212 MB / 0.7568 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.651e-05/1.057, allocations: 13.75 kB / 0.7568 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/1.057, allocations: 2.188 kB / 0.7568 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/1.057, allocations: 5.438 kB / 0.7568 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00774/1.065, allocations: 4.401 MB / 0.7611 GB, free: 147.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.719e-06/1.065, allocations: 4.438 kB / 0.7611 GB, free: 147.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/1.066, allocations: 208.5 kB / 0.7613 GB, free: 147.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.671e-05/1.066, allocations: 9.016 kB / 0.7614 GB, free: 147.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.589e-05/1.066, allocations: 26.22 kB / 0.7614 GB, free: 147.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-05/1.066, allocations: 12.59 kB / 0.7614 GB, free: 147.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/1.066, allocations: 5.75 kB / 0.7614 GB, free: 147.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002686/1.069, allocations: 2.57 MB / 0.7639 GB, free: 146.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005539/1.069, allocations: 314.7 kB / 0.7642 GB, free: 146.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002336/1.07, allocations: 29.56 kB / 0.7642 GB, free: 146.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009961/1.071, allocations: 78.45 kB / 0.7643 GB, free: 146.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/1.071, allocations: 66.78 kB / 0.7644 GB, free: 146.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.612e-05/1.071, allocations: 34.75 kB / 0.7644 GB, free: 146.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002746/1.074, allocations: 1.779 MB / 0.7661 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.9e-07/1.074, allocations: 0 / 0.7661 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003342/1.077, allocations: 0.6422 MB / 0.7668 GB, free: 146.1 MB / 0.5261 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.002572/1.08, allocations: 4.361 MB / 0.771 GB, free: 143.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004146/1.084, allocations: 3.178 MB / 0.7741 GB, free: 143 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.084, allocations: 0 / 0.7741 GB, free: 143 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007683/1.085, allocations: 0.771 MB / 0.7749 GB, free: 143 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009522/1.086, allocations: 248.2 kB / 0.7751 GB, free: 143 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008589/1.094, allocations: 5.461 MB / 0.7805 GB, free: 141.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001592/1.096, allocations: 2.263 MB / 0.7827 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002917/1.099, allocations: 1.469 MB / 0.7841 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001249/1.1, allocations: 1.079 MB / 0.7852 GB, free: 140 MB / 0.5261 GB Notification: Performance of SimCode: time 1.412e-06/1.1, allocations: 0 / 0.7852 GB, free: 140 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06268/1.163, allocations: 48.51 MB / 0.8325 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001428/1.163, allocations: 145.2 kB / 0.8327 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.201/4.364, allocations: 7.938 kB / 0.8327 GB, free: 114.9 MB / 0.5261 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