Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.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.FreeMotionScalarInit,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit",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.001695/0.001695, allocations: 183.2 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.713/1.713, allocations: 205.2 MB / 218.9 MB, free: 9.199 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.0008282/0.0008277, allocations: 91.83 kB / 267.1 MB, free: 9.27 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.3819/0.3819, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.359e-05/3.372e-05, allocations: 7.984 kB / 425.4 MB, free: 8.105 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1338, allocations: 58.85 MB / 484.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5012/0.6351, allocations: 104.3 MB / 0.5748 GB, free: 1.516 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/0.6354, allocations: 76.52 kB / 0.5748 GB, free: 1.477 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2365/0.872, allocations: 91.62 MB / 0.6643 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.8721, allocations: 0 / 0.6643 GB, free: 14.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002022/0.8723, allocations: 80 kB / 0.6644 GB, free: 14.43 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: 1699 * Number of variables: 1699 Notification: Performance of Generate backend data structure: time 0.02158/0.8939, allocations: 4.279 MB / 0.6686 GB, free: 10.08 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.117e-05/0.894, allocations: 8.031 kB / 0.6686 GB, free: 10.07 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005785/0.8998, allocations: 0.857 MB / 0.6694 GB, free: 9.207 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01719/0.917, allocations: 3.562 MB / 0.6729 GB, free: 5.633 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01544/0.9325, allocations: 4.678 MB / 0.6775 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004451/0.933, allocations: 334.2 kB / 0.6778 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003801/0.9368, allocations: 439.7 kB / 0.6782 GB, free: 144 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03203/0.9689, allocations: 10.97 MB / 0.6889 GB, free: 4.68 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002945/0.9693, allocations: 23.81 kB / 0.6889 GB, free: 4.656 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002895/0.9722, allocations: 195.9 kB / 0.6891 GB, free: 4.465 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002144/0.9743, allocations: 1.231 MB / 0.6903 GB, free: 3.23 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3987/1.373, allocations: 10.52 MB / 0.7006 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06443/1.438, allocations: 37.44 MB / 0.7372 GB, free: 86.78 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008106/1.446, allocations: 4.352 MB / 0.7414 GB, free: 85.61 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003452/1.449, allocations: 2.127 MB / 0.7435 GB, free: 85.07 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00117/1.45, allocations: 1.322 MB / 0.7448 GB, free: 83.88 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.12e-05/1.45, allocations: 55.38 kB / 0.7448 GB, free: 83.83 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=244): time 4.889e-06/1.451, allocations: 3.562 kB / 0.7448 GB, free: 83.83 MB / 0.4948 GB Notification: Performance of matching and sorting (n=265): time 0.0387/1.489, allocations: 11.17 MB / 0.7557 GB, free: 81.06 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.946e-05/1.489, allocations: 80.92 kB / 0.7558 GB, free: 80.99 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00703/1.496, allocations: 2.509 MB / 0.7583 GB, free: 80.07 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009292/1.497, allocations: 61.42 kB / 0.7583 GB, free: 80.02 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002828/1.5, allocations: 2.935 MB / 0.7612 GB, free: 77.88 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001718/1.502, allocations: 0.9778 MB / 0.7622 GB, free: 77.16 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003465/1.502, allocations: 114.3 kB / 0.7623 GB, free: 77.07 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000374/1.503, allocations: 0.5518 MB / 0.7628 GB, free: 76.66 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003421/1.506, allocations: 2.291 MB / 0.765 GB, free: 75.92 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00536/1.512, allocations: 5.437 MB / 0.7703 GB, free: 71 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006216/1.518, allocations: 3.584 MB / 0.7738 GB, free: 69.92 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000104/1.518, allocations: 31.62 kB / 0.7739 GB, free: 69.92 MB / 0.4948 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01964/1.538, allocations: 8.464 MB / 0.7821 GB, free: 67.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001188/1.538, allocations: 52.5 kB / 0.7822 GB, free: 67.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001709/1.538, allocations: 119.3 kB / 0.7823 GB, free: 67.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003721/1.542, allocations: 1.058 MB / 0.7833 GB, free: 66.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005372/1.547, allocations: 1.335 MB / 0.7846 GB, free: 66.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002619/1.55, allocations: 2.465 MB / 0.7871 GB, free: 65.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005596/1.555, allocations: 319.5 kB / 0.7874 GB, free: 65.17 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001196/1.557, allocations: 337.7 kB / 0.7877 GB, free: 65.12 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 503 * Number of states: 0 () * Number of discrete variables: 24 (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],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.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 (722): * Single equations (assignments): 713 * 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.001085/1.558, allocations: 0.524 MB / 0.7882 GB, free: 64.68 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000731/1.558, allocations: 285.8 kB / 0.7885 GB, free: 64.53 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008847/1.567, allocations: 5.033 MB / 0.7934 GB, free: 62.88 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.137e-05/1.567, allocations: 43.44 kB / 0.7934 GB, free: 62.87 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/1.567, allocations: 0 / 0.7934 GB, free: 62.87 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.465e-05/1.567, allocations: 14.78 kB / 0.7934 GB, free: 62.87 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02263/1.59, allocations: 11.56 MB / 0.8047 GB, free: 58.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-05/1.59, allocations: 12.42 kB / 0.8047 GB, free: 58.94 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00172/1.592, allocations: 429.8 kB / 0.8051 GB, free: 58.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003272/1.595, allocations: 0.9032 MB / 0.806 GB, free: 58.79 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002888/1.595, allocations: 58.19 kB / 0.8061 GB, free: 58.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002483/1.598, allocations: 2.288 MB / 0.8083 GB, free: 57.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/1.598, allocations: 10.72 kB / 0.8083 GB, free: 57.25 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01213/1.61, allocations: 8.097 MB / 0.8162 GB, free: 51.54 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001923/1.612, allocations: 335.4 kB / 0.8166 GB, free: 51.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001236/1.613, allocations: 51.94 kB / 0.8166 GB, free: 51.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002195/1.616, allocations: 140.6 kB / 0.8167 GB, free: 51.07 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003996/1.616, allocations: 158.8 kB / 0.8169 GB, free: 50.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001825/1.616, allocations: 79.69 kB / 0.817 GB, free: 50.89 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002832/1.619, allocations: 1.704 MB / 0.8186 GB, free: 49.38 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.4e-07/1.619, allocations: 0 / 0.8186 GB, free: 49.38 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00549/1.625, allocations: 1.016 MB / 0.8196 GB, free: 48.38 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,freeMotionScalarInit.angle_d_1,freeMotionScalarInit.angle_d_2,freeMotionScalarInit.angle_d_3) * Number of discrete variables: 0 () * Number of discrete 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.01142/1.636, allocations: 10.69 MB / 0.8301 GB, free: 38.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01069/1.647, allocations: 6.07 MB / 0.836 GB, free: 32.89 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.18e-05/1.647, allocations: 1.938 kB / 0.836 GB, free: 32.89 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00403/1.651, allocations: 2.574 MB / 0.8385 GB, free: 30.57 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002587/1.653, allocations: 401.6 kB / 0.8389 GB, free: 30.25 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02418/1.678, allocations: 10.82 MB / 0.8494 GB, free: 20.74 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003692/1.681, allocations: 3.607 MB / 0.853 GB, free: 17.96 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004873/1.686, allocations: 2.091 MB / 0.855 GB, free: 16.64 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003444/1.69, allocations: 1.984 MB / 0.8569 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of SimCode: time 1.754e-06/1.69, allocations: 0 / 0.8569 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4526/2.142, allocations: 71.85 MB / 0.9271 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002027/2.143, allocations: 175.5 kB / 0.9273 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.265/6.408, allocations: 0 / 0.9273 GB, free: 105.1 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat does not exist to compare? outputFormat=mat