Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001566/0.001566, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009081/0.000908, allocations: 102.9 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.205/0.205, allocations: 45.15 MB / 383.8 MB, free: 280 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.035e-05/2.038e-05, allocations: 4 kB / 453.3 MB, free: 75.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1191, allocations: 63.25 MB / 0.5045 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4089/0.528, allocations: 105.8 MB / 0.6077 GB, free: 12.98 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000199/0.5282, allocations: 77.44 kB / 0.6078 GB, free: 12.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.232/0.7603, allocations: 93.63 MB / 0.6992 GB, free: 7.344 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.7603, allocations: 0 / 0.6992 GB, free: 7.344 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002624/0.7606, allocations: 84 kB / 0.6993 GB, free: 7.262 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1739 * Number of variables: 1739 Notification: Performance of Generate backend data structure: time 0.01828/0.7789, allocations: 4.517 MB / 0.7037 GB, free: 2.68 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.779, allocations: 12.03 kB / 0.7037 GB, free: 2.668 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01523/0.7942, allocations: 3.574 MB / 0.7072 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01091/0.8051, allocations: 4.105 MB / 0.7112 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003184/0.8055, allocations: 148 kB / 0.7114 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002426/0.808, allocations: 263.9 kB / 0.7116 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01572/0.8237, allocations: 7.828 MB / 0.7193 GB, free: 2.688 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02428/0.848, allocations: 10.31 MB / 0.7293 GB, free: 7.914 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002624/0.8483, allocations: 35.66 kB / 0.7294 GB, free: 7.879 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001999/0.8503, allocations: 15.98 kB / 0.7294 GB, free: 7.863 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001754/0.8521, allocations: 1.208 MB / 0.7306 GB, free: 6.652 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3217/1.174, allocations: 35.01 MB / 0.7648 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004317/1.178, allocations: 3.706 MB / 0.7684 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002593/1.181, allocations: 2.042 MB / 0.7704 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009849/1.182, allocations: 1.317 MB / 0.7717 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/1.182, allocations: 57.03 kB / 0.7717 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=237): time 4.689e-06/1.182, allocations: 2.531 kB / 0.7717 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=264): time 0.024/1.206, allocations: 11.02 MB / 0.7825 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/1.206, allocations: 71.97 kB / 0.7825 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003362/1.209, allocations: 2.484 MB / 0.785 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005159/1.21, allocations: 25.7 kB / 0.785 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001798/1.212, allocations: 3.114 MB / 0.788 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008664/1.213, allocations: 0.9582 MB / 0.789 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002108/1.213, allocations: 0 / 0.789 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002947/1.213, allocations: 0.574 MB / 0.7895 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002483/1.216, allocations: 2.298 MB / 0.7918 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003649/1.219, allocations: 5.72 MB / 0.7974 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004308/1.224, allocations: 3.662 MB / 0.8009 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.097e-05/1.224, allocations: 35.47 kB / 0.801 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=824) (initialization): time 0.0132/1.237, allocations: 8.188 MB / 0.809 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001526/1.237, allocations: 58.67 kB / 0.809 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001758/1.237, allocations: 125.8 kB / 0.8091 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003598/1.241, allocations: 1.073 MB / 0.8102 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004339/1.245, allocations: 1.437 MB / 0.8116 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002006/1.247, allocations: 2.399 MB / 0.8139 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003711/1.251, allocations: 211.7 kB / 0.8141 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008383/1.252, allocations: 370.5 kB / 0.8145 GB, free: 107.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * Number of states: 0 () * Number of discrete variables: 29 (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.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit1.arrow.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (771): * Single equations (assignments): 762 * 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.001209/1.253, allocations: 424.5 kB / 0.8149 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007646/1.261, allocations: 4.424 MB / 0.8192 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000667/1.261, allocations: 296 kB / 0.8195 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008484/1.27, allocations: 5.019 MB / 0.8244 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.417e-05/1.27, allocations: 47.41 kB / 0.8244 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/1.27, allocations: 0 / 0.8244 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-05/1.27, allocations: 12.3 kB / 0.8245 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01806/1.288, allocations: 10.62 MB / 0.8348 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-05/1.288, allocations: 11.11 kB / 0.8348 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002/1.29, allocations: 435.7 kB / 0.8353 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003411/1.294, allocations: 0.901 MB / 0.8361 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003324/1.294, allocations: 42.28 kB / 0.8362 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001852/1.296, allocations: 2.194 MB / 0.8383 GB, free: 98.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.937e-06/1.296, allocations: 12.69 kB / 0.8383 GB, free: 98.95 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01002/1.306, allocations: 8.175 MB / 0.8463 GB, free: 92.41 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007141/1.307, allocations: 331.6 kB / 0.8466 GB, free: 92.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006021/1.307, allocations: 18.44 kB / 0.8466 GB, free: 92.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00165/1.309, allocations: 109.2 kB / 0.8468 GB, free: 92 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000274/1.309, allocations: 168.2 kB / 0.8469 GB, free: 91.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001806/1.309, allocations: 81.03 kB / 0.847 GB, free: 91.83 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002618/1.312, allocations: 1.622 MB / 0.8486 GB, free: 90.43 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.11e-07/1.312, allocations: 0 / 0.8486 GB, free: 90.43 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004847/1.317, allocations: 0.9043 MB / 0.8495 GB, free: 89.53 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (214): * Single equations (assignments): 205 * 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.01055/1.327, allocations: 10.85 MB / 0.8601 GB, free: 79.42 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008179/1.336, allocations: 6.045 MB / 0.866 GB, free: 73.98 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/1.336, allocations: 0 / 0.866 GB, free: 73.98 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003491/1.339, allocations: 2.59 MB / 0.8685 GB, free: 71.66 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002079/1.341, allocations: 355.9 kB / 0.8688 GB, free: 71.38 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02041/1.362, allocations: 10.86 MB / 0.8794 GB, free: 61.85 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004807/1.367, allocations: 3.685 MB / 0.883 GB, free: 59.03 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005044/1.372, allocations: 2.229 MB / 0.8852 GB, free: 57.62 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003138/1.375, allocations: 2.056 MB / 0.8872 GB, free: 55.74 MB / 0.5261 GB Notification: Performance of SimCode: time 1.011e-06/1.375, allocations: 0 / 0.8872 GB, free: 55.74 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1062/1.481, allocations: 72.36 MB / 0.9579 GB, free: 3.504 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000202/1.481, allocations: 147.5 kB / 0.958 GB, free: 3.309 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.654/5.135, allocations: 7.938 kB / 0.958 GB, free: 3.301 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat does not exist to compare? outputFormat=mat