Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_4_0_0_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.0009804/0.0009804, allocations: 98.47 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 177.7 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 223.3 MB / 241.9 MB, free: 344 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2086/0.2086, allocations: 44.23 MB / 337.2 MB, free: 2.809 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003258/0.0003259, allocations: 8 kB / 409.7 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1188, allocations: 61.93 MB / 471.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.01505/0.1339, allocations: 15.53 MB / 487.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008457/0.1424, allocations: 3.857 MB / 491 MB, free: 10.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001935/0.1444, allocations: 67.88 kB / 491.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001499/0.1459, allocations: 0.762 MB / 491.9 MB, free: 9.352 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004942/0.1509, allocations: 2.222 MB / 494.1 MB, free: 7.121 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000768/0.1516, allocations: 251.5 kB / 494.3 MB, free: 6.875 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002474/0.1541, allocations: 2.165 MB / 496.5 MB, free: 4.707 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001987/0.1561, allocations: 1.51 MB / 498 MB, free: 3.168 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008572/0.157, allocations: 0.6537 MB / 498.7 MB, free: 2.512 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001221/0.1582, allocations: 0.9811 MB / 499.6 MB, free: 1.527 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001648/0.1584, allocations: 72 kB / 499.7 MB, free: 1.457 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001043/0.1595, allocations: 0.5967 MB / 0.4886 GB, free: 0.8594 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007422/0.1602, allocations: 0.8688 MB / 0.4894 GB, free: 15.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003669/0.1606, allocations: 484 kB / 0.4899 GB, free: 15.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002498/0.1631, allocations: 2.787 MB / 0.4926 GB, free: 12.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.1631, allocations: 0 / 0.4926 GB, free: 12.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1631, allocations: 11.88 kB / 0.4926 GB, free: 12.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.991e-05/0.1632, allocations: 0 / 0.4926 GB, free: 12.7 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.003127/0.1663, allocations: 2.228 MB / 0.4948 GB, free: 10.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.1664, allocations: 8.031 kB / 0.4948 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004683/0.1668, allocations: 462.2 kB / 0.4953 GB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00464/0.1715, allocations: 1.603 MB / 0.4968 GB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00155/0.1731, allocations: 1.056 MB / 0.4978 GB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.838e-05/0.1731, allocations: 118.9 kB / 0.498 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002624/0.1734, allocations: 155.8 kB / 0.4981 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007607/0.181, allocations: 6.167 MB / 0.5041 GB, free: 328 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.203e-05/0.1811, allocations: 27.72 kB / 0.5042 GB, free: 300 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002058/0.1813, allocations: 79.89 kB / 0.5042 GB, free: 220 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2163/0.3976, allocations: 1.44 MB / 0.5056 GB, free: 46.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01078/0.4084, allocations: 5.37 MB / 0.5109 GB, free: 46 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02547/0.434, allocations: 24.87 MB / 0.5352 GB, free: 27.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003795/0.4378, allocations: 2.339 MB / 0.5375 GB, free: 25.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001087/0.4389, allocations: 0.9846 MB / 0.5384 GB, free: 25.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002856/0.4392, allocations: 321.2 kB / 0.5387 GB, free: 24.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.4393, allocations: 53.58 kB / 0.5388 GB, free: 24.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 3.847e-06/0.4393, allocations: 0 / 0.5388 GB, free: 24.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=106): time 0.01839/0.4577, allocations: 8.479 MB / 0.5471 GB, free: 16.04 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/0.4578, allocations: 140.5 kB / 0.5472 GB, free: 15.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002728/0.4605, allocations: 2.624 MB / 0.5498 GB, free: 13.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001466/0.4607, allocations: 41.7 kB / 0.5498 GB, free: 13.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009535/0.4616, allocations: 2.02 MB / 0.5518 GB, free: 11.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003003/0.4619, allocations: 440.5 kB / 0.5522 GB, free: 10.74 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.4621, allocations: 82.72 kB / 0.5523 GB, free: 10.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.4623, allocations: 0.4916 MB / 0.5527 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001522/0.4638, allocations: 1.32 MB / 0.554 GB, free: 8.832 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002396/0.4662, allocations: 4.085 MB / 0.558 GB, free: 3.344 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002435/0.4687, allocations: 2.299 MB / 0.5603 GB, free: 1.051 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-05/0.4687, allocations: 28 kB / 0.5603 GB, free: 1.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.008564/0.4773, allocations: 5.445 MB / 0.5656 GB, free: 11.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.849e-05/0.4774, allocations: 52.25 kB / 0.5657 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001111/0.4775, allocations: 99.98 kB / 0.5658 GB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001067/0.4786, allocations: 472.5 kB / 0.5662 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002721/0.4813, allocations: 0.9708 MB / 0.5672 GB, free: 9.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004461/0.4858, allocations: 3.399 MB / 0.5705 GB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003362/0.4892, allocations: 239 kB / 0.5707 GB, free: 6.223 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004428/0.4896, allocations: 268 kB / 0.571 GB, free: 5.961 MB / 398.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.002222/0.4918, allocations: 1.364 MB / 0.5723 GB, free: 4.582 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004681/0.4923, allocations: 217.2 kB / 0.5725 GB, free: 4.367 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002325/0.4947, allocations: 1.322 MB / 0.5738 GB, free: 3.031 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.377e-05/0.4947, allocations: 12 kB / 0.5738 GB, free: 3.02 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/0.4947, allocations: 8 kB / 0.5738 GB, free: 3.012 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.65e-05/0.4947, allocations: 3.984 kB / 0.5738 GB, free: 3.008 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007248/0.502, allocations: 4.247 MB / 0.578 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/0.502, allocations: 8 kB / 0.578 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006358/0.5027, allocations: 135.8 kB / 0.5781 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008076/0.5035, allocations: 314.7 kB / 0.5784 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.867e-05/0.5036, allocations: 16 kB / 0.5784 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003308/0.5069, allocations: 2.824 MB / 0.5812 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.5069, allocations: 7.969 kB / 0.5812 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004346/0.5113, allocations: 3.048 MB / 0.5842 GB, free: 8.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009616/0.5123, allocations: 286.1 kB / 0.5844 GB, free: 7.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002004/0.5125, allocations: 13.09 kB / 0.5844 GB, free: 7.918 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007634/0.5133, allocations: 47.94 kB / 0.5845 GB, free: 7.871 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/0.5135, allocations: 52.84 kB / 0.5845 GB, free: 7.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.598e-05/0.5135, allocations: 32.62 kB / 0.5846 GB, free: 7.789 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002714/0.5163, allocations: 1.621 MB / 0.5862 GB, free: 6.156 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5163, allocations: 0 / 0.5862 GB, free: 6.156 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003422/0.5197, allocations: 0.6052 MB / 0.5867 GB, free: 5.555 MB / 414.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.005054/0.5248, allocations: 3.676 MB / 0.5903 GB, free: 1.859 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005501/0.5303, allocations: 3.193 MB / 0.5934 GB, free: 14.67 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.5304, allocations: 3.938 kB / 0.5935 GB, free: 14.67 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00121/0.5316, allocations: 0.8561 MB / 0.5943 GB, free: 13.8 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/0.5332, allocations: 210.3 kB / 0.5945 GB, free: 13.59 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03868/0.5719, allocations: 19.8 MB / 0.6138 GB, free: 7.344 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002726/0.5747, allocations: 2.167 MB / 0.6159 GB, free: 5.145 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003548/0.5783, allocations: 1.391 MB / 0.6173 GB, free: 3.746 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001841/0.5801, allocations: 1.026 MB / 0.6183 GB, free: 2.719 MB / 446.1 MB Notification: Performance of SimCode: time 2.795e-06/0.5802, allocations: 0 / 0.6183 GB, free: 2.719 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1121/0.6922, allocations: 45.18 MB / 0.6624 GB, free: 5.836 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001828/0.6925, allocations: 198.8 kB / 0.6626 GB, free: 5.598 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.176/3.868, allocations: 0 / 0.6626 GB, free: 5.598 MB / 494.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_PointMass_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass_res.mat does not exist to compare? outputFormat=mat