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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.002015/0.002015, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 221.3 MB / 236 MB, free: 2.973 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 91.67 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.198/0.198, allocations: 44.16 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.587e-05/3.588e-05, allocations: 4.219 kB / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1403, allocations: 61.92 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.439/0.5793, allocations: 98.02 MB / 0.5975 GB, free: 7.188 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002938/0.5797, allocations: 82.83 kB / 0.5976 GB, free: 7.109 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1245/0.7042, allocations: 48.4 MB / 0.6449 GB, free: 6.301 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.7042, allocations: 0 / 0.6449 GB, free: 6.301 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.037e-05/0.7043, allocations: 44 kB / 0.6449 GB, free: 6.258 MB / 458.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.005429/0.7098, allocations: 2.323 MB / 0.6472 GB, free: 3.879 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.499e-05/0.7098, allocations: 12.03 kB / 0.6472 GB, free: 3.867 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001204/0.7111, allocations: 0.4904 MB / 0.6477 GB, free: 3.367 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007473/0.7185, allocations: 1.763 MB / 0.6494 GB, free: 1.598 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003388/0.722, allocations: 1.361 MB / 0.6507 GB, free: 196 kB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001416/0.7221, allocations: 184.7 kB / 0.6509 GB, free: 8 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005798/0.7227, allocations: 243.8 kB / 0.6511 GB, free: 15.77 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01071/0.7334, allocations: 6.541 MB / 0.6575 GB, free: 8.457 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.34e-05/0.7336, allocations: 47.61 kB / 0.6576 GB, free: 8.41 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003571/0.734, allocations: 127.9 kB / 0.6577 GB, free: 8.285 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008645/0.7348, allocations: 0.6955 MB / 0.6584 GB, free: 7.59 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009708/0.7445, allocations: 5.416 MB / 0.6636 GB, free: 2.168 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03016/0.7747, allocations: 31.82 MB / 0.6947 GB, free: 1.223 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004421/0.7792, allocations: 2.352 MB / 0.697 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00111/0.7803, allocations: 0.9755 MB / 0.698 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/0.7805, allocations: 43.92 kB / 0.698 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.278e-05/0.7805, allocations: 42.56 kB / 0.6981 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=96): time 3.416e-06/0.7805, allocations: 0 / 0.6981 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=115): time 0.02169/0.8022, allocations: 8.487 MB / 0.7063 GB, free: 5.016 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.473e-05/0.8023, allocations: 137.1 kB / 0.7065 GB, free: 4.852 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003107/0.8054, allocations: 2.337 MB / 0.7088 GB, free: 2.488 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001455/0.8056, allocations: 41.7 kB / 0.7088 GB, free: 2.441 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001241/0.8069, allocations: 2.032 MB / 0.7108 GB, free: 388 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.2933/1.1, allocations: 465.6 kB / 0.7112 GB, free: 150.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005614/1.101, allocations: 86.09 kB / 0.7113 GB, free: 150.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003359/1.101, allocations: 498.3 kB / 0.7118 GB, free: 150.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002298/1.103, allocations: 1.346 MB / 0.7131 GB, free: 150.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003214/1.107, allocations: 4.116 MB / 0.7171 GB, free: 146.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003805/1.11, allocations: 2.37 MB / 0.7194 GB, free: 146.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001198/1.111, allocations: 29 kB / 0.7195 GB, free: 146.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=570) (initialization): time 0.01245/1.123, allocations: 5.538 MB / 0.7249 GB, free: 146.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001063/1.123, allocations: 51.36 kB / 0.7249 GB, free: 146.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001688/1.123, allocations: 99 kB / 0.725 GB, free: 146.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001287/1.125, allocations: 477.9 kB / 0.7255 GB, free: 146.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003809/1.128, allocations: 1.024 MB / 0.7265 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004338/1.133, allocations: 3.377 MB / 0.7298 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003179/1.136, allocations: 230.6 kB / 0.73 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000724/1.137, allocations: 278.1 kB / 0.7302 GB, free: 144.8 MB / 0.5105 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.001118/1.138, allocations: 447.9 kB / 0.7307 GB, free: 144.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004791/1.138, allocations: 220.3 kB / 0.7309 GB, free: 144.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003134/1.142, allocations: 1.47 MB / 0.7323 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-05/1.142, allocations: 13.69 kB / 0.7323 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/1.142, allocations: 3.234 kB / 0.7323 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.949e-05/1.142, allocations: 9.656 kB / 0.7323 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008867/1.151, allocations: 4.466 MB / 0.7367 GB, free: 143.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/1.151, allocations: 0 / 0.7367 GB, free: 143.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008405/1.151, allocations: 177.9 kB / 0.7369 GB, free: 143.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007693/1.152, allocations: 309 kB / 0.7372 GB, free: 143 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.749e-05/1.152, allocations: 21.77 kB / 0.7372 GB, free: 143 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002581/1.155, allocations: 2.808 MB / 0.7399 GB, free: 141.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/1.155, allocations: 1.969 kB / 0.7399 GB, free: 141.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003936/1.159, allocations: 3.296 MB / 0.7432 GB, free: 139.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006973/1.16, allocations: 286.3 kB / 0.7434 GB, free: 139.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002313/1.16, allocations: 22.25 kB / 0.7435 GB, free: 139.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007991/1.161, allocations: 49.12 kB / 0.7435 GB, free: 139.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001561/1.161, allocations: 61.77 kB / 0.7436 GB, free: 139.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.859e-05/1.161, allocations: 38.91 kB / 0.7436 GB, free: 139.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002596/1.164, allocations: 1.591 MB / 0.7451 GB, free: 138.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.41e-07/1.164, allocations: 0 / 0.7451 GB, free: 138.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003923/1.167, allocations: 0.6246 MB / 0.7458 GB, free: 138.8 MB / 0.5105 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.004233/1.172, allocations: 4.116 MB / 0.7498 GB, free: 136.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005206/1.177, allocations: 3.293 MB / 0.753 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/1.177, allocations: 0 / 0.753 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001062/1.178, allocations: 0.9326 MB / 0.7539 GB, free: 135 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/1.179, allocations: 183.4 kB / 0.7541 GB, free: 134.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01221/1.192, allocations: 5.426 MB / 0.7594 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001752/1.193, allocations: 2.244 MB / 0.7616 GB, free: 131.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00379/1.197, allocations: 1.422 MB / 0.763 GB, free: 131.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001388/1.199, allocations: 1.037 MB / 0.764 GB, free: 131 MB / 0.5105 GB Notification: Performance of SimCode: time 1.563e-06/1.199, allocations: 0 / 0.764 GB, free: 131 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06916/1.268, allocations: 46.95 MB / 0.8098 GB, free: 95.06 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001916/1.268, allocations: 168.9 kB / 0.81 GB, free: 94.84 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.733/5.001, allocations: 0 / 0.81 GB, free: 94.84 MB / 0.5105 GB (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