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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001875/0.001875, allocations: 183.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.5/1.5, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.000851/0.000851, allocations: 82.61 kB / 267 MB, free: 9.285 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.413/0.413, allocations: 43.46 MB / 358.6 MB, free: 51.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.943e-05/4.958e-05, allocations: 4 kB / 425.4 MB, free: 8.113 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1595, allocations: 58.84 MB / 484.3 MB, free: 13.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5237/0.6833, allocations: 96.57 MB / 0.5672 GB, free: 8.777 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002104/0.6835, allocations: 80.03 kB / 0.5673 GB, free: 8.742 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1212/0.8048, allocations: 47.66 MB / 0.6138 GB, free: 15.32 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.8048, allocations: 0 / 0.6138 GB, free: 15.32 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.741e-05/0.8049, allocations: 40 kB / 0.6139 GB, free: 15.29 MB / 442.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.006475/0.8114, allocations: 2.331 MB / 0.6161 GB, free: 13.09 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.789e-05/0.8115, allocations: 8.031 kB / 0.6162 GB, free: 13.08 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00124/0.8127, allocations: 0.4885 MB / 0.6166 GB, free: 12.75 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007646/0.8204, allocations: 1.762 MB / 0.6184 GB, free: 10.99 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003696/0.8241, allocations: 1.37 MB / 0.6197 GB, free: 9.848 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001558/0.8243, allocations: 183.7 kB / 0.6199 GB, free: 9.723 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007401/0.825, allocations: 239.6 kB / 0.6201 GB, free: 9.547 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0116/0.8367, allocations: 6.55 MB / 0.6265 GB, free: 3.797 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001033/0.8368, allocations: 39.62 kB / 0.6265 GB, free: 3.758 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003599/0.8372, allocations: 124.2 kB / 0.6266 GB, free: 3.695 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000864/0.8381, allocations: 0.7017 MB / 0.6273 GB, free: 3.098 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009532/0.8476, allocations: 5.419 MB / 0.6326 GB, free: 14.25 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03326/0.8809, allocations: 31.82 MB / 0.6637 GB, free: 13.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004768/0.8858, allocations: 2.336 MB / 0.666 GB, free: 10.82 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00133/0.8871, allocations: 0.9678 MB / 0.6669 GB, free: 9.84 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001157/0.8873, allocations: 47.91 kB / 0.667 GB, free: 9.793 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.8873, allocations: 46.55 kB / 0.667 GB, free: 9.738 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 4.859e-06/0.8873, allocations: 4 kB / 0.667 GB, free: 9.734 MB / 490.7 MB Notification: Performance of matching and sorting (n=115): time 0.02358/0.9109, allocations: 8.489 MB / 0.6753 GB, free: 1.113 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.612e-05/0.911, allocations: 145.1 kB / 0.6755 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003776/0.9148, allocations: 2.341 MB / 0.6777 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002501/0.9151, allocations: 45.61 kB / 0.6778 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001904/0.917, allocations: 2.024 MB / 0.6798 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006493/0.9177, allocations: 466.2 kB / 0.6802 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001847/0.9179, allocations: 88 kB / 0.6803 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003198/0.9182, allocations: 0.4918 MB / 0.6808 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002048/0.9203, allocations: 1.344 MB / 0.6821 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003815/0.9241, allocations: 4.114 MB / 0.6861 GB, free: 4.551 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003377/0.9275, allocations: 2.369 MB / 0.6884 GB, free: 2.18 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.093e-05/0.9276, allocations: 31.94 kB / 0.6884 GB, free: 2.148 MB / 0.4948 GB Notification: Performance of matching and sorting (n=570) (initialization): time 0.3019/1.229, allocations: 5.536 MB / 0.6938 GB, free: 122.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.723e-05/1.23, allocations: 47.38 kB / 0.6939 GB, free: 122.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001879/1.23, allocations: 99.8 kB / 0.694 GB, free: 122.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001298/1.231, allocations: 471.6 kB / 0.6944 GB, free: 122.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003954/1.235, allocations: 1.023 MB / 0.6954 GB, free: 122.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004205/1.239, allocations: 3.375 MB / 0.6987 GB, free: 120.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00359/1.243, allocations: 240.1 kB / 0.699 GB, free: 120.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001072/1.244, allocations: 279.3 kB / 0.6992 GB, free: 120.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 451 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (537): * Single equations (assignments): 533 * 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.0008372/1.245, allocations: 445.6 kB / 0.6997 GB, free: 120.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000476/1.245, allocations: 220.1 kB / 0.6999 GB, free: 120.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002732/1.248, allocations: 1.469 MB / 0.7013 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.889e-05/1.248, allocations: 14.89 kB / 0.7013 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/1.248, allocations: 6.953 kB / 0.7013 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/1.248, allocations: 6.562 kB / 0.7013 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00754/1.256, allocations: 4.455 MB / 0.7057 GB, free: 120.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.365e-06/1.256, allocations: 0 / 0.7057 GB, free: 120.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008849/1.257, allocations: 174.6 kB / 0.7058 GB, free: 120.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008067/1.258, allocations: 324.5 kB / 0.7062 GB, free: 120.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.663e-05/1.258, allocations: 18.56 kB / 0.7062 GB, free: 120.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002552/1.26, allocations: 2.814 MB / 0.7089 GB, free: 118.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.26, allocations: 0 / 0.7089 GB, free: 118.9 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00401/1.264, allocations: 3.303 MB / 0.7121 GB, free: 118.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009922/1.265, allocations: 431.6 kB / 0.7126 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002359/1.265, allocations: 18.78 kB / 0.7126 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007669/1.266, allocations: 46.12 kB / 0.7126 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/1.266, allocations: 64.95 kB / 0.7127 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.968e-05/1.267, allocations: 31.84 kB / 0.7127 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002308/1.269, allocations: 1.602 MB / 0.7143 GB, free: 118 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.91e-07/1.269, allocations: 0 / 0.7143 GB, free: 118 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003659/1.273, allocations: 0.6268 MB / 0.7149 GB, free: 118 MB / 0.4948 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 82 * 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.004206/1.277, allocations: 4.112 MB / 0.7189 GB, free: 116.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005331/1.282, allocations: 3.294 MB / 0.7221 GB, free: 116.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/1.282, allocations: 0 / 0.7221 GB, free: 116.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001065/1.283, allocations: 0.9288 MB / 0.723 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/1.284, allocations: 187.6 kB / 0.7232 GB, free: 115.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01255/1.297, allocations: 5.429 MB / 0.7285 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001871/1.299, allocations: 2.237 MB / 0.7307 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003441/1.302, allocations: 1.418 MB / 0.7321 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001405/1.304, allocations: 1.046 MB / 0.7331 GB, free: 112 MB / 0.4948 GB Notification: Performance of SimCode: time 1.082e-06/1.304, allocations: 0 / 0.7331 GB, free: 112 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07754/1.381, allocations: 46.9 MB / 0.7789 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001443/1.381, allocations: 162.5 kB / 0.7791 GB, free: 99.96 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.369/4.751, allocations: 7.938 kB / 0.7791 GB, free: 99.95 MB / 0.4948 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) 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