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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001836/0.001836, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.597/1.597, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000882/0.000882, allocations: 86.69 kB / 261.8 MB, free: 1.676 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.2029/0.2029, allocations: 43.5 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.838e-05/1.828e-05, allocations: 4 kB / 418.4 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.112, allocations: 58.86 MB / 477.2 MB, free: 1.523 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3937/0.5057, allocations: 103.8 MB / 0.5674 GB, free: 7.785 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002022/0.506, allocations: 81.86 kB / 0.5675 GB, free: 7.746 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2265/0.7324, allocations: 93.9 MB / 0.6592 GB, free: 1.809 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.7325, allocations: 3.938 kB / 0.6592 GB, free: 1.805 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000162/0.7327, allocations: 84 kB / 0.6593 GB, free: 1.723 MB / 458.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.01632/0.749, allocations: 4.502 MB / 0.6637 GB, free: 13.16 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.7491, allocations: 12.03 kB / 0.6637 GB, free: 13.14 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01598/0.7651, allocations: 3.597 MB / 0.6672 GB, free: 9.535 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01272/0.7778, allocations: 4.823 MB / 0.6719 GB, free: 4.66 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002552/0.7781, allocations: 152 kB / 0.6721 GB, free: 4.512 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002362/0.7805, allocations: 275.9 kB / 0.6723 GB, free: 4.242 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0145/0.795, allocations: 8.051 MB / 0.6802 GB, free: 12.18 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02166/0.8167, allocations: 10.58 MB / 0.6905 GB, free: 1.129 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000126/0.8169, allocations: 23.81 kB / 0.6905 GB, free: 1.105 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005826/0.8174, allocations: 12 kB / 0.6905 GB, free: 1.094 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001622/0.8191, allocations: 1.248 MB / 0.6918 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3187/1.138, allocations: 35.82 MB / 0.7267 GB, free: 108.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005554/1.143, allocations: 3.811 MB / 0.7305 GB, free: 107 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003329/1.147, allocations: 2.079 MB / 0.7325 GB, free: 107 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0013/1.148, allocations: 1.326 MB / 0.7338 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.358e-05/1.148, allocations: 58.16 kB / 0.7338 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=246): time 4.609e-06/1.148, allocations: 1.312 kB / 0.7338 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=273): time 0.02393/1.172, allocations: 11.22 MB / 0.7448 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/1.172, allocations: 77.53 kB / 0.7449 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003775/1.176, allocations: 2.549 MB / 0.7474 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005929/1.177, allocations: 25.7 kB / 0.7474 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001687/1.178, allocations: 3.194 MB / 0.7505 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001253/1.18, allocations: 0.9857 MB / 0.7515 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000254/1.18, allocations: 2.531 kB / 0.7515 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003343/1.18, allocations: 0.5802 MB / 0.752 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002808/1.183, allocations: 2.359 MB / 0.7543 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004467/1.187, allocations: 5.876 MB / 0.7601 GB, free: 97.39 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00512/1.193, allocations: 3.754 MB / 0.7638 GB, free: 96.85 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001001/1.193, allocations: 36.5 kB / 0.7638 GB, free: 96.85 MB / 0.4948 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01586/1.209, allocations: 8.373 MB / 0.772 GB, free: 94.57 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.705e-05/1.209, allocations: 64.16 kB / 0.772 GB, free: 94.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00013/1.209, allocations: 125 kB / 0.7721 GB, free: 94.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003725/1.213, allocations: 1.078 MB / 0.7732 GB, free: 94.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005158/1.218, allocations: 1.484 MB / 0.7746 GB, free: 94.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002143/1.22, allocations: 2.414 MB / 0.777 GB, free: 92.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004717/1.225, allocations: 208.6 kB / 0.7772 GB, free: 92.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001277/1.226, allocations: 386.4 kB / 0.7776 GB, free: 92.75 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 569 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (796): * Single equations (assignments): 787 * 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.001081/1.227, allocations: 423.9 kB / 0.778 GB, free: 92.4 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008245/1.235, allocations: 4.514 MB / 0.7824 GB, free: 91.01 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007494/1.236, allocations: 304.9 kB / 0.7827 GB, free: 90.84 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009075/1.245, allocations: 5.113 MB / 0.7877 GB, free: 89.21 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.309e-05/1.245, allocations: 51.56 kB / 0.7877 GB, free: 89.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/1.245, allocations: 3.906 kB / 0.7877 GB, free: 89.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.323e-05/1.245, allocations: 11.25 kB / 0.7877 GB, free: 89.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01845/1.264, allocations: 10.83 MB / 0.7983 GB, free: 85.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.647e-05/1.264, allocations: 9.906 kB / 0.7983 GB, free: 85.54 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001862/1.266, allocations: 446.2 kB / 0.7987 GB, free: 85.51 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003254/1.269, allocations: 0.9071 MB / 0.7996 GB, free: 85.39 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003219/1.269, allocations: 39.19 kB / 0.7997 GB, free: 85.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001796/1.271, allocations: 2.207 MB / 0.8018 GB, free: 83.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.215e-06/1.271, allocations: 15.89 kB / 0.8018 GB, free: 83.36 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009908/1.281, allocations: 8.322 MB / 0.81 GB, free: 75.64 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009081/1.282, allocations: 339.6 kB / 0.8103 GB, free: 75.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004249/1.282, allocations: 23.42 kB / 0.8103 GB, free: 75.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001447/1.284, allocations: 104.1 kB / 0.8104 GB, free: 75.22 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002753/1.284, allocations: 179.1 kB / 0.8106 GB, free: 75.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001668/1.284, allocations: 87.08 kB / 0.8107 GB, free: 75.03 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002121/1.287, allocations: 1.663 MB / 0.8123 GB, free: 73.59 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.31e-07/1.287, allocations: 0 / 0.8123 GB, free: 73.59 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00459/1.291, allocations: 0.9236 MB / 0.8132 GB, free: 72.67 MB / 0.4948 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 (224): * Single equations (assignments): 215 * 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.01056/1.302, allocations: 10.98 MB / 0.8239 GB, free: 62.41 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009458/1.311, allocations: 6.176 MB / 0.8299 GB, free: 56.84 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.592e-05/1.311, allocations: 4 kB / 0.8299 GB, free: 56.84 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004077/1.315, allocations: 2.636 MB / 0.8325 GB, free: 54.48 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002677/1.318, allocations: 356.7 kB / 0.8329 GB, free: 54.21 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02279/1.341, allocations: 11.15 MB / 0.8437 GB, free: 44.43 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003362/1.344, allocations: 3.772 MB / 0.8474 GB, free: 41.55 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004899/1.349, allocations: 2.279 MB / 0.8497 GB, free: 40.11 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002807/1.352, allocations: 2.12 MB / 0.8517 GB, free: 38.16 MB / 0.4948 GB Notification: Performance of SimCode: time 2.505e-06/1.352, allocations: 3.938 kB / 0.8517 GB, free: 38.16 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.375/1.727, allocations: 74.01 MB / 0.924 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00014/1.727, allocations: 144.9 kB / 0.9241 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.027/5.754, allocations: 3.938 kB / 0.9241 GB, free: 104.5 MB / 0.4948 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) 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