Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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 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 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_3_2_3_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_3_2_3_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.001037/0.001038, allocations: 95.89 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 175.7 kB / 16.56 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.618/1.618, allocations: 205.4 MB / 222.7 MB, free: 5.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3726/0.3726, allocations: 43.54 MB / 314.5 MB, free: 8.746 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005628/0.0005629, allocations: 12 kB / 384 MB, free: 7.926 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1363, allocations: 58.85 MB / 442.8 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.296/0.4323, allocations: 73.52 MB / 0.5043 GB, free: 2.465 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03641/0.4688, allocations: 15.69 MB / 0.5196 GB, free: 7.691 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0161/0.4849, allocations: 358.5 kB / 0.5199 GB, free: 7.637 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01454/0.4995, allocations: 3.653 MB / 0.5235 GB, free: 6.441 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03952/0.5391, allocations: 10.27 MB / 0.5335 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004484/0.5436, allocations: 482.7 kB / 0.534 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005828/0.5494, allocations: 2.42 MB / 0.5363 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009209/0.5587, allocations: 4.493 MB / 0.5407 GB, free: 11.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004742/0.5635, allocations: 1.183 MB / 0.5419 GB, free: 10.47 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006461/0.57, allocations: 1.998 MB / 0.5438 GB, free: 8.465 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002022/0.5721, allocations: 189.4 kB / 0.544 GB, free: 8.281 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003379/0.5755, allocations: 0.5618 MB / 0.5446 GB, free: 7.719 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003868/0.5794, allocations: 1.734 MB / 0.5463 GB, free: 5.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002772/0.5822, allocations: 0.9986 MB / 0.5472 GB, free: 4.973 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0116/0.5939, allocations: 6.724 MB / 0.5538 GB, free: 14.23 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.5939, allocations: 0 / 0.5538 GB, free: 14.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.466e-06/0.5939, allocations: 0 / 0.5538 GB, free: 14.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003561/0.5943, allocations: 0 / 0.5538 GB, free: 14.23 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.08694/0.6813, allocations: 9.673 MB / 0.5632 GB, free: 4.488 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.6813, allocations: 12.03 kB / 0.5633 GB, free: 4.477 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003466/0.6848, allocations: 0.8103 MB / 0.564 GB, free: 3.656 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008707/0.6935, allocations: 2.177 MB / 0.5662 GB, free: 1.469 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008447/0.702, allocations: 3.128 MB / 0.5692 GB, free: 14.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003341/0.7024, allocations: 291.5 kB / 0.5695 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00278/0.7052, allocations: 417.3 kB / 0.5699 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05199/0.7572, allocations: 19.53 MB / 0.589 GB, free: 9.348 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001693/0.7574, allocations: 47.5 kB / 0.589 GB, free: 9.301 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009443/0.7584, allocations: 179.9 kB / 0.5892 GB, free: 9.125 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005751/0.7641, allocations: 2.353 MB / 0.5915 GB, free: 6.77 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05598/0.8201, allocations: 22.38 MB / 0.6133 GB, free: 364 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3292/1.149, allocations: 52.44 MB / 0.6646 GB, free: 109.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06936/1.219, allocations: 9.193 MB / 0.6735 GB, free: 107.4 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001857/1.221, allocations: 345.9 kB / 0.6739 GB, free: 107.4 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.645e-05/1.221, allocations: 58.69 kB / 0.6739 GB, free: 107.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=212): time 4.619e-06/1.221, allocations: 1.125 kB / 0.6739 GB, free: 107.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=212): time 0.1333/1.354, allocations: 16.38 MB / 0.6899 GB, free: 104.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.089e-05/1.354, allocations: 151.8 kB / 0.6901 GB, free: 104.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006462/1.361, allocations: 4.665 MB / 0.6946 GB, free: 103 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005996/1.361, allocations: 58.53 kB / 0.6947 GB, free: 102.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002031/1.363, allocations: 3.493 MB / 0.6981 GB, free: 100.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001132/1.365, allocations: 0.8415 MB / 0.6989 GB, free: 99.56 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003281/1.365, allocations: 130.9 kB / 0.699 GB, free: 99.46 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003149/1.365, allocations: 0.5917 MB / 0.6996 GB, free: 98.95 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0038/1.369, allocations: 3.145 MB / 0.7027 GB, free: 96.14 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005595/1.375, allocations: 7.414 MB / 0.7099 GB, free: 86.65 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005649/1.38, allocations: 4.68 MB / 0.7145 GB, free: 81.97 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.915e-05/1.38, allocations: 44 kB / 0.7145 GB, free: 81.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=879) (initialization): time 0.01532/1.396, allocations: 10.56 MB / 0.7248 GB, free: 71.37 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.956e-05/1.396, allocations: 72 kB / 0.7249 GB, free: 71.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001357/1.396, allocations: 156.1 kB / 0.7251 GB, free: 71.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001655/1.396, allocations: 220 kB / 0.7253 GB, free: 70.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005899/1.402, allocations: 1.801 MB / 0.727 GB, free: 69.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001888/1.402, allocations: 298.8 kB / 0.7273 GB, free: 68.83 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006942/1.409, allocations: 0.9317 MB / 0.7282 GB, free: 67.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001315/1.411, allocations: 0.5108 MB / 0.7287 GB, free: 67.38 MB / 494.1 MB 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.004871/1.415, allocations: 2.311 MB / 0.731 GB, free: 65.06 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001289/1.417, allocations: 402.8 kB / 0.7314 GB, free: 64.66 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006551/1.423, allocations: 4.857 MB / 0.7361 GB, free: 59.79 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.424e-05/1.423, allocations: 24 kB / 0.7361 GB, free: 59.77 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.845e-05/1.423, allocations: 3.953 kB / 0.7361 GB, free: 59.76 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.874e-05/1.423, allocations: 11.95 kB / 0.7361 GB, free: 59.75 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01739/1.441, allocations: 11.52 MB / 0.7474 GB, free: 48.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.919e-05/1.441, allocations: 12.16 kB / 0.7474 GB, free: 48.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002515/1.443, allocations: 0.5928 MB / 0.748 GB, free: 47.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.948e-05/1.443, allocations: 16 kB / 0.748 GB, free: 47.49 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002263/1.444, allocations: 148.5 kB / 0.7481 GB, free: 47.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.732e-05/1.444, allocations: 19.94 kB / 0.7482 GB, free: 47.32 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.295e-06/1.444, allocations: 11.94 kB / 0.7482 GB, free: 47.31 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008896/1.453, allocations: 9.837 MB / 0.7578 GB, free: 37.08 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001541/1.454, allocations: 0.5187 MB / 0.7583 GB, free: 36.54 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00056/1.455, allocations: 44 kB / 0.7583 GB, free: 36.49 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001961/1.457, allocations: 87.97 kB / 0.7584 GB, free: 36.41 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003292/1.457, allocations: 240.9 kB / 0.7586 GB, free: 36.17 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002329/1.457, allocations: 163.8 kB / 0.7588 GB, free: 36.01 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004158/1.462, allocations: 2.923 MB / 0.7617 GB, free: 33.09 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.8e-07/1.462, allocations: 0 / 0.7617 GB, free: 33.09 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006729/1.468, allocations: 1.383 MB / 0.763 GB, free: 31.71 MB / 494.1 MB 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.00917/1.477, allocations: 12.2 MB / 0.7749 GB, free: 19.27 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01044/1.488, allocations: 7.054 MB / 0.7818 GB, free: 12.24 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-05/1.488, allocations: 4.375 kB / 0.7818 GB, free: 12.24 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002586/1.491, allocations: 2.437 MB / 0.7842 GB, free: 9.801 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003145/1.494, allocations: 0.493 MB / 0.7847 GB, free: 9.316 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3556/1.849, allocations: 151.8 MB / 0.933 GB, free: 65.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004604/1.854, allocations: 3.701 MB / 0.9366 GB, free: 64.45 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00661/1.861, allocations: 2.301 MB / 0.9388 GB, free: 64.27 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003768/1.865, allocations: 2.497 MB / 0.9413 GB, free: 62.48 MB / 0.5137 GB Notification: Performance of SimCode: time 1.092e-06/1.865, allocations: 3.516 kB / 0.9413 GB, free: 62.48 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4475/2.312, allocations: 104.4 MB / 1.043 GB, free: 153.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001644/2.312, allocations: 189.4 kB / 1.043 GB, free: 153.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 5/7.312, allocations: 0 / 1.043 GB, free: 153.6 MB / 0.5137 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_InitializationConversion_Rotor1D_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_InitializationConversion_Rotor1D.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat does not exist to compare? outputFormat=mat