Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.001628/0.001628, allocations: 180.3 kB / 13.66 MB, free: 1.66 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.286/2.286, allocations: 205.2 MB / 219.4 MB, free: 14.23 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.00112/0.001119, allocations: 101.9 kB / 267.5 MB, free: 14.05 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.2841/0.2841, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.542e-05/3.55e-05, allocations: 0 / 425.4 MB, free: 23.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1208, allocations: 58.87 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5015/0.6224, allocations: 95.95 MB / 0.5666 GB, free: 7.715 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/0.6227, allocations: 81.73 kB / 0.5667 GB, free: 7.676 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3072/0.9299, allocations: 71.86 MB / 0.6368 GB, free: 7.707 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.93, allocations: 4 kB / 0.6369 GB, free: 7.703 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001727/0.9302, allocations: 64 kB / 0.6369 GB, free: 7.641 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.01235/0.9425, allocations: 3.16 MB / 0.64 GB, free: 4.422 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/0.9426, allocations: 12.03 kB / 0.64 GB, free: 4.41 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003898/0.9465, allocations: 0.7665 MB / 0.6408 GB, free: 3.633 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02681/0.9734, allocations: 3.348 MB / 0.644 GB, free: 280 kB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008619/0.982, allocations: 2.153 MB / 0.6461 GB, free: 14.07 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004977/0.9826, allocations: 295.4 kB / 0.6464 GB, free: 13.79 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002758/0.9854, allocations: 371.9 kB / 0.6468 GB, free: 13.42 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03198/1.017, allocations: 9.533 MB / 0.6561 GB, free: 3.387 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001749/1.018, allocations: 23.77 kB / 0.6561 GB, free: 3.363 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002224/1.02, allocations: 175.9 kB / 0.6563 GB, free: 3.191 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002987/1.023, allocations: 1.108 MB / 0.6573 GB, free: 2.082 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02791/1.051, allocations: 8.77 MB / 0.6659 GB, free: 9.297 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07457/1.125, allocations: 33.39 MB / 0.6985 GB, free: 6.969 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009518/1.135, allocations: 3.289 MB / 0.7017 GB, free: 3.441 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002478/1.138, allocations: 0.92 MB / 0.7026 GB, free: 2.516 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/1.138, allocations: 16.98 kB / 0.7026 GB, free: 2.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.193e-05/1.138, allocations: 47.97 kB / 0.7027 GB, free: 2.445 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=150): time 5.891e-06/1.138, allocations: 0 / 0.7027 GB, free: 2.445 MB / 0.4948 GB Notification: Performance of matching and sorting (n=150): time 0.3548/1.493, allocations: 2.586 MB / 0.7052 GB, free: 138 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.726e-05/1.493, allocations: 91.08 kB / 0.7053 GB, free: 137.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007939/1.501, allocations: 2.801 MB / 0.708 GB, free: 137.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002925/1.501, allocations: 40.86 kB / 0.7081 GB, free: 137.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002636/1.504, allocations: 2.723 MB / 0.7107 GB, free: 136.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001024/1.505, allocations: 0.5747 MB / 0.7113 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005813/1.505, allocations: 95.55 kB / 0.7114 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000445/1.506, allocations: 0.5194 MB / 0.7119 GB, free: 135.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004306/1.51, allocations: 1.492 MB / 0.7134 GB, free: 135.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006874/1.517, allocations: 4.452 MB / 0.7177 GB, free: 132.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007169/1.524, allocations: 2.628 MB / 0.7203 GB, free: 132.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001996/1.525, allocations: 31.22 kB / 0.7203 GB, free: 132.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=646) (initialization): time 0.0178/1.542, allocations: 5.722 MB / 0.7259 GB, free: 131.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001299/1.543, allocations: 50.5 kB / 0.7259 GB, free: 131.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000181/1.543, allocations: 107.7 kB / 0.726 GB, free: 131.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002223/1.543, allocations: 157 kB / 0.7262 GB, free: 131.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006683/1.55, allocations: 1.079 MB / 0.7272 GB, free: 131.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002808/1.55, allocations: 202.9 kB / 0.7274 GB, free: 131.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005582/1.556, allocations: 0.6919 MB / 0.7281 GB, free: 131 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001214/1.557, allocations: 298.1 kB / 0.7284 GB, free: 131 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 () * 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.001175/1.558, allocations: 485.3 kB / 0.7289 GB, free: 130.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005714/1.559, allocations: 263 kB / 0.7291 GB, free: 130.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001106/1.56, allocations: 335.8 kB / 0.7294 GB, free: 130.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.79e-05/1.56, allocations: 16.94 kB / 0.7294 GB, free: 130.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.407e-05/1.56, allocations: 2.688 kB / 0.7294 GB, free: 130.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.831e-05/1.56, allocations: 8.969 kB / 0.7295 GB, free: 130.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01822/1.578, allocations: 7.1 MB / 0.7364 GB, free: 129.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.63e-05/1.578, allocations: 11.19 kB / 0.7364 GB, free: 129.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001451/1.58, allocations: 177.9 kB / 0.7366 GB, free: 129.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.113e-05/1.58, allocations: 13.66 kB / 0.7366 GB, free: 129.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001347/1.58, allocations: 27.78 kB / 0.7366 GB, free: 129.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.577e-05/1.58, allocations: 10.69 kB / 0.7366 GB, free: 129.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-05/1.58, allocations: 14.72 kB / 0.7366 GB, free: 129.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004368/1.584, allocations: 2.966 MB / 0.7395 GB, free: 128.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00105/1.585, allocations: 367.4 kB / 0.7399 GB, free: 127.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005701/1.586, allocations: 27.72 kB / 0.7399 GB, free: 127.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001394/1.587, allocations: 48.3 kB / 0.7399 GB, free: 127.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002147/1.588, allocations: 87.02 kB / 0.74 GB, free: 127.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000137/1.588, allocations: 49.47 kB / 0.7401 GB, free: 127.9 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004699/1.592, allocations: 1.969 MB / 0.742 GB, free: 127.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.61e-07/1.593, allocations: 0 / 0.742 GB, free: 127.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005762/1.598, allocations: 1.052 MB / 0.743 GB, free: 127.1 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 () * 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.005275/1.604, allocations: 5.316 MB / 0.7482 GB, free: 123 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008077/1.612, allocations: 3.524 MB / 0.7517 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.178e-05/1.612, allocations: 3.938 kB / 0.7517 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001854/1.614, allocations: 0.9175 MB / 0.7526 GB, free: 121.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002087/1.616, allocations: 298.4 kB / 0.7528 GB, free: 121.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02657/1.642, allocations: 8.111 MB / 0.7608 GB, free: 118.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007489/1.65, allocations: 3.164 MB / 0.7639 GB, free: 117.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003923/1.654, allocations: 1.639 MB / 0.7655 GB, free: 115.8 MB / 0.4948 GB Notification: Performance of SimCode: time 1.643e-06/1.654, allocations: 0 / 0.7655 GB, free: 115.8 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.62/5.274, allocations: 68.22 MB / 0.8321 GB, free: 61.2 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_FixedTranslation_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_FixedTranslation.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat does not exist to compare? outputFormat=mat