Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.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.Joints.FreeMotionScalarInit5,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5",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.00165/0.001656, allocations: 188.9 kB / 16.4 MB, free: 5.625 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.116/2.116, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.001185/0.001184, allocations: 94.81 kB / 270.9 MB, free: 13.38 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.2957/0.2957, allocations: 43.57 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004781/0.0004784, allocations: 12 kB / 431.5 MB, free: 20.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1584, allocations: 58.86 MB / 490.3 MB, free: 9.238 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5): time 0.0754/0.2338, allocations: 39.58 MB / 0.5175 GB, free: 1.547 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.4463/0.6802, allocations: 9.734 MB / 0.527 GB, free: 9.797 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01029/0.6906, allocations: 197.8 kB / 0.5272 GB, free: 9.797 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00835/0.699, allocations: 2.017 MB / 0.5291 GB, free: 9.793 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02459/0.7236, allocations: 5.873 MB / 0.5349 GB, free: 9.43 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003837/0.7275, allocations: 495.1 kB / 0.5353 GB, free: 9.316 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.006633/0.7342, allocations: 2.261 MB / 0.5376 GB, free: 8.832 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009162/0.7434, allocations: 4.154 MB / 0.5416 GB, free: 7.559 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002917/0.7464, allocations: 0.9829 MB / 0.5426 GB, free: 7.207 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003431/0.7499, allocations: 1.347 MB / 0.5439 GB, free: 6.699 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001236/0.7512, allocations: 153.5 kB / 0.544 GB, free: 6.699 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003477/0.7547, allocations: 0.8511 MB / 0.5449 GB, free: 6.492 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003118/0.7578, allocations: 1.617 MB / 0.5464 GB, free: 6.012 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00198/0.7599, allocations: 0.8966 MB / 0.5473 GB, free: 5.793 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009292/0.7692, allocations: 6.038 MB / 0.5532 GB, free: 2.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.7693, allocations: 0 / 0.5532 GB, free: 2.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.7693, allocations: 0 / 0.5532 GB, free: 2.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003412/0.7696, allocations: 0 / 0.5532 GB, free: 2.52 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.01697/0.7866, allocations: 4.395 MB / 0.5575 GB, free: 15.87 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.654e-05/0.7867, allocations: 12.34 kB / 0.5575 GB, free: 15.86 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003707/0.7904, allocations: 0.8392 MB / 0.5583 GB, free: 15.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03058/0.8211, allocations: 3.832 MB / 0.5621 GB, free: 12.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008413/0.8295, allocations: 2.488 MB / 0.5645 GB, free: 10.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004002/0.83, allocations: 248.9 kB / 0.5647 GB, free: 10.74 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00225/0.8323, allocations: 329.4 kB / 0.5651 GB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03379/0.8661, allocations: 11.93 MB / 0.5767 GB, free: 0.7031 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000188/0.8663, allocations: 27.77 kB / 0.5767 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001721/0.8681, allocations: 154.5 kB / 0.5769 GB, free: 0.5703 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007915/0.876, allocations: 2.652 MB / 0.5795 GB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03546/0.9115, allocations: 11.02 MB / 0.5902 GB, free: 2.898 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0911/1.003, allocations: 37.63 MB / 0.627 GB, free: 12.71 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01416/1.017, allocations: 4.41 MB / 0.6313 GB, free: 8.066 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002026/1.019, allocations: 1.321 MB / 0.6326 GB, free: 6.539 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.707e-05/1.019, allocations: 52.5 kB / 0.6326 GB, free: 6.48 MB / 442.7 MB Notification: Performance of pre-optimization done (n=244): time 6.773e-06/1.019, allocations: 4 kB / 0.6326 GB, free: 6.477 MB / 442.7 MB Notification: Performance of matching and sorting (n=265): time 0.07517/1.094, allocations: 14.47 MB / 0.6468 GB, free: 7.84 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/1.094, allocations: 73.41 kB / 0.6468 GB, free: 7.758 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006862/1.101, allocations: 3.093 MB / 0.6499 GB, free: 4.648 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006479/1.102, allocations: 64.38 kB / 0.6499 GB, free: 4.582 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003299/1.105, allocations: 3.095 MB / 0.6529 GB, free: 1.5 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001795/1.107, allocations: 0.9823 MB / 0.6539 GB, free: 0.5273 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006841/1.108, allocations: 116 kB / 0.654 GB, free: 424 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000631/1.108, allocations: 0.5671 MB / 0.6546 GB, free: 15.84 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007023/1.116, allocations: 2.374 MB / 0.6569 GB, free: 13.46 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01053/1.126, allocations: 5.65 MB / 0.6624 GB, free: 6.184 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009694/1.136, allocations: 3.661 MB / 0.666 GB, free: 2.516 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001202/1.136, allocations: 32 kB / 0.666 GB, free: 2.484 MB / 474.7 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.02868/1.165, allocations: 8.677 MB / 0.6745 GB, free: 9.793 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001192/1.165, allocations: 60.19 kB / 0.6745 GB, free: 9.738 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001978/1.165, allocations: 112 kB / 0.6746 GB, free: 9.629 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006936/1.172, allocations: 1.064 MB / 0.6757 GB, free: 8.555 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009096/1.181, allocations: 1.376 MB / 0.677 GB, free: 7.176 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004852/1.186, allocations: 2.504 MB / 0.6795 GB, free: 4.531 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005975/1.192, allocations: 327.8 kB / 0.6798 GB, free: 4.211 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00142/1.194, allocations: 344 kB / 0.6801 GB, free: 3.875 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 523 * Number of states: 0 () * Number of discrete variables: 27 (freeMotionScalarInit2.arrowColor[3],freeMotionScalarInit2.arrowColor[2],freeMotionScalarInit2.arrowColor[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.arrowColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (744): * Single equations (assignments): 735 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007057/1.201, allocations: 2.368 MB / 0.6824 GB, free: 1.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008091/1.201, allocations: 300.1 kB / 0.6827 GB, free: 1.203 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01843/1.22, allocations: 5.094 MB / 0.6877 GB, free: 12.04 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001277/1.22, allocations: 47.98 kB / 0.6877 GB, free: 12 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.504e-05/1.22, allocations: 0 / 0.6877 GB, free: 12 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.924e-05/1.22, allocations: 11.95 kB / 0.6877 GB, free: 11.98 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03948/1.26, allocations: 11.78 MB / 0.6992 GB, free: 104 kB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.352e-05/1.26, allocations: 8 kB / 0.6993 GB, free: 96 kB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004205/1.264, allocations: 424.5 kB / 0.6997 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006717/1.271, allocations: 0.9112 MB / 0.7005 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007724/1.272, allocations: 55.98 kB / 0.7006 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00445/1.276, allocations: 2.303 MB / 0.7028 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-05/1.276, allocations: 8 kB / 0.7029 GB, free: 12.26 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02228/1.298, allocations: 8.213 MB / 0.7109 GB, free: 3.617 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001045/1.3, allocations: 345.1 kB / 0.7112 GB, free: 3.258 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001048/1.301, allocations: 59.94 kB / 0.7113 GB, free: 3.199 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002629/1.303, allocations: 138.4 kB / 0.7114 GB, free: 3.066 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000731/1.304, allocations: 153.7 kB / 0.7115 GB, free: 2.914 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002926/1.304, allocations: 75.98 kB / 0.7116 GB, free: 2.84 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004838/1.309, allocations: 1.898 MB / 0.7135 GB, free: 0.9414 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.31e-07/1.309, allocations: 0 / 0.7135 GB, free: 0.9414 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.3462/1.655, allocations: 1.058 MB / 0.7145 GB, free: 176.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit1.r_rel_a_1,freeMotionScalarInit1.r_rel_a_2,freeMotionScalarInit1.r_rel_a_3,freeMotionScalarInit1.v_rel_a_1,freeMotionScalarInit1.v_rel_a_2,freeMotionScalarInit1.v_rel_a_3,freeMotionScalarInit2.angle_1,freeMotionScalarInit2.angle_2,freeMotionScalarInit2.angle_3,freeMotionScalarInit2.angle_d_1,freeMotionScalarInit2.angle_d_2,freeMotionScalarInit2.angle_d_3) * 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 (216): * Single equations (assignments): 207 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02507/1.681, allocations: 10.79 MB / 0.725 GB, free: 172.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01902/1.7, allocations: 6.242 MB / 0.7311 GB, free: 170.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.309e-05/1.7, allocations: 1.562 kB / 0.7311 GB, free: 170.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.008256/1.708, allocations: 2.601 MB / 0.7337 GB, free: 169.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003948/1.712, allocations: 451.7 kB / 0.7341 GB, free: 169.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1149/1.827, allocations: 113.8 MB / 0.8452 GB, free: 67.14 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01125/1.838, allocations: 3.764 MB / 0.8489 GB, free: 64.25 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00747/1.846, allocations: 2.12 MB / 0.851 GB, free: 62.18 MB / 0.5105 GB Notification: Performance of SimCode: time 2.154e-06/1.846, allocations: 0 / 0.851 GB, free: 62.18 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.105/6.951, allocations: 147.4 MB / 0.9949 GB, free: 116 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat does not exist to compare? outputFormat=mat