Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass.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.PointMass,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_PointMass",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.002589/0.002593, allocations: 182.8 kB / 16.4 MB, free: 5.75 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.011/2.011, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001147/0.001148, allocations: 92.38 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5459/0.5459, allocations: 43.55 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004935/0.0004938, allocations: 16 kB / 431.5 MB, free: 6.055 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1318, allocations: 58.84 MB / 490.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.3475/0.4794, allocations: 14.74 MB / 0.4932 GB, free: 34.6 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0111/0.4906, allocations: 3.979 MB / 0.4971 GB, free: 34.12 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003766/0.4944, allocations: 65.91 kB / 0.4972 GB, free: 34.11 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003256/0.4977, allocations: 0.6897 MB / 0.4978 GB, free: 33.98 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009466/0.5072, allocations: 2.127 MB / 0.4999 GB, free: 33.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001449/0.5087, allocations: 196.6 kB / 0.5001 GB, free: 33.81 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003203/0.512, allocations: 1.11 MB / 0.5012 GB, free: 33.76 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003119/0.5151, allocations: 1.506 MB / 0.5026 GB, free: 33.55 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001283/0.5165, allocations: 0.5405 MB / 0.5032 GB, free: 33.46 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001362/0.5179, allocations: 0.6902 MB / 0.5039 GB, free: 33.34 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004033/0.5183, allocations: 72.16 kB / 0.5039 GB, free: 33.34 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001654/0.52, allocations: 0.5732 MB / 0.5045 GB, free: 33.32 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001297/0.5213, allocations: 0.8067 MB / 0.5053 GB, free: 33.22 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006937/0.522, allocations: 484.5 kB / 0.5057 GB, free: 33 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004803/0.5269, allocations: 2.791 MB / 0.5085 GB, free: 32.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.5269, allocations: 0 / 0.5085 GB, free: 32.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.855e-06/0.5269, allocations: 0 / 0.5085 GB, free: 32.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000145/0.5271, allocations: 4 kB / 0.5085 GB, free: 32.52 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: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.006661/0.5338, allocations: 2.276 MB / 0.5107 GB, free: 31.13 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.5338, allocations: 8.5 kB / 0.5107 GB, free: 31.13 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001356/0.5352, allocations: 458.8 kB / 0.5111 GB, free: 30.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01081/0.546, allocations: 1.884 MB / 0.513 GB, free: 30.67 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003202/0.5493, allocations: 1.055 MB / 0.514 GB, free: 30.03 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001317/0.5495, allocations: 125.5 kB / 0.5141 GB, free: 29.99 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007624/0.5503, allocations: 156.4 kB / 0.5143 GB, free: 29.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01377/0.564, allocations: 6.207 MB / 0.5203 GB, free: 26.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.832e-05/0.5642, allocations: 29.22 kB / 0.5204 GB, free: 26.97 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004079/0.5646, allocations: 84.55 kB / 0.5204 GB, free: 26.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004045/0.5687, allocations: 1.44 MB / 0.5218 GB, free: 26.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01563/0.5843, allocations: 5.41 MB / 0.5271 GB, free: 25.05 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04071/0.6251, allocations: 24.89 MB / 0.5514 GB, free: 22.07 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007883/0.6331, allocations: 2.381 MB / 0.5538 GB, free: 20.53 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005571/0.6337, allocations: 330.7 kB / 0.5541 GB, free: 20.21 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/0.6338, allocations: 42.69 kB / 0.5541 GB, free: 20.17 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 6.252e-06/0.6338, allocations: 112 / 0.5541 GB, free: 20.17 MB / 394.7 MB Notification: Performance of matching and sorting (n=106): time 0.0385/0.6723, allocations: 8.789 MB / 0.5627 GB, free: 14.28 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.405e-05/0.6724, allocations: 140.5 kB / 0.5628 GB, free: 14.11 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006076/0.6785, allocations: 2.632 MB / 0.5654 GB, free: 11.46 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002989/0.6789, allocations: 41.7 kB / 0.5654 GB, free: 11.41 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002368/0.6812, allocations: 2.02 MB / 0.5674 GB, free: 9.398 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008124/0.6821, allocations: 446.6 kB / 0.5678 GB, free: 8.965 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004363/0.6826, allocations: 84 kB / 0.5679 GB, free: 8.883 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.00045/0.683, allocations: 0.4924 MB / 0.5684 GB, free: 8.379 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003817/0.6869, allocations: 1.316 MB / 0.5697 GB, free: 7.055 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006841/0.6937, allocations: 4.073 MB / 0.5737 GB, free: 1.574 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005987/0.6998, allocations: 2.299 MB / 0.5759 GB, free: 15.28 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.689e-05/0.6999, allocations: 28 kB / 0.5759 GB, free: 15.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01631/0.7163, allocations: 5.4 MB / 0.5812 GB, free: 9.844 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.979e-05/0.7164, allocations: 44.28 kB / 0.5812 GB, free: 9.801 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001604/0.7166, allocations: 100 kB / 0.5813 GB, free: 9.703 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001917/0.7185, allocations: 480.8 kB / 0.5818 GB, free: 9.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005687/0.7242, allocations: 0.9708 MB / 0.5828 GB, free: 8.258 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006813/0.7311, allocations: 3.46 MB / 0.5861 GB, free: 4.672 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004418/0.7356, allocations: 227.5 kB / 0.5863 GB, free: 4.449 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009263/0.7365, allocations: 276.1 kB / 0.5866 GB, free: 4.18 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 450 * Number of states: 0 () * Number of discrete variables: 21 (rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (527): * Single equations (assignments): 523 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003729/0.7403, allocations: 1.375 MB / 0.588 GB, free: 2.797 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006029/0.7409, allocations: 217.1 kB / 0.5882 GB, free: 2.582 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004134/0.745, allocations: 1.322 MB / 0.5895 GB, free: 1.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.72e-05/0.7451, allocations: 16 kB / 0.5895 GB, free: 1.234 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.188e-06/0.7451, allocations: 0 / 0.5895 GB, free: 1.234 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.506e-05/0.7452, allocations: 11.94 kB / 0.5895 GB, free: 1.223 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01292/0.7581, allocations: 4.242 MB / 0.5936 GB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/0.7582, allocations: 0 / 0.5936 GB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001313/0.7595, allocations: 139.8 kB / 0.5938 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001532/0.761, allocations: 320 kB / 0.5941 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001253/0.7612, allocations: 23.94 kB / 0.5941 GB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0055/0.7667, allocations: 2.886 MB / 0.5969 GB, free: 9.453 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.7668, allocations: 3.938 kB / 0.5969 GB, free: 9.449 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007367/0.7742, allocations: 3.111 MB / 0.5999 GB, free: 6.297 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00145/0.7757, allocations: 414.1 kB / 0.6003 GB, free: 5.871 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004022/0.7761, allocations: 20.06 kB / 0.6004 GB, free: 5.852 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001318/0.7774, allocations: 44.12 kB / 0.6004 GB, free: 5.809 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002679/0.7777, allocations: 60.25 kB / 0.6005 GB, free: 5.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001203/0.7778, allocations: 35.3 kB / 0.6005 GB, free: 5.719 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004308/0.7822, allocations: 1.621 MB / 0.6021 GB, free: 4.086 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.32e-07/0.7822, allocations: 0 / 0.6021 GB, free: 4.086 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004897/0.7871, allocations: 0.5938 MB / 0.6027 GB, free: 3.492 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.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 (77): * Single equations (assignments): 73 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008435/0.7956, allocations: 3.917 MB / 0.6065 GB, free: 15.53 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008716/0.8044, allocations: 3.193 MB / 0.6096 GB, free: 12.35 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/0.8044, allocations: 0 / 0.6096 GB, free: 12.35 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002156/0.8066, allocations: 0.8664 MB / 0.6104 GB, free: 11.48 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001675/0.8083, allocations: 184.2 kB / 0.6106 GB, free: 11.29 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4181/1.226, allocations: 87.75 MB / 0.6963 GB, free: 147.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003919/1.23, allocations: 2.225 MB / 0.6985 GB, free: 146.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002469/1.233, allocations: 1.061 MB / 0.6995 GB, free: 146.6 MB / 0.4948 GB Notification: Performance of SimCode: time 1.883e-06/1.233, allocations: 0 / 0.6995 GB, free: 146.6 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.741/4.974, allocations: 59.29 MB / 0.7574 GB, free: 114.2 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_PointMass_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass_res.mat does not exist to compare? outputFormat=mat