Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002245/0.002244, allocations: 187.7 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.098/2.098, allocations: 205.4 MB / 222.5 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001067/0.001067, allocations: 106.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3033/0.3033, allocations: 43.56 MB / 362.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006263/0.0006265, allocations: 12 kB / 431.5 MB, free: 20.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1318, allocations: 58.87 MB / 490.3 MB, free: 9.258 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.05713/0.189, allocations: 35.37 MB / 0.5134 GB, free: 5.785 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.4133/0.6023, allocations: 7.804 MB / 0.521 GB, free: 9.938 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007453/0.6098, allocations: 174.8 kB / 0.5212 GB, free: 9.938 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006758/0.6166, allocations: 1.888 MB / 0.523 GB, free: 9.934 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02126/0.638, allocations: 5.297 MB / 0.5282 GB, free: 9.852 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002421/0.6404, allocations: 242.3 kB / 0.5284 GB, free: 9.848 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.03866/0.6792, allocations: 15.27 MB / 0.5433 GB, free: 7.598 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007808/0.687, allocations: 3.875 MB / 0.5471 GB, free: 6.312 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004/0.6911, allocations: 1.559 MB / 0.5486 GB, free: 6.008 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004137/0.6953, allocations: 1.932 MB / 0.5505 GB, free: 5.598 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001696/0.697, allocations: 230.2 kB / 0.5507 GB, free: 5.598 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003158/0.7002, allocations: 0.5605 MB / 0.5513 GB, free: 5.484 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003974/0.7042, allocations: 2.382 MB / 0.5536 GB, free: 3.832 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00263/0.7069, allocations: 1.334 MB / 0.5549 GB, free: 3.156 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01314/0.7201, allocations: 8.132 MB / 0.5629 GB, free: 12.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.7202, allocations: 1.859 kB / 0.5629 GB, free: 12.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.058e-05/0.7202, allocations: 0 / 0.5629 GB, free: 12.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003921/0.7206, allocations: 3.938 kB / 0.5629 GB, free: 12.08 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2817 * Number of variables: 2817 Notification: Performance of Generate backend data structure: time 0.01735/0.7379, allocations: 5.949 MB / 0.5687 GB, free: 6.617 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/0.738, allocations: 8.031 kB / 0.5687 GB, free: 6.609 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004338/0.7424, allocations: 1.277 MB / 0.5699 GB, free: 5.812 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04328/0.7857, allocations: 7.135 MB / 0.5769 GB, free: 15.04 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0112/0.7969, allocations: 3.207 MB / 0.58 GB, free: 12.45 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004864/0.7975, allocations: 321.7 kB / 0.5803 GB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002946/0.8004, allocations: 417.6 kB / 0.5807 GB, free: 12.01 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05315/0.8536, allocations: 18.98 MB / 0.5993 GB, free: 10.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000201/0.8539, allocations: 31.69 kB / 0.5993 GB, free: 10.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002637/0.8566, allocations: 205.5 kB / 0.5995 GB, free: 10.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01407/0.8707, allocations: 4.749 MB / 0.6041 GB, free: 5.793 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06073/0.9315, allocations: 17.59 MB / 0.6213 GB, free: 4.176 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2273/1.159, allocations: 61.36 MB / 0.6812 GB, free: 5.711 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04198/1.201, allocations: 8.425 MB / 0.6895 GB, free: 12.85 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04614/1.247, allocations: 11.93 MB / 0.7011 GB, free: 480 kB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.267e-05/1.247, allocations: 61.17 kB / 0.7012 GB, free: 408 kB / 0.4949 GB Notification: Performance of pre-optimization done (n=321): time 9.308e-06/1.247, allocations: 0 / 0.7012 GB, free: 408 kB / 0.4949 GB Notification: Performance of matching and sorting (n=321): time 0.0348/1.282, allocations: 8.554 MB / 0.7095 GB, free: 7.57 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.542e-05/1.282, allocations: 107 kB / 0.7096 GB, free: 7.449 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01485/1.297, allocations: 5.645 MB / 0.7151 GB, free: 1.824 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006363/1.298, allocations: 60.2 kB / 0.7152 GB, free: 1.762 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.3752/1.673, allocations: 4.984 MB / 0.7201 GB, free: 174.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002049/1.675, allocations: 1.197 MB / 0.7212 GB, free: 174.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009886/1.676, allocations: 179.2 kB / 0.7214 GB, free: 174.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0008924/1.677, allocations: 0.7277 MB / 0.7221 GB, free: 173.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009075/1.686, allocations: 3.174 MB / 0.7252 GB, free: 173.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01345/1.7, allocations: 8.584 MB / 0.7336 GB, free: 165.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01324/1.713, allocations: 5.278 MB / 0.7388 GB, free: 163.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00037/1.713, allocations: 58.62 kB / 0.7388 GB, free: 163.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.0297/1.743, allocations: 11.44 MB / 0.75 GB, free: 159.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001591/1.743, allocations: 86.91 kB / 0.7501 GB, free: 159.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002585/1.744, allocations: 189.2 kB / 0.7502 GB, free: 159.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003061/1.744, allocations: 278.7 kB / 0.7505 GB, free: 159.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0123/1.756, allocations: 2.078 MB / 0.7525 GB, free: 159 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003634/1.757, allocations: 371.7 kB / 0.7529 GB, free: 159 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009375/1.766, allocations: 1.331 MB / 0.7542 GB, free: 158.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001785/1.768, allocations: 0.5614 MB / 0.7547 GB, free: 158.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 868 * Number of states: 0 () * Number of discrete variables: 33 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1140): * Single equations (assignments): 1122 * Array equations: 18 * 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.008516/1.776, allocations: 3.696 MB / 0.7583 GB, free: 156.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009321/1.777, allocations: 487.8 kB / 0.7588 GB, free: 156.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001664/1.779, allocations: 0.6492 MB / 0.7594 GB, free: 155.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001311/1.779, allocations: 60.58 kB / 0.7595 GB, free: 155.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.942e-05/1.779, allocations: 0 / 0.7595 GB, free: 155.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.28e-05/1.779, allocations: 11.3 kB / 0.7595 GB, free: 155.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03018/1.809, allocations: 12.61 MB / 0.7718 GB, free: 146.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.252e-05/1.81, allocations: 12 kB / 0.7718 GB, free: 146.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003366/1.813, allocations: 426.5 kB / 0.7722 GB, free: 146.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-05/1.813, allocations: 31.98 kB / 0.7723 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002459/1.813, allocations: 58.58 kB / 0.7723 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-05/1.813, allocations: 31.77 kB / 0.7724 GB, free: 146 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.421e-05/1.813, allocations: 19.94 kB / 0.7724 GB, free: 146 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008761/1.822, allocations: 6.584 MB / 0.7788 GB, free: 139.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001422/1.824, allocations: 0.5907 MB / 0.7794 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001173/1.825, allocations: 54.27 kB / 0.7794 GB, free: 138.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003026/1.828, allocations: 131.6 kB / 0.7796 GB, free: 138.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006343/1.828, allocations: 171.5 kB / 0.7797 GB, free: 138.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002674/1.829, allocations: 105.4 kB / 0.7798 GB, free: 138.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007918/1.837, allocations: 3.456 MB / 0.7832 GB, free: 135.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.01e-07/1.837, allocations: 0 / 0.7832 GB, free: 135.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01066/1.847, allocations: 1.995 MB / 0.7852 GB, free: 133.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * 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 (225): * Single equations (assignments): 213 * Array equations: 12 * 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.01141/1.859, allocations: 10.12 MB / 0.795 GB, free: 123.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01581/1.875, allocations: 7.235 MB / 0.8021 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.562e-05/1.875, allocations: 0 / 0.8021 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004325/1.879, allocations: 1.995 MB / 0.8041 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003975/1.883, allocations: 0.5711 MB / 0.8046 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4209/2.304, allocations: 164.1 MB / 0.9649 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01388/2.318, allocations: 5.591 MB / 0.9703 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007631/2.326, allocations: 3.403 MB / 0.9736 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.413e-06/2.326, allocations: 3.938 kB / 0.9737 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.016/7.342, allocations: 132.4 MB / 1.103 GB, free: 9.16 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_FixedRotation_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_FixedRotation.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat does not exist to compare? outputFormat=mat