Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 169 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 221.5 MB / 230.7 MB, free: 7.559 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009032/0.0009032, allocations: 94.16 kB / 281.6 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2144/0.2144, allocations: 44.15 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.161e-05/2.164e-05, allocations: 4.219 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1431, allocations: 61.91 MB / 0.4948 GB, free: 1.16 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4556/0.5988, allocations: 104.7 MB / 0.597 GB, free: 7.633 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/0.5991, allocations: 75.97 kB / 0.5971 GB, free: 7.559 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2244/0.8235, allocations: 88.84 MB / 0.6838 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8235, allocations: 0 / 0.6838 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001342/0.8237, allocations: 80 kB / 0.6839 GB, free: 13.96 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1651 * Number of variables: 1651 Notification: Performance of Generate backend data structure: time 0.01326/0.837, allocations: 4.175 MB / 0.688 GB, free: 9.723 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.837, allocations: 11.98 kB / 0.688 GB, free: 9.711 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01519/0.8522, allocations: 3.535 MB / 0.6914 GB, free: 6.164 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01179/0.864, allocations: 4.495 MB / 0.6958 GB, free: 1.617 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002005/0.8643, allocations: 136 kB / 0.696 GB, free: 1.484 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001748/0.866, allocations: 248 kB / 0.6962 GB, free: 1.242 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01295/0.879, allocations: 7.561 MB / 0.7036 GB, free: 9.672 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.365/1.244, allocations: 9.919 MB / 0.7133 GB, free: 127.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002212/1.244, allocations: 33.61 kB / 0.7133 GB, free: 127.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001247/1.246, allocations: 14.03 kB / 0.7133 GB, free: 127.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002199/1.248, allocations: 1.19 MB / 0.7145 GB, free: 127.3 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06017/1.308, allocations: 33.98 MB / 0.7477 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005043/1.313, allocations: 3.907 MB / 0.7515 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002601/1.316, allocations: 2.043 MB / 0.7535 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009587/1.317, allocations: 1.322 MB / 0.7548 GB, free: 112 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/1.317, allocations: 56.56 kB / 0.7548 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=237): time 5.811e-06/1.317, allocations: 0 / 0.7548 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=255): time 0.02071/1.338, allocations: 9.502 MB / 0.7641 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/1.338, allocations: 75.38 kB / 0.7642 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003491/1.341, allocations: 2.367 MB / 0.7665 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002962/1.341, allocations: 25.7 kB / 0.7665 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001538/1.343, allocations: 2.947 MB / 0.7694 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008971/1.344, allocations: 0.9138 MB / 0.7703 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002047/1.344, allocations: 3.562 kB / 0.7703 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002716/1.344, allocations: 0.5729 MB / 0.7708 GB, free: 105 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002594/1.347, allocations: 2.178 MB / 0.773 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004443/1.351, allocations: 5.474 MB / 0.7783 GB, free: 99.12 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004945/1.356, allocations: 3.496 MB / 0.7817 GB, free: 98.11 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001184/1.357, allocations: 33.56 kB / 0.7818 GB, free: 98.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01847/1.375, allocations: 7.824 MB / 0.7894 GB, free: 95.68 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001705/1.375, allocations: 62.38 kB / 0.7895 GB, free: 95.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002742/1.376, allocations: 115.9 kB / 0.7896 GB, free: 95.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004341/1.38, allocations: 1.062 MB / 0.7906 GB, free: 95.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005045/1.385, allocations: 1.369 MB / 0.7919 GB, free: 95.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002389/1.387, allocations: 2.404 MB / 0.7943 GB, free: 93.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004683/1.392, allocations: 205.6 kB / 0.7945 GB, free: 93.92 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007932/1.393, allocations: 350.8 kB / 0.7948 GB, free: 93.87 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 532 * Number of states: 0 () * Number of discrete variables: 26 (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.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,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 (741): * Single equations (assignments): 732 * 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.0009432/1.394, allocations: 406.5 kB / 0.7952 GB, free: 93.53 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007336/1.401, allocations: 4.219 MB / 0.7993 GB, free: 92.25 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000488/1.402, allocations: 278.7 kB / 0.7996 GB, free: 92.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007965/1.41, allocations: 4.74 MB / 0.8042 GB, free: 90.59 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-05/1.41, allocations: 52.67 kB / 0.8043 GB, free: 90.59 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/1.41, allocations: 0 / 0.8043 GB, free: 90.59 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.269e-05/1.41, allocations: 14 kB / 0.8043 GB, free: 90.59 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01764/1.427, allocations: 10.16 MB / 0.8142 GB, free: 84.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.808e-05/1.428, allocations: 8 kB / 0.8142 GB, free: 84.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001638/1.429, allocations: 410.2 kB / 0.8146 GB, free: 84.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003258/1.432, allocations: 0.9053 MB / 0.8155 GB, free: 83.65 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002247/1.433, allocations: 30.89 kB / 0.8155 GB, free: 83.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001879/1.435, allocations: 2.189 MB / 0.8177 GB, free: 81.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.606e-06/1.435, allocations: 11.94 kB / 0.8177 GB, free: 81.57 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009421/1.444, allocations: 7.809 MB / 0.8253 GB, free: 74.38 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008952/1.445, allocations: 324.5 kB / 0.8256 GB, free: 74.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003459/1.445, allocations: 23.75 kB / 0.8256 GB, free: 74.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/1.447, allocations: 101.2 kB / 0.8257 GB, free: 73.97 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002517/1.447, allocations: 151.8 kB / 0.8259 GB, free: 73.87 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001536/1.447, allocations: 75.5 kB / 0.8259 GB, free: 73.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002141/1.449, allocations: 1.541 MB / 0.8274 GB, free: 72.46 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.61e-07/1.449, allocations: 0 / 0.8274 GB, free: 72.46 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004651/1.454, allocations: 0.8568 MB / 0.8283 GB, free: 71.61 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * 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 (205): * Single equations (assignments): 196 * 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.01058/1.464, allocations: 10.52 MB / 0.8386 GB, free: 61.78 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00868/1.473, allocations: 5.772 MB / 0.8442 GB, free: 56.58 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/1.473, allocations: 0 / 0.8442 GB, free: 56.58 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00363/1.477, allocations: 2.48 MB / 0.8466 GB, free: 54.37 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00188/1.479, allocations: 292 kB / 0.8469 GB, free: 54.12 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01889/1.498, allocations: 10.31 MB / 0.857 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002951/1.501, allocations: 3.513 MB / 0.8604 GB, free: 41.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004434/1.505, allocations: 2.141 MB / 0.8625 GB, free: 39.06 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002244/1.507, allocations: 1.893 MB / 0.8643 GB, free: 37.16 MB / 0.5105 GB Notification: Performance of SimCode: time 1.142e-06/1.507, allocations: 2.531 kB / 0.8643 GB, free: 37.16 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.426/1.933, allocations: 66.86 MB / 0.9296 GB, free: 124.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001786/1.934, allocations: 147.1 kB / 0.9298 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.675/5.609, allocations: 0 / 0.9298 GB, free: 124.4 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat does not exist to compare? outputFormat=mat