Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation.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.FixedTranslation,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedTranslation",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.002107/0.002107, allocations: 183.3 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.628/1.628, 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.0009223/0.000922, allocations: 90.84 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.2271/0.2271, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003471/0.0003474, allocations: 8 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1366, allocations: 58.86 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3759/0.5126, allocations: 96.05 MB / 0.5726 GB, free: 3.844 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/0.5129, allocations: 81.89 kB / 0.5727 GB, free: 3.801 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1739/0.6868, allocations: 71.77 MB / 0.6428 GB, free: 3.902 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.636e-06/0.6869, allocations: 8 kB / 0.6428 GB, free: 3.895 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001329/0.687, allocations: 64 kB / 0.6429 GB, free: 3.832 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: 1520 * Number of variables: 1520 Notification: Performance of Generate backend data structure: time 0.01221/0.6993, allocations: 3.265 MB / 0.6461 GB, free: 0.5039 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.991e-05/0.6993, allocations: 8.031 kB / 0.6461 GB, free: 0.4961 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003621/0.703, allocations: 0.7666 MB / 0.6468 GB, free: 15.72 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01455/0.7175, allocations: 3.364 MB / 0.6501 GB, free: 12.34 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007411/0.725, allocations: 2.157 MB / 0.6522 GB, free: 10.14 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003329/0.7254, allocations: 291.5 kB / 0.6525 GB, free: 9.855 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002135/0.7275, allocations: 371.9 kB / 0.6528 GB, free: 9.492 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02199/0.7495, allocations: 9.61 MB / 0.6622 GB, free: 15.38 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001096/0.7497, allocations: 27.77 kB / 0.6623 GB, free: 15.35 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009135/0.7506, allocations: 167.9 kB / 0.6624 GB, free: 15.19 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00155/0.7522, allocations: 1.116 MB / 0.6635 GB, free: 14.07 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01849/0.7707, allocations: 8.904 MB / 0.6722 GB, free: 5.156 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05248/0.8232, allocations: 33.39 MB / 0.7048 GB, free: 2.82 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2328/1.056, allocations: 3.298 MB / 0.708 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001171/1.056, allocations: 17.58 kB / 0.708 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/1.056, allocations: 46.58 kB / 0.7081 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=150): time 6.853e-06/1.056, allocations: 0 / 0.7081 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=150): time 0.008602/1.065, allocations: 3.904 MB / 0.7119 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/1.065, allocations: 92.33 kB / 0.712 GB, free: 135.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005185/1.07, allocations: 2.823 MB / 0.7147 GB, free: 135.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001908/1.07, allocations: 44.47 kB / 0.7148 GB, free: 135.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00201/1.072, allocations: 2.745 MB / 0.7175 GB, free: 134 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008071/1.073, allocations: 0.5726 MB / 0.718 GB, free: 133.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/1.073, allocations: 93.97 kB / 0.7181 GB, free: 133.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003385/1.074, allocations: 0.5165 MB / 0.7186 GB, free: 133.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002834/1.077, allocations: 1.523 MB / 0.7201 GB, free: 133.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004328/1.081, allocations: 4.485 MB / 0.7245 GB, free: 129.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004468/1.085, allocations: 2.631 MB / 0.7271 GB, free: 129.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001073/1.086, allocations: 31.03 kB / 0.7271 GB, free: 129.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=646) (initialization): time 0.009875/1.095, allocations: 5.865 MB / 0.7328 GB, free: 128.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.682e-05/1.096, allocations: 49.91 kB / 0.7329 GB, free: 128.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.016e-05/1.096, allocations: 106 kB / 0.733 GB, free: 128.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001128/1.096, allocations: 156 kB / 0.7331 GB, free: 128.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002726/1.099, allocations: 1.082 MB / 0.7342 GB, free: 128.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001216/1.099, allocations: 210 kB / 0.7344 GB, free: 128.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003313/1.102, allocations: 0.6932 MB / 0.735 GB, free: 128.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000354/1.102, allocations: 297.1 kB / 0.7353 GB, free: 128.4 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 480 * Number of states: 0 () * Number of discrete variables: 27 (arrow.color[3],arrow.color[2],arrow.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (598): * Single equations (assignments): 592 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002911/1.105, allocations: 1.986 MB / 0.7373 GB, free: 128.1 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003726/1.106, allocations: 262 kB / 0.7375 GB, free: 128 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005975/1.106, allocations: 335.9 kB / 0.7378 GB, free: 128 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.791e-05/1.106, allocations: 15.66 kB / 0.7379 GB, free: 128 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.926e-05/1.106, allocations: 3.438 kB / 0.7379 GB, free: 128 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/1.106, allocations: 10.38 kB / 0.7379 GB, free: 128 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01075/1.117, allocations: 7.113 MB / 0.7448 GB, free: 126.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-05/1.117, allocations: 3.438 kB / 0.7448 GB, free: 126.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006798/1.118, allocations: 181 kB / 0.745 GB, free: 126.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.528e-05/1.118, allocations: 13.81 kB / 0.745 GB, free: 126.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.218e-05/1.118, allocations: 31.33 kB / 0.745 GB, free: 126.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.131e-05/1.118, allocations: 15.39 kB / 0.745 GB, free: 126.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.586e-06/1.118, allocations: 10.53 kB / 0.7451 GB, free: 126.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00265/1.121, allocations: 2.972 MB / 0.748 GB, free: 124.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008762/1.122, allocations: 377.7 kB / 0.7483 GB, free: 124 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002471/1.122, allocations: 23.62 kB / 0.7483 GB, free: 124 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000703/1.122, allocations: 45.81 kB / 0.7484 GB, free: 124 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/1.123, allocations: 90.8 kB / 0.7485 GB, free: 123.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.182e-05/1.123, allocations: 58.19 kB / 0.7485 GB, free: 123.9 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002428/1.125, allocations: 1.993 MB / 0.7505 GB, free: 123.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.8e-07/1.125, allocations: 0 / 0.7505 GB, free: 123.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004037/1.129, allocations: 1.046 MB / 0.7515 GB, free: 123 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 0 () * 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 (102): * Single equations (assignments): 96 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003216/1.132, allocations: 5.336 MB / 0.7567 GB, free: 118.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005155/1.138, allocations: 3.565 MB / 0.7602 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/1.138, allocations: 3.938 kB / 0.7602 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009999/1.139, allocations: 0.9243 MB / 0.7611 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001638/1.14, allocations: 284.7 kB / 0.7614 GB, free: 117.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05948/1.2, allocations: 97.6 MB / 0.8567 GB, free: 25.98 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004523/1.204, allocations: 3.152 MB / 0.8598 GB, free: 23.54 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004022/1.208, allocations: 1.74 MB / 0.8615 GB, free: 22.44 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002442/1.211, allocations: 1.595 MB / 0.863 GB, free: 20.96 MB / 0.4948 GB Notification: Performance of SimCode: time 1.944e-06/1.211, allocations: 0 / 0.863 GB, free: 20.96 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3268/1.538, allocations: 56.9 MB / 0.9186 GB, free: 141.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001518/1.538, allocations: 176 kB / 0.9187 GB, free: 141 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.826/5.364, allocations: 3.938 kB / 0.9188 GB, free: 141 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedTranslation_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedTranslation.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat does not exist to compare? outputFormat=mat