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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0008657/0.0008657, allocations: 96.58 kB / 17 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000862/0.0008621, allocations: 193 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.3 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2222/0.2222, allocations: 45.92 MB / 344.1 MB, free: 12.31 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002712/0.0002715, allocations: 8 kB / 418.2 MB, free: 20.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1312, allocations: 63.47 MB / 481.6 MB, free: 5.305 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01362/0.1449, allocations: 12.99 MB / 494.6 MB, free: 8.27 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01004/0.155, allocations: 4.215 MB / 498.8 MB, free: 4.039 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002221/0.1572, allocations: 55.81 kB / 498.9 MB, free: 3.984 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001679/0.1589, allocations: 0.6104 MB / 499.5 MB, free: 3.371 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006055/0.165, allocations: 2.133 MB / 0.4899 GB, free: 1.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001534/0.1665, allocations: 443.3 kB / 0.4903 GB, free: 0.7969 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003792/0.1703, allocations: 2.804 MB / 0.493 GB, free: 13.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002117/0.1725, allocations: 1.386 MB / 0.4944 GB, free: 12.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001059/0.1736, allocations: 0.716 MB / 0.4951 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001625/0.1752, allocations: 1.153 MB / 0.4962 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002318/0.1754, allocations: 80 kB / 0.4963 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001735/0.1772, allocations: 0.7761 MB / 0.497 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009427/0.1781, allocations: 0.9505 MB / 0.498 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000552/0.1787, allocations: 0.4884 MB / 0.4984 GB, free: 8.395 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003338/0.1821, allocations: 3.024 MB / 0.5014 GB, free: 5.363 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.1821, allocations: 4 kB / 0.5014 GB, free: 5.359 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1821, allocations: 0 / 0.5014 GB, free: 5.359 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.875e-05/0.1822, allocations: 4 kB / 0.5014 GB, free: 5.355 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.005106/0.1873, allocations: 2.501 MB / 0.5039 GB, free: 2.797 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.1873, allocations: 8.031 kB / 0.5039 GB, free: 2.789 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005788/0.1879, allocations: 466.3 kB / 0.5043 GB, free: 2.324 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005655/0.1936, allocations: 1.712 MB / 0.506 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.288/0.4816, allocations: 1.501 MB / 0.5074 GB, free: 19.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001663/0.4818, allocations: 121.1 kB / 0.5076 GB, free: 19.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004245/0.4823, allocations: 165.5 kB / 0.5077 GB, free: 19.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01185/0.4941, allocations: 6.453 MB / 0.514 GB, free: 18.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.937e-05/0.4943, allocations: 28.33 kB / 0.514 GB, free: 18.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000272/0.4945, allocations: 87.36 kB / 0.5141 GB, free: 18.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002789/0.4973, allocations: 1.44 MB / 0.5155 GB, free: 18.28 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01353/0.5109, allocations: 5.717 MB / 0.5211 GB, free: 18.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02943/0.5404, allocations: 26.76 MB / 0.5472 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004125/0.5445, allocations: 2.136 MB / 0.5493 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001671/0.5462, allocations: 1.032 MB / 0.5503 GB, free: 14.67 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002682/0.5465, allocations: 180.9 kB / 0.5505 GB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.476e-05/0.5466, allocations: 46.77 kB / 0.5506 GB, free: 14.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=100): time 5.03e-06/0.5466, allocations: 4 kB / 0.5506 GB, free: 14.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=112): time 0.0158/0.5624, allocations: 6.338 MB / 0.5568 GB, free: 8.062 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.79e-05/0.5625, allocations: 143.2 kB / 0.5569 GB, free: 7.895 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004129/0.5667, allocations: 2.893 MB / 0.5597 GB, free: 4.992 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001401/0.5668, allocations: 34.33 kB / 0.5597 GB, free: 4.953 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001859/0.5687, allocations: 2.102 MB / 0.5618 GB, free: 2.863 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000579/0.5693, allocations: 463.1 kB / 0.5622 GB, free: 2.414 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001817/0.5695, allocations: 88 kB / 0.5623 GB, free: 2.328 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003311/0.5698, allocations: 0.4901 MB / 0.5628 GB, free: 1.832 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00228/0.5721, allocations: 1.398 MB / 0.5642 GB, free: 436 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004729/0.5769, allocations: 4.27 MB / 0.5683 GB, free: 10.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00417/0.5811, allocations: 2.4 MB / 0.5707 GB, free: 8.457 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.778e-05/0.5812, allocations: 28 kB / 0.5707 GB, free: 8.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.009825/0.591, allocations: 5.445 MB / 0.576 GB, free: 3.266 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.29e-05/0.5911, allocations: 48 kB / 0.5761 GB, free: 3.219 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001258/0.5912, allocations: 100 kB / 0.5762 GB, free: 3.121 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001565/0.5914, allocations: 152 kB / 0.5763 GB, free: 2.973 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003987/0.5954, allocations: 1.224 MB / 0.5775 GB, free: 1.746 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001744/0.5956, allocations: 199.2 kB / 0.5777 GB, free: 1.551 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003096/0.5987, allocations: 245.3 kB / 0.5779 GB, free: 1.312 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004176/0.5991, allocations: 276 kB / 0.5782 GB, free: 1.043 MB / 414.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.002496/0.6016, allocations: 1.388 MB / 0.5796 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005692/0.6022, allocations: 240.8 kB / 0.5798 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002188/0.6044, allocations: 1.234 MB / 0.581 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.064e-05/0.6044, allocations: 21.25 kB / 0.581 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.6045, allocations: 0 / 0.581 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.581e-05/0.6045, allocations: 7.969 kB / 0.581 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008393/0.6129, allocations: 4.549 MB / 0.5855 GB, free: 9.508 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.916e-05/0.6129, allocations: 11.95 kB / 0.5855 GB, free: 9.496 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001683/0.6146, allocations: 367.3 kB / 0.5858 GB, free: 9.137 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-05/0.6147, allocations: 8.531 kB / 0.5858 GB, free: 9.129 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.474e-05/0.6148, allocations: 26.42 kB / 0.5859 GB, free: 9.105 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.572e-05/0.6148, allocations: 17.56 kB / 0.5859 GB, free: 9.09 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.6148, allocations: 4 kB / 0.5859 GB, free: 9.086 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003117/0.6179, allocations: 2.16 MB / 0.588 GB, free: 6.855 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007865/0.6187, allocations: 313.7 kB / 0.5883 GB, free: 6.527 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002488/0.619, allocations: 24 kB / 0.5883 GB, free: 6.504 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008537/0.6199, allocations: 55.92 kB / 0.5884 GB, free: 6.449 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/0.62, allocations: 74.31 kB / 0.5884 GB, free: 6.379 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.372e-05/0.6201, allocations: 35.12 kB / 0.5885 GB, free: 6.348 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003212/0.6233, allocations: 1.811 MB / 0.5902 GB, free: 4.531 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6233, allocations: 0 / 0.5902 GB, free: 4.531 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00369/0.627, allocations: 0.6267 MB / 0.5908 GB, free: 3.91 MB / 430.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.003302/0.6304, allocations: 2.787 MB / 0.5936 GB, free: 1.055 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00564/0.636, allocations: 3.211 MB / 0.5967 GB, free: 13.87 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.966e-06/0.636, allocations: 4 kB / 0.5967 GB, free: 13.87 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001052/0.6371, allocations: 0.8004 MB / 0.5975 GB, free: 13.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002113/0.6392, allocations: 265.1 kB / 0.5977 GB, free: 12.81 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04287/0.6821, allocations: 21.11 MB / 0.6184 GB, free: 5.035 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003308/0.6855, allocations: 2.21 MB / 0.6205 GB, free: 2.793 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004271/0.6898, allocations: 1.464 MB / 0.6219 GB, free: 1.324 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001892/0.6917, allocations: 1.077 MB / 0.623 GB, free: 252 kB / 462.1 MB Notification: Performance of SimCode: time 1.062e-06/0.6917, allocations: 0 / 0.623 GB, free: 252 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09018/0.7819, allocations: 48.21 MB / 0.6701 GB, free: 300 kB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003171/0.7823, allocations: 177.8 kB / 0.6702 GB, free: 48 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.174/3.957, allocations: 0 / 0.6702 GB, free: 48 kB / 0.4981 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