Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001278, allocations: 95.89 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 177.1 kB / 16.56 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.707/1.707, allocations: 205.4 MB / 222.7 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4036/0.4036, allocations: 43.55 MB / 314.5 MB, free: 8.828 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005635/0.0005636, allocations: 22.97 kB / 384 MB, free: 7.934 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1601, allocations: 58.84 MB / 442.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5): time 0.3573/0.5175, allocations: 39.59 MB / 482.4 MB, free: 26.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02388/0.5414, allocations: 9.739 MB / 492.2 MB, free: 20.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01073/0.5522, allocations: 193.1 kB / 492.4 MB, free: 20.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009652/0.5619, allocations: 2.015 MB / 494.4 MB, free: 19.58 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02022/0.5822, allocations: 5.874 MB / 0.4885 GB, free: 16.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003507/0.5857, allocations: 494.7 kB / 0.489 GB, free: 16.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006332/0.5921, allocations: 2.254 MB / 0.4912 GB, free: 15.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01077/0.6029, allocations: 4.152 MB / 0.4952 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002929/0.6059, allocations: 0.9882 MB / 0.4962 GB, free: 13.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003488/0.6094, allocations: 1.338 MB / 0.4975 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009786/0.6104, allocations: 158.2 kB / 0.4977 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002682/0.6131, allocations: 0.8508 MB / 0.4985 GB, free: 13.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002339/0.6154, allocations: 1.623 MB / 0.5001 GB, free: 12.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001604/0.6171, allocations: 0.8978 MB / 0.501 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009775/0.6268, allocations: 6.028 MB / 0.5068 GB, free: 9.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.6269, allocations: 0 / 0.5068 GB, free: 9.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.806e-06/0.6269, allocations: 0.9062 kB / 0.5069 GB, free: 9.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003601/0.6273, allocations: 0 / 0.5069 GB, free: 9.32 MB / 382.1 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.01468/0.642, allocations: 4.401 MB / 0.5111 GB, free: 6.285 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.107e-05/0.642, allocations: 9.625 kB / 0.5112 GB, free: 6.285 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003913/0.646, allocations: 0.8349 MB / 0.512 GB, free: 5.715 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01389/0.6599, allocations: 3.831 MB / 0.5157 GB, free: 3.812 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008513/0.6684, allocations: 2.491 MB / 0.5181 GB, free: 2.293 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003834/0.6689, allocations: 251.6 kB / 0.5184 GB, free: 2.172 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002609/0.6715, allocations: 325.1 kB / 0.5187 GB, free: 2.059 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02465/0.6962, allocations: 11.94 MB / 0.5304 GB, free: 5.777 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001277/0.6963, allocations: 23.81 kB / 0.5304 GB, free: 5.754 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006534/0.697, allocations: 155.8 kB / 0.5305 GB, free: 5.602 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004612/0.7016, allocations: 2.645 MB / 0.5331 GB, free: 2.953 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02532/0.727, allocations: 11.04 MB / 0.5439 GB, free: 7.902 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07704/0.8041, allocations: 37.64 MB / 0.5806 GB, free: 1.438 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009694/0.8138, allocations: 4.413 MB / 0.585 GB, free: 12.8 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001685/0.8156, allocations: 1.311 MB / 0.5862 GB, free: 11.27 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.479e-05/0.8157, allocations: 56.52 kB / 0.5863 GB, free: 11.2 MB / 462.1 MB Notification: Performance of pre-optimization done (n=244): time 1.115e-05/0.8157, allocations: 3.984 kB / 0.5863 GB, free: 11.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=265): time 0.04378/0.8595, allocations: 14.44 MB / 0.6004 GB, free: 12.57 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.587e-05/0.8597, allocations: 73.41 kB / 0.6005 GB, free: 12.49 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006043/0.8657, allocations: 3.103 MB / 0.6035 GB, free: 9.367 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007687/0.8665, allocations: 61.7 kB / 0.6036 GB, free: 9.301 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002717/0.8692, allocations: 3.108 MB / 0.6066 GB, free: 6.148 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001796/0.8711, allocations: 0.9829 MB / 0.6076 GB, free: 5.152 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003033/0.8714, allocations: 116 kB / 0.6077 GB, free: 5.039 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0004504/0.8718, allocations: 0.5701 MB / 0.6082 GB, free: 4.461 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004173/0.876, allocations: 2.37 MB / 0.6105 GB, free: 2.086 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007089/0.8831, allocations: 5.647 MB / 0.616 GB, free: 10.82 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007108/0.8903, allocations: 3.661 MB / 0.6196 GB, free: 7.148 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.495e-05/0.8904, allocations: 36 kB / 0.6197 GB, free: 7.113 MB / 494.1 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.3668/1.257, allocations: 8.741 MB / 0.6282 GB, free: 134 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.601e-05/1.257, allocations: 57.17 kB / 0.6282 GB, free: 134 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001377/1.258, allocations: 114.8 kB / 0.6284 GB, free: 134 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003558/1.261, allocations: 1.061 MB / 0.6294 GB, free: 134 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005623/1.267, allocations: 1.375 MB / 0.6307 GB, free: 134 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002654/1.269, allocations: 2.505 MB / 0.6332 GB, free: 132.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005553/1.275, allocations: 319.5 kB / 0.6335 GB, free: 132.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001323/1.276, allocations: 346.7 kB / 0.6338 GB, free: 132.8 MB / 494.1 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.006236/1.283, allocations: 2.379 MB / 0.6361 GB, free: 132.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006912/1.283, allocations: 301.6 kB / 0.6364 GB, free: 132.6 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009566/1.293, allocations: 5.081 MB / 0.6414 GB, free: 132.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.68e-05/1.293, allocations: 47.14 kB / 0.6414 GB, free: 132.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.725e-05/1.293, allocations: 3.281 kB / 0.6414 GB, free: 132.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.814e-05/1.293, allocations: 12.47 kB / 0.6414 GB, free: 132.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02502/1.318, allocations: 11.77 MB / 0.6529 GB, free: 128.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.071e-05/1.318, allocations: 12.53 kB / 0.653 GB, free: 128.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001937/1.32, allocations: 426.1 kB / 0.6534 GB, free: 128.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003663/1.324, allocations: 0.9111 MB / 0.6543 GB, free: 128.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003132/1.324, allocations: 61.44 kB / 0.6543 GB, free: 128.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002776/1.327, allocations: 2.302 MB / 0.6566 GB, free: 127.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.034e-05/1.327, allocations: 14.97 kB / 0.6566 GB, free: 127.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01492/1.342, allocations: 8.208 MB / 0.6646 GB, free: 123.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001272/1.343, allocations: 356.2 kB / 0.6649 GB, free: 123.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005301/1.344, allocations: 50.83 kB / 0.665 GB, free: 123.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001324/1.345, allocations: 141.5 kB / 0.6651 GB, free: 123.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003641/1.345, allocations: 160.8 kB / 0.6653 GB, free: 123.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001942/1.346, allocations: 85.52 kB / 0.6653 GB, free: 123.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003352/1.349, allocations: 1.894 MB / 0.6672 GB, free: 122.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.21e-07/1.349, allocations: 3.562 kB / 0.6672 GB, free: 122.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00646/1.355, allocations: 1.057 MB / 0.6682 GB, free: 122.6 MB / 494.1 MB 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.01371/1.369, allocations: 10.79 MB / 0.6788 GB, free: 116.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01065/1.38, allocations: 6.224 MB / 0.6848 GB, free: 114 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.281e-05/1.38, allocations: 4.062 kB / 0.6849 GB, free: 114 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003932/1.384, allocations: 2.597 MB / 0.6874 GB, free: 111.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002625/1.387, allocations: 463.1 kB / 0.6878 GB, free: 111.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07976/1.466, allocations: 113.2 MB / 0.7984 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004776/1.471, allocations: 3.756 MB / 0.8021 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005591/1.477, allocations: 2.149 MB / 0.8042 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003222/1.48, allocations: 2.073 MB / 0.8062 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of SimCode: time 1.032e-06/1.48, allocations: 0 / 0.8062 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3993/1.879, allocations: 75.1 MB / 0.8795 GB, free: 148.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001541/1.88, allocations: 204.8 kB / 0.8797 GB, free: 147.9 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.016/5.896, allocations: 0 / 0.8797 GB, free: 147.9 MB / 0.5137 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat does not exist to compare? outputFormat=mat