Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance.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.Sensors.Distance,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_Distance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.Distance,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_Distance",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.001543/0.001543, allocations: 185.2 kB / 15.76 MB, free: 6.367 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.811/1.811, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009187/0.0009188, allocations: 90.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2196/0.2196, allocations: 43.56 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003589, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1399, allocations: 58.85 MB / 490.3 MB, free: 8.586 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4564/0.5964, allocations: 105.2 MB / 0.5815 GB, free: 10.89 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003145/0.5967, allocations: 90.61 kB / 0.5816 GB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1978/0.7945, allocations: 73.21 MB / 0.6531 GB, free: 9.492 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.108e-06/0.7946, allocations: 0 / 0.6531 GB, free: 9.492 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000245/0.7949, allocations: 68 kB / 0.6532 GB, free: 9.426 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: 1219 * Number of variables: 1219 Notification: Performance of Generate backend data structure: time 0.01286/0.8077, allocations: 3.512 MB / 0.6566 GB, free: 5.848 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/0.8078, allocations: 8.031 kB / 0.6566 GB, free: 5.84 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002396/0.8102, allocations: 0.6183 MB / 0.6572 GB, free: 5.211 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01696/0.8272, allocations: 4.246 MB / 0.6614 GB, free: 0.9531 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01248/0.8397, allocations: 4.251 MB / 0.6655 GB, free: 12.64 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002672/0.84, allocations: 250.4 kB / 0.6658 GB, free: 12.39 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001485/0.8415, allocations: 327.9 kB / 0.6661 GB, free: 12.07 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0153/0.8568, allocations: 8.29 MB / 0.6742 GB, free: 2.816 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001443/0.857, allocations: 59.47 kB / 0.6742 GB, free: 2.758 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004945/0.8575, allocations: 167.9 kB / 0.6744 GB, free: 2.594 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001063/0.8586, allocations: 0.825 MB / 0.6752 GB, free: 1.766 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01329/0.8719, allocations: 6.706 MB / 0.6817 GB, free: 11.05 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3463/1.218, allocations: 39.86 MB / 0.7207 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004968/1.223, allocations: 2.288 MB / 0.7229 GB, free: 99.58 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003674/1.224, allocations: 320.1 kB / 0.7232 GB, free: 99.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/1.224, allocations: 47.28 kB / 0.7233 GB, free: 99.26 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=117): time 4.268e-06/1.224, allocations: 0 / 0.7233 GB, free: 99.26 MB / 0.4948 GB Notification: Performance of matching and sorting (n=141): time 0.03663/1.26, allocations: 11.4 MB / 0.7344 GB, free: 96.49 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.656e-05/1.26, allocations: 193 kB / 0.7346 GB, free: 96.27 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005867/1.266, allocations: 3.322 MB / 0.7378 GB, free: 95.96 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003841/1.267, allocations: 47.89 kB / 0.7379 GB, free: 95.93 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002207/1.269, allocations: 2.694 MB / 0.7405 GB, free: 94.69 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008802/1.27, allocations: 0.5614 MB / 0.741 GB, free: 94.38 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002287/1.27, allocations: 101.6 kB / 0.7411 GB, free: 94.38 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002873/1.27, allocations: 0.5395 MB / 0.7417 GB, free: 94.07 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002175/1.273, allocations: 1.643 MB / 0.7433 GB, free: 94.05 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003675/1.276, allocations: 5.076 MB / 0.7482 GB, free: 89.58 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00376/1.28, allocations: 2.848 MB / 0.751 GB, free: 89.56 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.283e-05/1.28, allocations: 38.5 kB / 0.751 GB, free: 89.56 MB / 0.4948 GB Notification: Performance of matching and sorting (n=702) (initialization): time 0.01181/1.292, allocations: 6.655 MB / 0.7575 GB, free: 89.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.322e-05/1.292, allocations: 64.56 kB / 0.7576 GB, free: 89.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001706/1.292, allocations: 120 kB / 0.7577 GB, free: 89.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007328/1.293, allocations: 349.2 kB / 0.758 GB, free: 89.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003925/1.297, allocations: 1.244 MB / 0.7593 GB, free: 88.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00269/1.3, allocations: 2.759 MB / 0.762 GB, free: 87.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005619/1.305, allocations: 290.8 kB / 0.7622 GB, free: 87.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001078/1.306, allocations: 335.6 kB / 0.7626 GB, free: 87.54 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * Number of states: 0 () * Number of discrete variables: 27 (BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],Distance1.arrowColor[3],Distance1.arrowColor[2],Distance1.arrowColor[1],fixed.color[3],fixed.color[2],fixed.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (667): * Single equations (assignments): 663 * 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%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003972/1.31, allocations: 1.78 MB / 0.7643 GB, free: 86.95 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009892/1.311, allocations: 319 kB / 0.7646 GB, free: 86.77 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00304/1.314, allocations: 1.736 MB / 0.7663 GB, free: 86.07 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.476e-05/1.314, allocations: 18.66 kB / 0.7663 GB, free: 86.07 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.33e-05/1.314, allocations: 3.844 kB / 0.7663 GB, free: 86.07 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/1.314, allocations: 3.797 kB / 0.7663 GB, free: 86.07 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01032/1.325, allocations: 5.415 MB / 0.7716 GB, free: 83.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.414e-05/1.325, allocations: 6.094 kB / 0.7716 GB, free: 83.92 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001161/1.326, allocations: 215.7 kB / 0.7718 GB, free: 83.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005601/1.327, allocations: 158.4 kB / 0.772 GB, free: 83.87 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001245/1.327, allocations: 25.77 kB / 0.772 GB, free: 83.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002442/1.329, allocations: 2.197 MB / 0.7741 GB, free: 82.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/1.329, allocations: 7.25 kB / 0.7741 GB, free: 82.19 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005966/1.335, allocations: 3.827 MB / 0.7779 GB, free: 80.38 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002074/1.337, allocations: 0.5385 MB / 0.7784 GB, free: 80.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006868/1.338, allocations: 22.44 kB / 0.7784 GB, free: 80.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/1.339, allocations: 66.33 kB / 0.7785 GB, free: 80 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001853/1.34, allocations: 74.14 kB / 0.7786 GB, free: 79.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/1.34, allocations: 41.69 kB / 0.7786 GB, free: 79.97 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003848/1.343, allocations: 2.314 MB / 0.7809 GB, free: 79.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.31e-07/1.344, allocations: 0 / 0.7809 GB, free: 79.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005385/1.349, allocations: 0.8038 MB / 0.7816 GB, free: 79.09 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (112): * Single equations (assignments): 108 * 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%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005414/1.354, allocations: 4.761 MB / 0.7863 GB, free: 76.47 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006393/1.361, allocations: 3.999 MB / 0.7902 GB, free: 75.06 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/1.361, allocations: 0 / 0.7902 GB, free: 75.06 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001344/1.362, allocations: 1.086 MB / 0.7913 GB, free: 74.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002166/1.364, allocations: 342.9 kB / 0.7916 GB, free: 74.44 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07721/1.442, allocations: 111.8 MB / 0.9007 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004449/1.446, allocations: 2.827 MB / 0.9035 GB, free: 8.805 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.004493/1.451, allocations: 1.737 MB / 0.9052 GB, free: 7.711 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002197/1.453, allocations: 1.506 MB / 0.9067 GB, free: 6.312 MB / 0.5417 GB Notification: Performance of SimCode: time 1.202e-06/1.453, allocations: 4 kB / 0.9067 GB, free: 6.309 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3674/1.82, allocations: 63.16 MB / 0.9684 GB, free: 161.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000166/1.82, allocations: 194.9 kB / 0.9685 GB, free: 161.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.15/5.97, allocations: 0 / 0.9685 GB, free: 161.6 MB / 0.5417 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_Distance_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_Distance.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance_res.mat does not exist to compare? outputFormat=mat