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.00153/0.00153, allocations: 184.4 kB / 16.4 MB, free: 5.746 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.041/2.041, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001167/0.001167, allocations: 104.8 kB / 270.9 MB, free: 8.355 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.5592/0.5592, allocations: 43.55 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007021/0.0007022, allocations: 8 kB / 431.5 MB, free: 6.074 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1372, allocations: 58.85 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.3465/0.4837, allocations: 24.93 MB / 0.5032 GB, free: 32.71 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01541/0.4992, allocations: 5.625 MB / 0.5087 GB, free: 29.06 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006669/0.5059, allocations: 113.8 kB / 0.5088 GB, free: 29.04 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004475/0.5104, allocations: 1.277 MB / 0.51 GB, free: 28.64 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01395/0.5244, allocations: 3.655 MB / 0.5136 GB, free: 26.97 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001404/0.5259, allocations: 82.38 kB / 0.5137 GB, free: 26.93 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003627/0.5295, allocations: 1.573 MB / 0.5152 GB, free: 26.2 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003329/0.5329, allocations: 1.981 MB / 0.5171 GB, free: 25.4 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001347/0.5343, allocations: 0.7875 MB / 0.5179 GB, free: 25.13 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001687/0.536, allocations: 1.049 MB / 0.5189 GB, free: 24.79 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006146/0.5366, allocations: 122.8 kB / 0.519 GB, free: 24.79 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001243/0.5379, allocations: 363.8 kB / 0.5194 GB, free: 24.72 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001448/0.5394, allocations: 1.262 MB / 0.5206 GB, free: 24.3 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008159/0.5402, allocations: 0.7202 MB / 0.5213 GB, free: 23.76 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005619/0.5459, allocations: 4.289 MB / 0.5255 GB, free: 22.86 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.5459, allocations: 7.938 kB / 0.5255 GB, free: 22.86 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.527e-06/0.5459, allocations: 2.938 kB / 0.5255 GB, free: 22.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000216/0.5461, allocations: 0 / 0.5255 GB, free: 22.86 MB / 378.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.006993/0.5532, allocations: 3.098 MB / 0.5285 GB, free: 20.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.5532, allocations: 13.84 kB / 0.5286 GB, free: 20.93 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002155/0.5554, allocations: 0.6928 MB / 0.5292 GB, free: 20.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02174/0.5772, allocations: 3.616 MB / 0.5328 GB, free: 20.13 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004857/0.5821, allocations: 1.547 MB / 0.5343 GB, free: 19.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002114/0.5823, allocations: 175.7 kB / 0.5344 GB, free: 19.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001448/0.5838, allocations: 230.8 kB / 0.5347 GB, free: 19.06 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.027/0.6108, allocations: 9.938 MB / 0.5444 GB, free: 14.15 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001616/0.6111, allocations: 20.44 kB / 0.5444 GB, free: 14.14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001065/0.6121, allocations: 114.5 kB / 0.5445 GB, free: 14.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007643/0.6198, allocations: 2.531 MB / 0.547 GB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02592/0.6458, allocations: 8.932 MB / 0.5557 GB, free: 7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06748/0.7133, allocations: 31.54 MB / 0.5865 GB, free: 6.605 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009379/0.7228, allocations: 3.311 MB / 0.5897 GB, free: 3.055 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000153/0.723, allocations: 17.05 kB / 0.5897 GB, free: 3.039 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.588e-05/0.723, allocations: 43.56 kB / 0.5898 GB, free: 2.988 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 8.677e-06/0.7231, allocations: 4 kB / 0.5898 GB, free: 2.984 MB / 410.7 MB Notification: Performance of matching and sorting (n=150): time 0.01462/0.7377, allocations: 3.907 MB / 0.5936 GB, free: 14.96 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.108e-05/0.7378, allocations: 86.11 kB / 0.5937 GB, free: 14.86 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00789/0.7457, allocations: 3.153 MB / 0.5968 GB, free: 11.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003031/0.7461, allocations: 41.7 kB / 0.5968 GB, free: 11.64 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003086/0.7492, allocations: 2.725 MB / 0.5995 GB, free: 8.875 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001061/0.7503, allocations: 0.5708 MB / 0.6 GB, free: 8.297 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005035/0.7508, allocations: 95.98 kB / 0.6001 GB, free: 8.203 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005197/0.7513, allocations: 0.5215 MB / 0.6006 GB, free: 7.672 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00446/0.7558, allocations: 1.524 MB / 0.6021 GB, free: 6.141 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007885/0.7638, allocations: 4.493 MB / 0.6065 GB, free: 160 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00704/0.7709, allocations: 2.628 MB / 0.6091 GB, free: 13.53 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001255/0.771, allocations: 35.95 kB / 0.6091 GB, free: 13.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=647) (initialization): time 0.01664/0.7877, allocations: 5.79 MB / 0.6148 GB, free: 7.699 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001077/0.7878, allocations: 55.98 kB / 0.6148 GB, free: 7.645 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001774/0.788, allocations: 104 kB / 0.6149 GB, free: 7.543 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002306/0.7883, allocations: 156 kB / 0.6151 GB, free: 7.391 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006471/0.7948, allocations: 1.081 MB / 0.6161 GB, free: 6.309 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002766/0.7951, allocations: 203.2 kB / 0.6163 GB, free: 6.109 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005055/0.8002, allocations: 0.6956 MB / 0.617 GB, free: 5.406 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009624/0.8012, allocations: 299.9 kB / 0.6173 GB, free: 5.117 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 481 * 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 (599): * Single equations (assignments): 593 * 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.005329/0.8065, allocations: 1.985 MB / 0.6192 GB, free: 3.121 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006648/0.8072, allocations: 264.5 kB / 0.6195 GB, free: 2.859 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/0.8083, allocations: 348.3 kB / 0.6198 GB, free: 2.512 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.419e-05/0.8084, allocations: 16 kB / 0.6198 GB, free: 2.496 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/0.8084, allocations: 0 / 0.6198 GB, free: 2.496 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/0.8084, allocations: 3.984 kB / 0.6198 GB, free: 2.492 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01985/0.8283, allocations: 7.117 MB / 0.6268 GB, free: 11.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.139e-05/0.8283, allocations: 11.95 kB / 0.6268 GB, free: 11.19 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001547/0.8299, allocations: 175.7 kB / 0.6269 GB, free: 11.02 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-05/0.83, allocations: 15.98 kB / 0.627 GB, free: 11 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001582/0.8301, allocations: 28.66 kB / 0.627 GB, free: 10.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.088e-05/0.8302, allocations: 19.88 kB / 0.627 GB, free: 10.96 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.276e-05/0.8302, allocations: 12 kB / 0.627 GB, free: 10.95 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005738/0.8359, allocations: 2.975 MB / 0.6299 GB, free: 7.555 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/0.837, allocations: 373.1 kB / 0.6303 GB, free: 7.168 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007352/0.8378, allocations: 24 kB / 0.6303 GB, free: 7.145 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001602/0.8394, allocations: 47.95 kB / 0.6303 GB, free: 7.098 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000319/0.8398, allocations: 84.39 kB / 0.6304 GB, free: 7.016 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001582/0.8399, allocations: 51.98 kB / 0.6305 GB, free: 6.965 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005425/0.8454, allocations: 1.996 MB / 0.6324 GB, free: 4.969 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.32e-07/0.8454, allocations: 0 / 0.6324 GB, free: 4.969 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005963/0.8514, allocations: 1.039 MB / 0.6334 GB, free: 3.926 MB / 458.7 MB 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.007101/0.8585, allocations: 5.339 MB / 0.6387 GB, free: 14.36 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009505/0.8681, allocations: 3.575 MB / 0.6421 GB, free: 10.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.281e-05/0.8682, allocations: 0 / 0.6421 GB, free: 10.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002306/0.8705, allocations: 0.9214 MB / 0.643 GB, free: 9.887 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002216/0.8728, allocations: 296.5 kB / 0.6433 GB, free: 9.602 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4148/1.288, allocations: 98.22 MB / 0.7392 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006309/1.294, allocations: 3.155 MB / 0.7423 GB, free: 104.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003523/1.298, allocations: 1.635 MB / 0.7439 GB, free: 103 MB / 0.4948 GB Notification: Performance of SimCode: time 1.743e-06/1.298, allocations: 0 / 0.7439 GB, free: 103 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.72/5.018, allocations: 68.24 MB / 0.8106 GB, free: 59.45 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