Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.002309/0.002314, allocations: 188.1 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.104/2.104, allocations: 205.4 MB / 222.5 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001142/0.001142, allocations: 102.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3028/0.3028, allocations: 43.56 MB / 362.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006599/0.0006602, allocations: 11.98 kB / 431.5 MB, free: 20.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1238, allocations: 58.86 MB / 490.3 MB, free: 9.266 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.02023/0.1441, allocations: 12.33 MB / 0.4909 GB, free: 12.89 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01157/0.1557, allocations: 4.272 MB / 0.495 GB, free: 8.605 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002165/0.1579, allocations: 55.81 kB / 0.4951 GB, free: 8.551 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002009/0.16, allocations: 0.5482 MB / 0.4956 GB, free: 8 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007522/0.1675, allocations: 1.948 MB / 0.4975 GB, free: 6.047 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001893/0.1695, allocations: 431.2 kB / 0.4979 GB, free: 5.625 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.003782/0.1733, allocations: 1.474 MB / 0.4994 GB, free: 4.148 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002996/0.1763, allocations: 1.394 MB / 0.5007 GB, free: 2.723 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001301/0.1777, allocations: 0.6111 MB / 0.5013 GB, free: 2.109 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001799/0.1795, allocations: 0.8449 MB / 0.5022 GB, free: 1.262 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004521/0.18, allocations: 80 kB / 0.5022 GB, free: 1.184 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002299/0.1823, allocations: 0.7606 MB / 0.503 GB, free: 432 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00157/0.1839, allocations: 0.8961 MB / 0.5039 GB, free: 15.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007759/0.1847, allocations: 0.4923 MB / 0.5043 GB, free: 15.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005603/0.1904, allocations: 3.028 MB / 0.5073 GB, free: 11.99 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1904, allocations: 0 / 0.5073 GB, free: 11.99 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.1904, allocations: 0 / 0.5073 GB, free: 11.99 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.00013/0.1906, allocations: 0 / 0.5073 GB, free: 11.99 MB / 362.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.009125/0.1997, allocations: 2.563 MB / 0.5098 GB, free: 9.367 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.564e-05/0.1998, allocations: 12.02 kB / 0.5098 GB, free: 9.355 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002067/0.2019, allocations: 466.3 kB / 0.5102 GB, free: 8.891 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02006/0.222, allocations: 1.985 MB / 0.5122 GB, free: 6.898 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006419/0.2285, allocations: 1.554 MB / 0.5137 GB, free: 5.301 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002731/0.2288, allocations: 123 kB / 0.5138 GB, free: 5.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00117/0.23, allocations: 167.8 kB / 0.514 GB, free: 5.016 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3566/0.5866, allocations: 6.471 MB / 0.5203 GB, free: 40.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001273/0.5868, allocations: 31.44 kB / 0.5203 GB, free: 40.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004773/0.5873, allocations: 82.89 kB / 0.5204 GB, free: 40.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004813/0.5921, allocations: 1.441 MB / 0.5218 GB, free: 40.17 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01842/0.6106, allocations: 5.75 MB / 0.5274 GB, free: 38.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04583/0.6565, allocations: 26.84 MB / 0.5536 GB, free: 17.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006671/0.6632, allocations: 2.154 MB / 0.5557 GB, free: 16.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002303/0.6635, allocations: 182.7 kB / 0.5559 GB, free: 16.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.6636, allocations: 42.62 kB / 0.556 GB, free: 16.24 MB / 362.7 MB Notification: Performance of pre-optimization done (n=100): time 4.338e-06/0.6636, allocations: 0 / 0.556 GB, free: 16.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=112): time 0.02564/0.6892, allocations: 6.707 MB / 0.5625 GB, free: 10.78 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/0.6893, allocations: 140.9 kB / 0.5626 GB, free: 10.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005051/0.6944, allocations: 3.015 MB / 0.5656 GB, free: 7.582 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002789/0.6947, allocations: 37.7 kB / 0.5656 GB, free: 7.539 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001472/0.6962, allocations: 2.094 MB / 0.5677 GB, free: 5.453 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005725/0.6968, allocations: 449.2 kB / 0.5681 GB, free: 5.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003007/0.6971, allocations: 84 kB / 0.5682 GB, free: 4.938 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002563/0.6974, allocations: 0.5006 MB / 0.5687 GB, free: 4.426 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003257/0.7007, allocations: 1.398 MB / 0.57 GB, free: 3.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005568/0.7063, allocations: 4.256 MB / 0.5742 GB, free: 13.31 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006123/0.7124, allocations: 2.391 MB / 0.5765 GB, free: 10.92 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.372e-05/0.7126, allocations: 28 kB / 0.5766 GB, free: 10.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01523/0.7278, allocations: 5.378 MB / 0.5818 GB, free: 5.512 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.936e-05/0.728, allocations: 51.95 kB / 0.5819 GB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001586/0.7281, allocations: 100.9 kB / 0.5819 GB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002162/0.7284, allocations: 156 kB / 0.5821 GB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008089/0.7365, allocations: 1.221 MB / 0.5833 GB, free: 3.988 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002523/0.7368, allocations: 199.2 kB / 0.5835 GB, free: 3.793 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00437/0.7411, allocations: 237.2 kB / 0.5837 GB, free: 3.562 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008336/0.742, allocations: 288 kB / 0.584 GB, free: 3.281 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * 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 (553): * Single equations (assignments): 550 * 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.003627/0.7457, allocations: 1.384 MB / 0.5853 GB, free: 1.887 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007013/0.7464, allocations: 244.8 kB / 0.5856 GB, free: 1.645 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003395/0.7498, allocations: 1.238 MB / 0.5868 GB, free: 408 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.746e-05/0.7499, allocations: 12.94 kB / 0.5868 GB, free: 396 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.554e-05/0.75, allocations: 6.312 kB / 0.5868 GB, free: 392 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.493e-05/0.75, allocations: 7.969 kB / 0.5868 GB, free: 384 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01899/0.769, allocations: 4.558 MB / 0.5913 GB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.508e-05/0.7691, allocations: 4 kB / 0.5913 GB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005205/0.7743, allocations: 363.4 kB / 0.5916 GB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.09e-05/0.7744, allocations: 12 kB / 0.5916 GB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002744/0.7747, allocations: 21.2 kB / 0.5916 GB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.69e-05/0.7748, allocations: 19.94 kB / 0.5917 GB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.846e-05/0.7748, allocations: 7.938 kB / 0.5917 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007146/0.782, allocations: 2.601 MB / 0.5942 GB, free: 8.574 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001633/0.7836, allocations: 473.6 kB / 0.5947 GB, free: 8.09 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005965/0.7843, allocations: 26.23 kB / 0.5947 GB, free: 8.066 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002016/0.7863, allocations: 59.89 kB / 0.5947 GB, free: 8.008 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003763/0.7867, allocations: 67.81 kB / 0.5948 GB, free: 7.941 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001464/0.7869, allocations: 40.61 kB / 0.5948 GB, free: 7.902 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.005316/0.7922, allocations: 1.905 MB / 0.5967 GB, free: 5.992 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.7923, allocations: 288 / 0.5967 GB, free: 5.992 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00561/0.7979, allocations: 0.6436 MB / 0.5973 GB, free: 5.355 MB / 394.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.006538/0.8045, allocations: 4.424 MB / 0.6016 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008507/0.813, allocations: 3.235 MB / 0.6048 GB, free: 13.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/0.8131, allocations: 0 / 0.6048 GB, free: 13.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002012/0.8151, allocations: 0.7897 MB / 0.6056 GB, free: 12.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002175/0.8174, allocations: 248.7 kB / 0.6058 GB, free: 12.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1163/0.9337, allocations: 91.76 MB / 0.6954 GB, free: 13.44 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003748/0.9375, allocations: 2.271 MB / 0.6976 GB, free: 11.14 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002958/0.9405, allocations: 1.12 MB / 0.6987 GB, free: 10.02 MB / 0.4949 GB Notification: Performance of SimCode: time 1.834e-06/0.9406, allocations: 0 / 0.6987 GB, free: 10.02 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.999/4.94, allocations: 52.74 MB / 0.7502 GB, free: 148.1 MB / 0.4949 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_TestMove_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove_res.mat does not exist to compare? outputFormat=mat