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.0009103/0.0009106, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.773/1.773, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008812/0.0008814, allocations: 94.28 kB / 261.8 MB, free: 1.684 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.2285/0.2285, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.348e-05/1.35e-05, allocations: 0 / 418.3 MB, free: 28.47 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1339, allocations: 58.87 MB / 477.2 MB, free: 1.559 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4556/0.5895, allocations: 100.7 MB / 0.5644 GB, free: 10.64 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002146/0.5898, allocations: 71 kB / 0.5644 GB, free: 10.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1509/0.7407, allocations: 57.86 MB / 0.6209 GB, free: 8.902 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.7407, allocations: 4 kB / 0.6209 GB, free: 8.898 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.109e-05/0.7408, allocations: 48 kB / 0.621 GB, free: 8.852 MB / 426.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.006183/0.747, allocations: 2.604 MB / 0.6235 GB, free: 6.395 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.7471, allocations: 12.02 kB / 0.6235 GB, free: 6.383 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00898/0.7561, allocations: 1.982 MB / 0.6255 GB, free: 4.41 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008997/0.7651, allocations: 3.353 MB / 0.6287 GB, free: 1.113 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.7653, allocations: 84 kB / 0.6288 GB, free: 1.031 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008604/0.7662, allocations: 139.9 kB / 0.629 GB, free: 0.8945 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006475/0.7726, allocations: 3.96 MB / 0.6328 GB, free: 12.93 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01123/0.7839, allocations: 6.273 MB / 0.6389 GB, free: 5.852 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001013/0.784, allocations: 51.52 kB / 0.639 GB, free: 5.801 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003178/0.7844, allocations: 27.95 kB / 0.639 GB, free: 5.773 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009766/0.7854, allocations: 0.7111 MB / 0.6397 GB, free: 5.059 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03065/0.816, allocations: 32.25 MB / 0.6712 GB, free: 3.789 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002256/0.8183, allocations: 1.94 MB / 0.6731 GB, free: 1.695 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001193/0.8195, allocations: 0.9922 MB / 0.6741 GB, free: 0.6914 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001996/0.8197, allocations: 178.5 kB / 0.6742 GB, free: 492 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.8198, allocations: 46.88 kB / 0.6743 GB, free: 436 kB / 474.7 MB Notification: Performance of pre-optimization done (n=100): time 4.047e-06/0.8198, allocations: 0 / 0.6743 GB, free: 436 kB / 474.7 MB Notification: Performance of matching and sorting (n=112): time 0.01202/0.8318, allocations: 6.304 MB / 0.6804 GB, free: 10.09 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.935e-05/0.832, allocations: 140.9 kB / 0.6806 GB, free: 9.922 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003182/0.8352, allocations: 2.197 MB / 0.6827 GB, free: 7.703 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001509/0.8353, allocations: 25.7 kB / 0.6827 GB, free: 7.672 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001298/0.8366, allocations: 2.159 MB / 0.6849 GB, free: 5.477 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004007/0.837, allocations: 454.4 kB / 0.6853 GB, free: 5.027 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.8372, allocations: 4 kB / 0.6853 GB, free: 5.023 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003358/0.8375, allocations: 0.5439 MB / 0.6858 GB, free: 4.469 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001777/0.8393, allocations: 1.313 MB / 0.6871 GB, free: 3.148 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003769/0.8431, allocations: 4.272 MB / 0.6913 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003366/0.8465, allocations: 2.352 MB / 0.6936 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.363e-05/0.8466, allocations: 32 kB / 0.6936 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=599) (initialization): time 0.007926/0.8545, allocations: 4.869 MB / 0.6984 GB, free: 6.105 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.61e-05/0.8546, allocations: 48 kB / 0.6984 GB, free: 6.059 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.038e-05/0.8547, allocations: 108 kB / 0.6985 GB, free: 5.953 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001359/0.8549, allocations: 156 kB / 0.6987 GB, free: 5.801 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003135/0.858, allocations: 1.131 MB / 0.6998 GB, free: 4.668 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001336/0.8582, allocations: 215.1 kB / 0.7 GB, free: 4.457 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002743/0.8609, allocations: 207.4 kB / 0.7002 GB, free: 4.254 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003344/0.8612, allocations: 296 kB / 0.7004 GB, free: 3.965 MB / 0.4948 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.0004609/0.8617, allocations: 360.5 kB / 0.7008 GB, free: 3.602 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002256/0.864, allocations: 1.558 MB / 0.7023 GB, free: 2.035 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002827/0.8643, allocations: 217.2 kB / 0.7025 GB, free: 1.82 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001763/0.866, allocations: 1.149 MB / 0.7036 GB, free: 0.668 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.065e-05/0.8661, allocations: 16.45 kB / 0.7037 GB, free: 0.6523 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.8661, allocations: 4 kB / 0.7037 GB, free: 0.6484 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.8661, allocations: 7.984 kB / 0.7037 GB, free: 0.6406 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2806/1.147, allocations: 3.877 MB / 0.7075 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-05/1.147, allocations: 5.188 kB / 0.7075 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009807/1.148, allocations: 221.3 kB / 0.7077 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.821e-05/1.148, allocations: 12.12 kB / 0.7077 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.116e-05/1.148, allocations: 7.906 kB / 0.7077 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.23e-05/1.148, allocations: 11.53 kB / 0.7077 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.827e-06/1.148, allocations: 5.969 kB / 0.7077 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002659/1.151, allocations: 2.424 MB / 0.7101 GB, free: 140.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008479/1.151, allocations: 435.1 kB / 0.7105 GB, free: 140.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002328/1.152, allocations: 8.281 kB / 0.7105 GB, free: 140.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009584/1.153, allocations: 59.06 kB / 0.7106 GB, free: 140.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/1.153, allocations: 69.48 kB / 0.7106 GB, free: 140.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.423e-05/1.153, allocations: 36.94 kB / 0.7107 GB, free: 140.3 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002378/1.155, allocations: 1.446 MB / 0.7121 GB, free: 140.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.61e-07/1.155, allocations: 1.969 kB / 0.7121 GB, free: 140.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003573/1.159, allocations: 0.5358 MB / 0.7126 GB, free: 140.2 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.003207/1.162, allocations: 4.283 MB / 0.7168 GB, free: 137.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006325/1.168, allocations: 3.001 MB / 0.7197 GB, free: 137.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-05/1.169, allocations: 1.188 kB / 0.7197 GB, free: 137.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001322/1.17, allocations: 0.758 MB / 0.7204 GB, free: 137.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001727/1.172, allocations: 206.7 kB / 0.7206 GB, free: 137.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01244/1.184, allocations: 5.311 MB / 0.7258 GB, free: 136.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002021/1.186, allocations: 2.267 MB / 0.728 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003354/1.189, allocations: 1.497 MB / 0.7295 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001264/1.191, allocations: 1.079 MB / 0.7306 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of SimCode: time 9.91e-07/1.191, allocations: 1.406 kB / 0.7306 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07118/1.262, allocations: 44.43 MB / 0.7739 GB, free: 120.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001293/1.262, allocations: 120.3 kB / 0.7741 GB, free: 120.1 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.114/4.376, allocations: 0 / 0.7741 GB, free: 120.1 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