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.0007557/0.0007557, allocations: 88.19 kB / 15.7 MB, free: 460 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.0008318/0.0008317, allocations: 174 kB / 16.58 MB, free: 6.84 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.436/1.436, allocations: 205.4 MB / 222.8 MB, free: 5.648 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.3636/0.3636, allocations: 43.55 MB / 314.6 MB, free: 8.793 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.0004969/0.0004969, allocations: 12 kB / 384 MB, free: 7.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.127, allocations: 58.86 MB / 442.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.2465/0.3736, allocations: 15.55 MB / 458.4 MB, free: 36.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00837/0.382, allocations: 3.848 MB / 462.3 MB, free: 35.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00252/0.3846, allocations: 64.97 kB / 462.3 MB, free: 35.81 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001771/0.3864, allocations: 0.7787 MB / 463.1 MB, free: 35.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005472/0.3918, allocations: 2.215 MB / 465.3 MB, free: 35.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000886/0.3927, allocations: 240 kB / 465.6 MB, free: 35.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002586/0.3953, allocations: 2.178 MB / 467.7 MB, free: 34.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002331/0.3977, allocations: 1.52 MB / 469.3 MB, free: 34.63 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001076/0.3988, allocations: 0.6469 MB / 469.9 MB, free: 34.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001141/0.3999, allocations: 0.9843 MB / 470.9 MB, free: 34.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001753/0.4001, allocations: 71.19 kB / 471 MB, free: 34.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001051/0.4012, allocations: 0.5882 MB / 471.5 MB, free: 34.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007012/0.4019, allocations: 0.8701 MB / 472.4 MB, free: 34.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004035/0.4023, allocations: 480.6 kB / 472.9 MB, free: 34.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002401/0.4047, allocations: 2.797 MB / 475.7 MB, free: 33.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.4047, allocations: 0 / 475.7 MB, free: 33.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.4047, allocations: 0 / 475.7 MB, free: 33.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.301e-05/0.4048, allocations: 3.219 kB / 475.7 MB, free: 33.86 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.003322/0.4081, allocations: 2.221 MB / 477.9 MB, free: 32.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.4082, allocations: 6.5 kB / 477.9 MB, free: 32.64 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004478/0.4086, allocations: 461.2 kB / 478.4 MB, free: 32.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004819/0.4135, allocations: 1.602 MB / 480 MB, free: 32.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001869/0.4154, allocations: 1.058 MB / 481 MB, free: 31.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.411e-05/0.4154, allocations: 116.2 kB / 481.1 MB, free: 31.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002708/0.4157, allocations: 153.9 kB / 481.3 MB, free: 31.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008643/0.4244, allocations: 6.172 MB / 487.5 MB, free: 29.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-05/0.4245, allocations: 31.22 kB / 487.5 MB, free: 29.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000222/0.4247, allocations: 88.08 kB / 487.6 MB, free: 29.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002408/0.4271, allocations: 1.436 MB / 489 MB, free: 29.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01002/0.4372, allocations: 5.369 MB / 494.4 MB, free: 27.81 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02516/0.4624, allocations: 24.88 MB / 0.5071 GB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004053/0.4664, allocations: 2.344 MB / 0.5094 GB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001186/0.4677, allocations: 0.9831 MB / 0.5103 GB, free: 6.359 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000289/0.468, allocations: 330.1 kB / 0.5107 GB, free: 6.043 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.468, allocations: 47.42 kB / 0.5107 GB, free: 5.992 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 3.747e-06/0.468, allocations: 3.938 kB / 0.5107 GB, free: 5.988 MB / 382.1 MB Notification: Performance of matching and sorting (n=106): time 0.01936/0.4874, allocations: 8.481 MB / 0.519 GB, free: 15.46 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.494e-05/0.4875, allocations: 140.5 kB / 0.5191 GB, free: 15.3 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003642/0.4911, allocations: 2.632 MB / 0.5217 GB, free: 12.64 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001614/0.4913, allocations: 37.7 kB / 0.5217 GB, free: 12.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001461/0.4928, allocations: 2.025 MB / 0.5237 GB, free: 10.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004054/0.4932, allocations: 438.9 kB / 0.5241 GB, free: 10.15 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/0.4934, allocations: 87.94 kB / 0.5242 GB, free: 10.06 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000275/0.4936, allocations: 491.5 kB / 0.5247 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0018/0.4954, allocations: 1.32 MB / 0.526 GB, free: 8.246 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003537/0.499, allocations: 4.092 MB / 0.53 GB, free: 2.746 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003059/0.5021, allocations: 2.294 MB / 0.5322 GB, free: 468 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-05/0.5021, allocations: 28 kB / 0.5322 GB, free: 440 kB / 398.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.008605/0.5107, allocations: 5.452 MB / 0.5375 GB, free: 10.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.46e-05/0.5108, allocations: 55.8 kB / 0.5376 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.49e-05/0.511, allocations: 104 kB / 0.5377 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001033/0.512, allocations: 468.5 kB / 0.5381 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002576/0.5146, allocations: 0.9708 MB / 0.5391 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003989/0.5186, allocations: 3.396 MB / 0.5424 GB, free: 5.859 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002915/0.5215, allocations: 239.5 kB / 0.5426 GB, free: 5.629 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003669/0.5219, allocations: 268 kB / 0.5429 GB, free: 5.367 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.002238/0.5241, allocations: 1.367 MB / 0.5442 GB, free: 3.992 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003799/0.5245, allocations: 221.1 kB / 0.5444 GB, free: 3.773 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002286/0.5268, allocations: 1.318 MB / 0.5457 GB, free: 2.445 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.596e-05/0.5269, allocations: 16 kB / 0.5457 GB, free: 2.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.5269, allocations: 7.953 kB / 0.5458 GB, free: 2.422 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.5269, allocations: 8.266 kB / 0.5458 GB, free: 2.414 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006902/0.5338, allocations: 4.236 MB / 0.5499 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.5338, allocations: 4 kB / 0.5499 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005952/0.5344, allocations: 139.7 kB / 0.55 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000886/0.5353, allocations: 320.5 kB / 0.5503 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.839e-05/0.5354, allocations: 16 kB / 0.5504 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003053/0.5385, allocations: 2.822 MB / 0.5531 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.5385, allocations: 3.938 kB / 0.5531 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003939/0.5425, allocations: 3.054 MB / 0.5561 GB, free: 7.633 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009245/0.5434, allocations: 422 kB / 0.5565 GB, free: 7.199 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004521/0.5439, allocations: 12 kB / 0.5565 GB, free: 7.188 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009458/0.5448, allocations: 50.36 kB / 0.5566 GB, free: 7.141 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.545, allocations: 53.11 kB / 0.5566 GB, free: 7.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.328e-05/0.545, allocations: 32 kB / 0.5566 GB, free: 7.059 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003037/0.5481, allocations: 1.621 MB / 0.5582 GB, free: 5.426 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5481, allocations: 4 kB / 0.5582 GB, free: 5.422 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003611/0.5517, allocations: 0.5977 MB / 0.5588 GB, free: 4.824 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.00441/0.5561, allocations: 3.671 MB / 0.5624 GB, free: 1.121 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00509/0.5612, allocations: 3.188 MB / 0.5655 GB, free: 13.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.5613, allocations: 0 / 0.5655 GB, free: 13.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001111/0.5624, allocations: 0.8638 MB / 0.5664 GB, free: 13.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001888/0.5643, allocations: 215.6 kB / 0.5666 GB, free: 12.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03824/0.6025, allocations: 19.81 MB / 0.5859 GB, free: 6.582 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003028/0.6056, allocations: 2.167 MB / 0.588 GB, free: 4.383 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003693/0.6094, allocations: 1.395 MB / 0.5894 GB, free: 2.98 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001581/0.611, allocations: 1.019 MB / 0.5904 GB, free: 1.961 MB / 462.1 MB Notification: Performance of SimCode: time 1.373e-06/0.611, allocations: 0 / 0.5904 GB, free: 1.961 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07405/0.685, allocations: 45.16 MB / 0.6345 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001552/0.6852, allocations: 202.8 kB / 0.6347 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.966/3.651, allocations: 0 / 0.6347 GB, free: 4.59 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