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.001524/0.001524, allocations: 201.1 kB / 8.766 MB, free: 324 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 225.6 MB / 234.8 MB, free: 3.254 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001021/0.001021, allocations: 91.19 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2077/0.2077, allocations: 45.14 MB / 383.7 MB, free: 272 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.523e-05/1.526e-05, allocations: 4 kB / 453.3 MB, free: 75.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1141, allocations: 63.24 MB / 0.5044 GB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4373/0.5515, allocations: 103.2 MB / 0.6053 GB, free: 15.25 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.5518, allocations: 74.31 kB / 0.6053 GB, free: 15.22 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1476/0.6994, allocations: 59.41 MB / 0.6633 GB, free: 12.23 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.6995, allocations: 0 / 0.6633 GB, free: 12.23 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.989e-05/0.6996, allocations: 48 kB / 0.6634 GB, free: 12.18 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.005208/0.7048, allocations: 2.619 MB / 0.666 GB, free: 9.574 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.7048, allocations: 12.03 kB / 0.666 GB, free: 9.562 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008203/0.713, allocations: 1.978 MB / 0.6679 GB, free: 7.578 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007256/0.7203, allocations: 2.701 MB / 0.6705 GB, free: 4.828 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.7205, allocations: 76 kB / 0.6706 GB, free: 4.754 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006623/0.7211, allocations: 140 kB / 0.6707 GB, free: 4.617 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005893/0.727, allocations: 3.96 MB / 0.6746 GB, free: 0.6523 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008513/0.7356, allocations: 6.263 MB / 0.6807 GB, free: 9.594 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001136/0.7357, allocations: 47.53 kB / 0.6808 GB, free: 9.547 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003047/0.736, allocations: 27.95 kB / 0.6808 GB, free: 9.52 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001024/0.7371, allocations: 0.7189 MB / 0.6815 GB, free: 8.801 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03198/0.7691, allocations: 32.23 MB / 0.713 GB, free: 7.547 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002372/0.7715, allocations: 1.944 MB / 0.7149 GB, free: 5.449 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001173/0.7727, allocations: 0.993 MB / 0.7158 GB, free: 4.445 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002093/0.7729, allocations: 178.5 kB / 0.716 GB, free: 4.234 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.7729, allocations: 46.83 kB / 0.7161 GB, free: 4.18 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=100): time 3.807e-06/0.773, allocations: 0 / 0.7161 GB, free: 4.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=112): time 0.01152/0.7845, allocations: 6.24 MB / 0.7221 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.763e-05/0.7846, allocations: 137 kB / 0.7223 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003636/0.7883, allocations: 2.18 MB / 0.7244 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001971/0.7885, allocations: 25.7 kB / 0.7244 GB, free: 11.51 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001497/0.79, allocations: 2.171 MB / 0.7266 GB, free: 9.305 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004762/0.7905, allocations: 446.4 kB / 0.727 GB, free: 8.863 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.7906, allocations: 0 / 0.727 GB, free: 8.863 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003582/0.791, allocations: 0.5439 MB / 0.7275 GB, free: 8.309 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001817/0.7928, allocations: 1.313 MB / 0.7288 GB, free: 6.988 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003738/0.7966, allocations: 4.268 MB / 0.733 GB, free: 1.211 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003277/0.7999, allocations: 2.359 MB / 0.7353 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.791e-05/0.7999, allocations: 32 kB / 0.7353 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=599) (initialization): time 0.008127/0.8081, allocations: 4.879 MB / 0.7401 GB, free: 9.938 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.975e-05/0.8082, allocations: 48 kB / 0.7401 GB, free: 9.891 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001228/0.8083, allocations: 108.8 kB / 0.7402 GB, free: 9.785 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000157/0.8085, allocations: 156 kB / 0.7404 GB, free: 9.633 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0038/0.8123, allocations: 1.131 MB / 0.7415 GB, free: 8.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001531/0.8125, allocations: 215.1 kB / 0.7417 GB, free: 8.289 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003207/0.8157, allocations: 207.5 kB / 0.7419 GB, free: 8.086 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006036/0.8163, allocations: 296 kB / 0.7421 GB, free: 7.797 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 488 * 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 (575): * Single equations (assignments): 572 * 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.0006167/0.8169, allocations: 352.6 kB / 0.7425 GB, free: 7.441 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002529/0.8195, allocations: 1.56 MB / 0.744 GB, free: 5.875 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003594/0.8198, allocations: 217.2 kB / 0.7442 GB, free: 5.66 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001904/0.8218, allocations: 1.145 MB / 0.7453 GB, free: 4.508 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.586e-05/0.8218, allocations: 16 kB / 0.7453 GB, free: 4.492 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.8218, allocations: 0 / 0.7453 GB, free: 4.492 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.8218, allocations: 3.984 kB / 0.7453 GB, free: 4.488 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007103/0.8289, allocations: 3.898 MB / 0.7492 GB, free: 480 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/0.829, allocations: 4 kB / 0.7492 GB, free: 476 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/0.83, allocations: 219.6 kB / 0.7494 GB, free: 256 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.701e-05/0.83, allocations: 8 kB / 0.7494 GB, free: 248 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.512e-05/0.8301, allocations: 8 kB / 0.7494 GB, free: 240 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.025e-05/0.8301, allocations: 8 kB / 0.7494 GB, free: 232 kB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.177e-06/0.8301, allocations: 11.94 kB / 0.7494 GB, free: 220 kB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2786/1.109, allocations: 2.414 MB / 0.7518 GB, free: 150.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004394/1.109, allocations: 282 kB / 0.752 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002127/1.109, allocations: 8.828 kB / 0.752 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009196/1.11, allocations: 62.44 kB / 0.7521 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/1.111, allocations: 67.81 kB / 0.7522 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.473e-05/1.111, allocations: 37.16 kB / 0.7522 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00232/1.113, allocations: 1.429 MB / 0.7536 GB, free: 150.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.31e-07/1.113, allocations: 0 / 0.7536 GB, free: 150.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003424/1.116, allocations: 0.5439 MB / 0.7541 GB, free: 150.7 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.003086/1.119, allocations: 4.28 MB / 0.7583 GB, free: 148 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004617/1.124, allocations: 3.006 MB / 0.7612 GB, free: 148 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/1.124, allocations: 4.031 kB / 0.7612 GB, free: 148 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00103/1.125, allocations: 0.7469 MB / 0.762 GB, free: 148 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/1.126, allocations: 205.1 kB / 0.7622 GB, free: 148 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01129/1.138, allocations: 5.292 MB / 0.7673 GB, free: 146.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002421/1.14, allocations: 2.268 MB / 0.7696 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003636/1.144, allocations: 1.502 MB / 0.771 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001362/1.145, allocations: 1.069 MB / 0.7721 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of SimCode: time 1.122e-06/1.145, allocations: 0 / 0.7721 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07151/1.217, allocations: 44.36 MB / 0.8154 GB, free: 135.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001463/1.217, allocations: 128.5 kB / 0.8155 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.081/4.298, allocations: 0 / 0.8155 GB, free: 134.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