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.0008828/0.0008828, allocations: 93.2 kB / 16.99 MB, free: 5.938 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.0008413/0.0008414, allocations: 180.9 kB / 17.87 MB, free: 5.609 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.404/1.404, allocations: 223.2 MB / 241.8 MB, free: 14.65 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.2288/0.2288, allocations: 44.21 MB / 337.1 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000457/0.0004573, allocations: 9.406 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1543, allocations: 61.92 MB / 471.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01439/0.1688, allocations: 12.31 MB / 483.8 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01014/0.1789, allocations: 4.271 MB / 488.1 MB, free: 13.01 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002481/0.1814, allocations: 51.88 kB / 488.2 MB, free: 12.96 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001751/0.1832, allocations: 0.5443 MB / 488.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006167/0.1894, allocations: 1.96 MB / 490.7 MB, free: 10.45 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001389/0.1908, allocations: 423.2 kB / 491.1 MB, free: 10.04 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002871/0.1937, allocations: 1.48 MB / 492.6 MB, free: 8.555 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002055/0.1958, allocations: 1.386 MB / 493.9 MB, free: 7.137 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008493/0.1966, allocations: 0.6033 MB / 494.6 MB, free: 6.531 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001026/0.1977, allocations: 0.8527 MB / 495.4 MB, free: 5.676 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001902/0.1979, allocations: 76 kB / 495.5 MB, free: 5.602 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001378/0.1993, allocations: 0.7684 MB / 496.2 MB, free: 4.832 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007708/0.2, allocations: 0.8922 MB / 497.1 MB, free: 3.938 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004359/0.2005, allocations: 0.4884 MB / 497.6 MB, free: 3.441 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002967/0.2035, allocations: 3.024 MB / 0.4889 GB, free: 420 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.2035, allocations: 0 / 0.4889 GB, free: 420 kB / 366.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.2035, allocations: 4 kB / 0.4889 GB, free: 416 kB / 366.1 MB Notification: Performance of Transformations before backend: time 7.055e-05/0.2036, allocations: 0 / 0.4889 GB, free: 416 kB / 366.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.005272/0.2088, allocations: 2.547 MB / 0.4914 GB, free: 13.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.2089, allocations: 8.562 kB / 0.4914 GB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008169/0.2097, allocations: 458.3 kB / 0.4919 GB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006746/0.2165, allocations: 1.981 MB / 0.4938 GB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003367/0.2199, allocations: 1.421 MB / 0.4952 GB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001083/0.22, allocations: 123 kB / 0.4953 GB, free: 9.762 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003786/0.2204, allocations: 155.9 kB / 0.4954 GB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01127/0.2317, allocations: 6.484 MB / 0.5018 GB, free: 2.598 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.45e-05/0.2318, allocations: 35.66 kB / 0.5018 GB, free: 2.562 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002554/0.2321, allocations: 83.89 kB / 0.5019 GB, free: 2.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002578/0.2347, allocations: 1.441 MB / 0.5033 GB, free: 1.039 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2846/0.5193, allocations: 5.744 MB / 0.5089 GB, free: 43.88 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04093/0.5603, allocations: 26.81 MB / 0.5351 GB, free: 24.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004674/0.5651, allocations: 2.15 MB / 0.5372 GB, free: 22.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002731/0.5654, allocations: 182.1 kB / 0.5374 GB, free: 22.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.38e-05/0.5655, allocations: 42.78 kB / 0.5374 GB, free: 22.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 5.591e-06/0.5655, allocations: 0 / 0.5374 GB, free: 22.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=112): time 0.01867/0.5842, allocations: 6.653 MB / 0.5439 GB, free: 18.28 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.5843, allocations: 137 kB / 0.544 GB, free: 18.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003288/0.5876, allocations: 2.991 MB / 0.547 GB, free: 15.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001161/0.5877, allocations: 39.11 kB / 0.547 GB, free: 15.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009968/0.5887, allocations: 2.105 MB / 0.549 GB, free: 12.97 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000342/0.589, allocations: 459.9 kB / 0.5495 GB, free: 12.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/0.5892, allocations: 92.78 kB / 0.5496 GB, free: 12.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002035/0.5894, allocations: 495.8 kB / 0.55 GB, free: 11.94 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001657/0.5911, allocations: 1.406 MB / 0.5514 GB, free: 10.53 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002821/0.5939, allocations: 4.256 MB / 0.5556 GB, free: 4.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002559/0.5965, allocations: 2.393 MB / 0.5579 GB, free: 2.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-05/0.5965, allocations: 28 kB / 0.5579 GB, free: 2.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.007665/0.6042, allocations: 5.454 MB / 0.5633 GB, free: 12.95 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.232e-05/0.6043, allocations: 48 kB / 0.5633 GB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.702e-05/0.6044, allocations: 104.3 kB / 0.5634 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001473/0.6045, allocations: 148 kB / 0.5636 GB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003933/0.6085, allocations: 1.224 MB / 0.5647 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001659/0.6087, allocations: 203.5 kB / 0.5649 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003062/0.6117, allocations: 243.5 kB / 0.5652 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003903/0.6121, allocations: 285.1 kB / 0.5654 GB, free: 10.71 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.002196/0.6143, allocations: 1.381 MB / 0.5668 GB, free: 9.316 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005159/0.6149, allocations: 240.9 kB / 0.567 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001937/0.6168, allocations: 1.24 MB / 0.5682 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-05/0.6169, allocations: 26.78 kB / 0.5683 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.6169, allocations: 4 kB / 0.5683 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.6169, allocations: 3.984 kB / 0.5683 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008129/0.625, allocations: 4.537 MB / 0.5727 GB, free: 3.176 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/0.6251, allocations: 8.062 kB / 0.5727 GB, free: 3.168 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001788/0.6269, allocations: 375.3 kB / 0.5731 GB, free: 2.801 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.608e-05/0.6269, allocations: 8 kB / 0.5731 GB, free: 2.793 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-05/0.627, allocations: 20.86 kB / 0.5731 GB, free: 2.773 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.248e-05/0.627, allocations: 8 kB / 0.5731 GB, free: 2.766 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/0.627, allocations: 7.938 kB / 0.5731 GB, free: 2.758 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003029/0.63, allocations: 2.608 MB / 0.5757 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007134/0.6308, allocations: 321.6 kB / 0.576 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002387/0.631, allocations: 20 kB / 0.576 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008785/0.6319, allocations: 59.92 kB / 0.576 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.632, allocations: 68.83 kB / 0.5761 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-05/0.6321, allocations: 40.75 kB / 0.5761 GB, free: 15.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002897/0.635, allocations: 1.897 MB / 0.578 GB, free: 13.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.6351, allocations: 0 / 0.578 GB, free: 13.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003912/0.639, allocations: 0.6431 MB / 0.5786 GB, free: 12.96 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.003989/0.643, allocations: 4.425 MB / 0.5829 GB, free: 8.395 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00539/0.6484, allocations: 3.217 MB / 0.5861 GB, free: 5.199 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.6484, allocations: 4.062 kB / 0.5861 GB, free: 5.195 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.6495, allocations: 0.799 MB / 0.5869 GB, free: 4.398 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001634/0.6511, allocations: 249.4 kB / 0.5871 GB, free: 4.156 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06667/0.7178, allocations: 91.4 MB / 0.6764 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002144/0.72, allocations: 2.261 MB / 0.6786 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003429/0.7234, allocations: 1.467 MB / 0.68 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001541/0.725, allocations: 1.081 MB / 0.6811 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of SimCode: time 1.152e-06/0.725, allocations: 4 kB / 0.6811 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3374/1.062, allocations: 48.93 MB / 0.7288 GB, free: 163.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002595/1.063, allocations: 164.1 kB / 0.729 GB, free: 163.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.971/4.033, allocations: 0 / 0.729 GB, free: 163.2 MB / 0.5137 GB (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