Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007644/0.0007645, allocations: 98 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007888/0.0007889, allocations: 180 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 223.2 MB / 241.9 MB, free: 14.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.24/0.24, allocations: 44.23 MB / 337.2 MB, free: 2.555 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003149/0.0003149, allocations: 8 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1298, allocations: 61.92 MB / 471.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01471/0.1446, allocations: 12.96 MB / 484.6 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01023/0.1549, allocations: 4.192 MB / 488.8 MB, free: 12.4 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002508/0.1574, allocations: 51.88 kB / 488.9 MB, free: 12.35 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002192/0.1597, allocations: 0.6065 MB / 489.5 MB, free: 11.74 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006055/0.1657, allocations: 2.144 MB / 491.6 MB, free: 9.594 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001479/0.1672, allocations: 451.2 kB / 492 MB, free: 9.152 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003873/0.1711, allocations: 2.742 MB / 494.8 MB, free: 6.402 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002661/0.1738, allocations: 1.386 MB / 496.2 MB, free: 4.984 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001464/0.1753, allocations: 0.7199 MB / 496.9 MB, free: 4.262 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00182/0.1771, allocations: 1.153 MB / 498 MB, free: 3.105 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003027/0.1774, allocations: 80 kB / 498.1 MB, free: 3.027 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001524/0.179, allocations: 0.7956 MB / 498.9 MB, free: 2.23 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009475/0.1799, allocations: 0.9544 MB / 499.9 MB, free: 1.273 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005314/0.1805, allocations: 0.4923 MB / 0.4886 GB, free: 0.7734 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003163/0.1837, allocations: 3.017 MB / 0.4916 GB, free: 13.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1837, allocations: 0 / 0.4916 GB, free: 13.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1837, allocations: 4 kB / 0.4916 GB, free: 13.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.941e-05/0.1838, allocations: 4 kB / 0.4916 GB, free: 13.74 MB / 382.1 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.004589/0.1884, allocations: 2.504 MB / 0.494 GB, free: 11.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.1884, allocations: 8.562 kB / 0.494 GB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007614/0.1892, allocations: 458.3 kB / 0.4945 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00569/0.1949, allocations: 1.704 MB / 0.4961 GB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003149/0.1981, allocations: 1.62 MB / 0.4977 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.905e-05/0.1982, allocations: 119 kB / 0.4978 GB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003397/0.1986, allocations: 167.8 kB / 0.498 GB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009773/0.2083, allocations: 6.453 MB / 0.5043 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.127e-05/0.2085, allocations: 35.59 kB / 0.5043 GB, free: 44 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.2657/0.4741, allocations: 78.62 kB / 0.5044 GB, free: 46.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003506/0.4777, allocations: 1.434 MB / 0.5058 GB, free: 46.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01458/0.4923, allocations: 5.714 MB / 0.5114 GB, free: 45.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02959/0.5219, allocations: 26.77 MB / 0.5375 GB, free: 24.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003632/0.5256, allocations: 2.125 MB / 0.5396 GB, free: 23.2 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00112/0.5268, allocations: 1.038 MB / 0.5406 GB, free: 22.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001586/0.5269, allocations: 174.6 kB / 0.5408 GB, free: 22.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.527, allocations: 54.78 kB / 0.5408 GB, free: 22.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 3.437e-06/0.527, allocations: 0 / 0.5408 GB, free: 22.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=112): time 0.01317/0.5402, allocations: 6.339 MB / 0.547 GB, free: 15.76 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/0.5403, allocations: 141 kB / 0.5472 GB, free: 15.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003059/0.5433, allocations: 2.89 MB / 0.55 GB, free: 12.69 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.889e-05/0.5434, allocations: 37.7 kB / 0.55 GB, free: 12.65 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009347/0.5444, allocations: 2.107 MB / 0.5521 GB, free: 10.55 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002763/0.5446, allocations: 455.6 kB / 0.5525 GB, free: 10.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/0.5448, allocations: 92 kB / 0.5526 GB, free: 10.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002101/0.545, allocations: 0.4919 MB / 0.5531 GB, free: 9.516 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001664/0.5467, allocations: 1.402 MB / 0.5545 GB, free: 8.105 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002685/0.5494, allocations: 4.271 MB / 0.5586 GB, free: 2.383 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002599/0.552, allocations: 2.393 MB / 0.561 GB, free: 15.99 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.104e-05/0.552, allocations: 28 kB / 0.561 GB, free: 15.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.008123/0.5602, allocations: 5.452 MB / 0.5663 GB, free: 10.51 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.774e-05/0.5603, allocations: 48.22 kB / 0.5664 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.343e-05/0.5604, allocations: 108 kB / 0.5665 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001436/0.5605, allocations: 148 kB / 0.5666 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003616/0.5641, allocations: 1.216 MB / 0.5678 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001452/0.5643, allocations: 199.2 kB / 0.568 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002443/0.5668, allocations: 243.5 kB / 0.5682 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003245/0.5671, allocations: 280.7 kB / 0.5685 GB, free: 8.289 MB / 398.1 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.001808/0.5689, allocations: 1.396 MB / 0.5698 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003723/0.5693, allocations: 236.9 kB / 0.5701 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001936/0.5712, allocations: 1.234 MB / 0.5713 GB, free: 5.398 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.552e-05/0.5713, allocations: 16 kB / 0.5713 GB, free: 5.383 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.5713, allocations: 3.938 kB / 0.5713 GB, free: 5.379 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.5713, allocations: 3.984 kB / 0.5713 GB, free: 5.375 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006964/0.5783, allocations: 4.55 MB / 0.5757 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.34e-05/0.5783, allocations: 8 kB / 0.5757 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001573/0.5799, allocations: 359.9 kB / 0.5761 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.466e-05/0.5799, allocations: 12 kB / 0.5761 GB, free: 376 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.31e-05/0.58, allocations: 31.94 kB / 0.5761 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.18e-05/0.58, allocations: 12.22 kB / 0.5761 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.58, allocations: 4 kB / 0.5761 GB, free: 328 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002548/0.5826, allocations: 2.156 MB / 0.5783 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005064/0.5831, allocations: 313.7 kB / 0.5786 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000229/0.5833, allocations: 24 kB / 0.5786 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008039/0.5841, allocations: 63.88 kB / 0.5786 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.5843, allocations: 68.62 kB / 0.5787 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.362e-05/0.5844, allocations: 32 kB / 0.5787 GB, free: 13.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002513/0.5869, allocations: 1.815 MB / 0.5805 GB, free: 11.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5869, allocations: 0 / 0.5805 GB, free: 11.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003554/0.5905, allocations: 0.6342 MB / 0.5811 GB, free: 11.14 MB / 414.1 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.003072/0.5935, allocations: 2.777 MB / 0.5838 GB, free: 8.289 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005478/0.599, allocations: 3.225 MB / 0.587 GB, free: 5.086 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/0.5991, allocations: 8.812 kB / 0.587 GB, free: 5.078 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001159/0.6002, allocations: 0.7819 MB / 0.5878 GB, free: 4.297 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002096/0.6023, allocations: 256.8 kB / 0.588 GB, free: 4.047 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04766/0.65, allocations: 21.11 MB / 0.6086 GB, free: 12.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0034/0.6535, allocations: 2.206 MB / 0.6108 GB, free: 10.01 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003934/0.6574, allocations: 1.463 MB / 0.6122 GB, free: 8.543 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001791/0.6592, allocations: 1.081 MB / 0.6133 GB, free: 7.465 MB / 446.1 MB Notification: Performance of SimCode: time 9.42e-07/0.6592, allocations: 0 / 0.6133 GB, free: 7.465 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09414/0.7534, allocations: 48.22 MB / 0.6604 GB, free: 7.543 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000241/0.7537, allocations: 179 kB / 0.6605 GB, free: 7.297 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.09/3.844, allocations: 0 / 0.6605 GB, free: 7.297 MB / 494.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_TestMove_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove_res.mat does not exist to compare? outputFormat=mat