Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.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.Parts.PointMass,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_PointMass",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.001189/0.001188, allocations: 96.28 kB / 15.69 MB, free: 480 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.001384/0.001384, allocations: 178.7 kB / 16.57 MB, free: 6.387 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.749/1.749, allocations: 205.4 MB / 222.7 MB, free: 5.676 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.3758/0.3758, allocations: 43.54 MB / 314.5 MB, free: 8.984 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.0007159/0.0007161, allocations: 16 kB / 384 MB, free: 8.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1478, allocations: 58.86 MB / 442.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.2173/0.3652, allocations: 14.73 MB / 457.6 MB, free: 35.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008375/0.3736, allocations: 3.976 MB / 461.6 MB, free: 35.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002738/0.3764, allocations: 69.75 kB / 461.6 MB, free: 35.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002154/0.3786, allocations: 0.6958 MB / 462.3 MB, free: 35.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006645/0.3852, allocations: 2.112 MB / 464.4 MB, free: 35.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.3864, allocations: 203.6 kB / 464.6 MB, free: 35.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002316/0.3888, allocations: 1.114 MB / 465.7 MB, free: 35.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002175/0.391, allocations: 1.5 MB / 467.2 MB, free: 35.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008506/0.3918, allocations: 0.5387 MB / 467.8 MB, free: 35.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009527/0.3928, allocations: 0.6958 MB / 468.5 MB, free: 35.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002629/0.3931, allocations: 76 kB / 468.6 MB, free: 35.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001063/0.3942, allocations: 0.5677 MB / 469.1 MB, free: 35.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006629/0.3948, allocations: 0.8114 MB / 469.9 MB, free: 34.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003963/0.3952, allocations: 481.3 kB / 470.4 MB, free: 34.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0025/0.3977, allocations: 2.795 MB / 473.2 MB, free: 34.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3978, allocations: 0 / 473.2 MB, free: 34.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.3978, allocations: 3.938 kB / 473.2 MB, free: 34.56 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.153e-05/0.3979, allocations: 0 / 473.2 MB, free: 34.56 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: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.003966/0.4018, allocations: 2.265 MB / 475.5 MB, free: 33.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.4019, allocations: 14 kB / 475.5 MB, free: 33.35 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005792/0.4025, allocations: 459.6 kB / 475.9 MB, free: 33.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005936/0.4084, allocations: 1.891 MB / 477.8 MB, free: 33.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003003/0.4115, allocations: 1.048 MB / 478.9 MB, free: 32.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.353e-05/0.4116, allocations: 116.6 kB / 479 MB, free: 32.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003988/0.412, allocations: 159.3 kB / 479.1 MB, free: 32.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009784/0.4218, allocations: 6.208 MB / 485.3 MB, free: 30.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.124e-05/0.4219, allocations: 31.94 kB / 485.4 MB, free: 30.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002532/0.4222, allocations: 83.53 kB / 485.5 MB, free: 30.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002972/0.4251, allocations: 1.441 MB / 486.9 MB, free: 30.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0119/0.4371, allocations: 5.412 MB / 492.3 MB, free: 28.81 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03284/0.47, allocations: 24.88 MB / 0.5051 GB, free: 25.76 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004784/0.4748, allocations: 2.378 MB / 0.5074 GB, free: 24.22 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004088/0.4753, allocations: 334.6 kB / 0.5077 GB, free: 23.9 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.4753, allocations: 44.22 kB / 0.5078 GB, free: 23.86 MB / 398.1 MB Notification: Performance of pre-optimization done (n=96): time 4.719e-06/0.4753, allocations: 4 kB / 0.5078 GB, free: 23.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=106): time 0.0225/0.4978, allocations: 8.792 MB / 0.5163 GB, free: 18.17 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.083e-05/0.498, allocations: 136.7 kB / 0.5165 GB, free: 18.01 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00347/0.5014, allocations: 2.628 MB / 0.519 GB, free: 15.35 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002142/0.5017, allocations: 45.64 kB / 0.5191 GB, free: 15.3 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001407/0.5031, allocations: 2.023 MB / 0.5211 GB, free: 13.28 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006263/0.5037, allocations: 440.9 kB / 0.5215 GB, free: 12.86 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001638/0.5039, allocations: 80 kB / 0.5216 GB, free: 12.78 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003227/0.5042, allocations: 495.5 kB / 0.522 GB, free: 12.29 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00212/0.5064, allocations: 1.316 MB / 0.5233 GB, free: 10.96 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00437/0.5107, allocations: 4.069 MB / 0.5273 GB, free: 5.484 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003645/0.5144, allocations: 2.302 MB / 0.5295 GB, free: 3.188 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.902e-05/0.5145, allocations: 31.94 kB / 0.5296 GB, free: 3.156 MB / 398.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01084/0.5253, allocations: 5.456 MB / 0.5349 GB, free: 13.69 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.06e-05/0.5255, allocations: 48 kB / 0.5349 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001259/0.5256, allocations: 96 kB / 0.535 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/0.5268, allocations: 477.2 kB / 0.5355 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003276/0.5301, allocations: 0.9708 MB / 0.5364 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004199/0.5343, allocations: 3.472 MB / 0.5398 GB, free: 8.512 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003449/0.5378, allocations: 232.8 kB / 0.5401 GB, free: 8.285 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007712/0.5386, allocations: 268 kB / 0.5403 GB, free: 8.023 MB / 414.1 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.00249/0.5411, allocations: 1.363 MB / 0.5416 GB, free: 6.652 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000468/0.5416, allocations: 217.1 kB / 0.5418 GB, free: 6.438 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002472/0.544, allocations: 1.326 MB / 0.5431 GB, free: 5.102 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.105e-05/0.5441, allocations: 12 kB / 0.5432 GB, free: 5.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/0.5441, allocations: 8.234 kB / 0.5432 GB, free: 5.082 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.5441, allocations: 3.984 kB / 0.5432 GB, free: 5.078 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008644/0.5528, allocations: 4.247 MB / 0.5473 GB, free: 0.793 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.808e-05/0.5529, allocations: 7.922 kB / 0.5473 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006913/0.5536, allocations: 135.8 kB / 0.5474 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008443/0.5544, allocations: 327.9 kB / 0.5478 GB, free: 340 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.654e-05/0.5545, allocations: 12 kB / 0.5478 GB, free: 328 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003628/0.5582, allocations: 2.889 MB / 0.5506 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.5582, allocations: 0 / 0.5506 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004966/0.5632, allocations: 3.119 MB / 0.5536 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001586/0.5648, allocations: 414.1 kB / 0.554 GB, free: 9.715 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003076/0.5651, allocations: 19.98 kB / 0.5541 GB, free: 9.695 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008137/0.5659, allocations: 43.94 kB / 0.5541 GB, free: 9.652 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/0.5661, allocations: 56.33 kB / 0.5541 GB, free: 9.598 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.389e-05/0.5662, allocations: 26.34 kB / 0.5542 GB, free: 9.574 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003024/0.5692, allocations: 1.625 MB / 0.5558 GB, free: 7.938 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5692, allocations: 4.062 kB / 0.5558 GB, free: 7.934 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004269/0.5735, allocations: 0.5938 MB / 0.5563 GB, free: 7.34 MB / 430.1 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.005026/0.5786, allocations: 3.916 MB / 0.5602 GB, free: 3.379 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005354/0.5839, allocations: 3.19 MB / 0.5633 GB, free: 204 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.584, allocations: 0 / 0.5633 GB, free: 204 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00121/0.5852, allocations: 0.8689 MB / 0.5641 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.5864, allocations: 193.4 kB / 0.5643 GB, free: 15.13 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2736/0.86, allocations: 87.46 MB / 0.6497 GB, free: 142.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001755/0.8618, allocations: 2.217 MB / 0.6519 GB, free: 141.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002854/0.8647, allocations: 1.394 MB / 0.6532 GB, free: 141.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001069/0.8658, allocations: 1.017 MB / 0.6542 GB, free: 141.3 MB / 0.4981 GB Notification: Performance of SimCode: time 1.222e-06/0.8658, allocations: 6.656 kB / 0.6542 GB, free: 141.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07903/0.9449, allocations: 45.12 MB / 0.6983 GB, free: 121.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001465/0.945, allocations: 189.9 kB / 0.6985 GB, free: 121.4 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.162/4.107, allocations: 3.938 kB / 0.6985 GB, free: 121.4 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_PointMass_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass_res.mat does not exist to compare? outputFormat=mat