Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.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.MultiBody.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",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.001135/0.001135, allocations: 96.41 kB / 17 MB, free: 6.531 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.0009949/0.000995, allocations: 182.2 kB / 17.88 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.333/1.333, allocations: 223.2 MB / 241.9 MB, free: 240 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2096/0.2096, allocations: 44.23 MB / 337.2 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003123/0.0003127, allocations: 8 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1135, allocations: 61.91 MB / 471.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.3358/0.4494, allocations: 77.98 MB / 0.5367 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03153/0.4809, allocations: 14.86 MB / 0.5512 GB, free: 15.24 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01541/0.4964, allocations: 366.2 kB / 0.5516 GB, free: 15.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01075/0.5072, allocations: 4.032 MB / 0.5555 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02879/0.536, allocations: 11.2 MB / 0.5665 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003842/0.5399, allocations: 463.4 kB / 0.5669 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006255/0.5461, allocations: 4.738 MB / 0.5715 GB, free: 14.35 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006016/0.5522, allocations: 4.529 MB / 0.576 GB, free: 9.781 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002332/0.5545, allocations: 1.416 MB / 0.5773 GB, free: 8.359 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003287/0.5578, allocations: 2.648 MB / 0.5799 GB, free: 5.703 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005245/0.5583, allocations: 192 kB / 0.5801 GB, free: 5.516 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001241/0.5596, allocations: 0.5813 MB / 0.5807 GB, free: 4.934 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001587/0.5612, allocations: 1.854 MB / 0.5825 GB, free: 3.074 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009731/0.5622, allocations: 0.9907 MB / 0.5835 GB, free: 2.074 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005762/0.5679, allocations: 6.739 MB / 0.59 GB, free: 11.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.568, allocations: 0 / 0.59 GB, free: 11.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.568, allocations: 4 kB / 0.59 GB, free: 11.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001515/0.5681, allocations: 0 / 0.59 GB, free: 11.32 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1705 * Number of variables: 1705 Notification: Performance of Generate backend data structure: time 0.06603/0.6342, allocations: 9.359 MB / 0.5992 GB, free: 1.883 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.6342, allocations: 12.02 kB / 0.5992 GB, free: 1.871 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002616/0.6369, allocations: 0.8142 MB / 0.6 GB, free: 1.047 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006716/0.6436, allocations: 1.908 MB / 0.6019 GB, free: 15.13 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007399/0.651, allocations: 3.206 MB / 0.605 GB, free: 11.87 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002607/0.6513, allocations: 295.5 kB / 0.6053 GB, free: 11.58 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002495/0.6538, allocations: 419.5 kB / 0.6057 GB, free: 11.17 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04866/0.7025, allocations: 19.53 MB / 0.6247 GB, free: 6.918 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001809/0.7027, allocations: 51.5 kB / 0.6248 GB, free: 6.867 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001458/0.7042, allocations: 179.9 kB / 0.625 GB, free: 6.691 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005218/0.7094, allocations: 2.342 MB / 0.6272 GB, free: 4.344 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0506/0.76, allocations: 22.35 MB / 0.6491 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07063/0.8307, allocations: 52.51 MB / 0.7004 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3077/1.138, allocations: 9.183 MB / 0.7093 GB, free: 189.3 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005583/1.144, allocations: 3.012 MB / 0.7123 GB, free: 189.3 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001629/1.146, allocations: 355.1 kB / 0.7126 GB, free: 189.3 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.377e-05/1.146, allocations: 56.73 kB / 0.7127 GB, free: 189.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=212): time 4.509e-06/1.146, allocations: 2.344 kB / 0.7127 GB, free: 189.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=212): time 0.1146/1.26, allocations: 16.16 MB / 0.7284 GB, free: 187.6 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.022e-05/1.261, allocations: 155.2 kB / 0.7286 GB, free: 187.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009387/1.27, allocations: 4.669 MB / 0.7331 GB, free: 185.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006472/1.271, allocations: 57.33 kB / 0.7332 GB, free: 185.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002708/1.273, allocations: 3.493 MB / 0.7366 GB, free: 183.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001509/1.275, allocations: 0.8323 MB / 0.7374 GB, free: 182.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008195/1.276, allocations: 134.9 kB / 0.7376 GB, free: 182.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0005932/1.276, allocations: 0.5889 MB / 0.7381 GB, free: 182.1 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004571/1.281, allocations: 3.146 MB / 0.7412 GB, free: 180.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00734/1.288, allocations: 7.443 MB / 0.7485 GB, free: 171.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006265/1.295, allocations: 4.686 MB / 0.753 GB, free: 167.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001911/1.295, allocations: 44 kB / 0.7531 GB, free: 167.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.01671/1.311, allocations: 10.55 MB / 0.7634 GB, free: 156.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000162/1.312, allocations: 70.03 kB / 0.7635 GB, free: 156.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002706/1.312, allocations: 153.7 kB / 0.7636 GB, free: 156.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002391/1.312, allocations: 227.9 kB / 0.7638 GB, free: 156.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006469/1.319, allocations: 1.805 MB / 0.7656 GB, free: 154.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003561/1.319, allocations: 295.5 kB / 0.7659 GB, free: 154.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007089/1.326, allocations: 0.9214 MB / 0.7668 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001691/1.328, allocations: 0.5154 MB / 0.7673 GB, free: 152.6 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 695 * Number of states: 0 () * Number of discrete variables: 42 (rotor1D10.cylinderColor[3],rotor1D10.cylinderColor[2],rotor1D10.cylinderColor[1],rotor1D9.cylinderColor[3],rotor1D9.cylinderColor[2],rotor1D9.cylinderColor[1],rotor1D8.cylinderColor[3],rotor1D8.cylinderColor[2],rotor1D8.cylinderColor[1],rotor1D7.cylinderColor[3],rotor1D7.cylinderColor[2],rotor1D7.cylinderColor[1],rotor1D6.cylinderColor[3],rotor1D6.cylinderColor[2],rotor1D6.cylinderColor[1],rotor1D5.cylinderColor[3],rotor1D5.cylinderColor[2],rotor1D5.cylinderColor[1],rotor1D4.cylinderColor[3],rotor1D4.cylinderColor[2],rotor1D4.cylinderColor[1],rotor1D3.cylinderColor[3],rotor1D3.cylinderColor[2],rotor1D3.cylinderColor[1],rotor1D2.cylinderColor[3],rotor1D2.cylinderColor[2],rotor1D2.cylinderColor[1],rotor1D1.cylinderColor[3],rotor1D1.cylinderColor[2],rotor1D1.cylinderColor[1],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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (855): * Single equations (assignments): 852 * 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.004557/1.332, allocations: 2.31 MB / 0.7695 GB, free: 150.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001085/1.334, allocations: 406.7 kB / 0.7699 GB, free: 149.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006316/1.34, allocations: 4.869 MB / 0.7747 GB, free: 145 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.054e-05/1.34, allocations: 24.47 kB / 0.7747 GB, free: 145 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.474e-05/1.34, allocations: 4 kB / 0.7747 GB, free: 145 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.333e-05/1.34, allocations: 7.969 kB / 0.7747 GB, free: 145 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01861/1.359, allocations: 11.51 MB / 0.7859 GB, free: 133.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.474e-05/1.359, allocations: 11.95 kB / 0.786 GB, free: 133.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002532/1.361, allocations: 0.6044 MB / 0.7865 GB, free: 132.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.069e-05/1.361, allocations: 16 kB / 0.7866 GB, free: 132.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003285/1.362, allocations: 144.5 kB / 0.7867 GB, free: 132.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.329e-05/1.362, allocations: 19.94 kB / 0.7867 GB, free: 132.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.498e-06/1.362, allocations: 19.92 kB / 0.7867 GB, free: 132.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009416/1.371, allocations: 8.88 MB / 0.7954 GB, free: 123.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001352/1.373, allocations: 0.511 MB / 0.7959 GB, free: 123 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001168/1.374, allocations: 53.55 kB / 0.796 GB, free: 123 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002344/1.376, allocations: 79.98 kB / 0.796 GB, free: 122.9 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003319/1.376, allocations: 244.8 kB / 0.7963 GB, free: 122.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003012/1.377, allocations: 168.9 kB / 0.7964 GB, free: 122.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005154/1.382, allocations: 2.923 MB / 0.7993 GB, free: 119.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.21e-07/1.382, allocations: 0 / 0.7993 GB, free: 119.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007646/1.39, allocations: 1.37 MB / 0.8006 GB, free: 118.2 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 20 (rotor1D1.phi,rotor1D1.w,rotor1D2.phi,rotor1D2.w,rotor1D3.phi,rotor1D3.w,rotor1D4.phi,rotor1D4.w,rotor1D5.phi,rotor1D5.w,rotor1D6.phi,rotor1D6.w,rotor1D7.phi,rotor1D7.w,rotor1D8.phi,rotor1D8.w,rotor1D9.phi,rotor1D9.w,rotor1D10.phi,rotor1D10.w) * 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 (208): * Single equations (assignments): 205 * 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.01061/1.4, allocations: 9.566 MB / 0.81 GB, free: 108.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009952/1.41, allocations: 7.06 MB / 0.8169 GB, free: 101.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.331e-05/1.41, allocations: 4 kB / 0.8169 GB, free: 101.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003171/1.413, allocations: 2.439 MB / 0.8192 GB, free: 99.04 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00599/1.419, allocations: 0.5268 MB / 0.8198 GB, free: 98.52 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08089/1.5, allocations: 47.49 MB / 0.8661 GB, free: 46.55 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005387/1.506, allocations: 3.593 MB / 0.8696 GB, free: 42.92 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006929/1.513, allocations: 2.306 MB / 0.8719 GB, free: 40.61 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004712/1.518, allocations: 2.494 MB / 0.8743 GB, free: 38.11 MB / 0.5294 GB Notification: Performance of SimCode: time 2.816e-06/1.518, allocations: 0 / 0.8743 GB, free: 38.11 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4111/1.929, allocations: 104.5 MB / 0.9764 GB, free: 129.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001575/1.929, allocations: 198.1 kB / 0.9766 GB, free: 129 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.223/7.152, allocations: 0 / 0.9766 GB, free: 129 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_InitializationConversion_Rotor1D_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_InitializationConversion_Rotor1D.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat does not exist to compare? outputFormat=mat