Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.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.FreeMotionScalarInit5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5",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.001896/0.001895, allocations: 183.8 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009539/0.0009538, allocations: 98.42 kB / 292.1 MB, free: 10.9 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.3661/0.3661, allocations: 44.21 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003733/0.0003736, allocations: 8 kB / 460 MB, free: 1.426 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4174/0.4178, allocations: 61.9 MB / 0.5096 GB, free: 38.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.142/0.5599, allocations: 105.6 MB / 0.6128 GB, free: 5.469 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003072/0.5602, allocations: 87.92 kB / 0.6128 GB, free: 5.387 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5487/1.109, allocations: 94.35 MB / 0.705 GB, free: 97.17 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.106e-06/1.109, allocations: 0 / 0.705 GB, free: 97.17 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001956/1.109, allocations: 85.06 kB / 0.7051 GB, free: 97.17 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.0191/1.128, allocations: 4.568 MB / 0.7095 GB, free: 95.25 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/1.128, allocations: 17.56 kB / 0.7095 GB, free: 95.25 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004733/1.133, allocations: 0.8828 MB / 0.7104 GB, free: 95.17 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01599/1.149, allocations: 3.566 MB / 0.7139 GB, free: 94.85 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01675/1.166, allocations: 4.64 MB / 0.7184 GB, free: 94.16 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005092/1.166, allocations: 353.4 kB / 0.7187 GB, free: 94.14 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003105/1.17, allocations: 459.3 kB / 0.7192 GB, free: 94.14 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02883/1.198, allocations: 11.2 MB / 0.7301 GB, free: 90.42 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003509/1.199, allocations: 22.97 kB / 0.7301 GB, free: 90.41 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003199/1.202, allocations: 208.1 kB / 0.7303 GB, free: 90.29 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001909/1.204, allocations: 1.202 MB / 0.7315 GB, free: 90.08 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02361/1.228, allocations: 10.68 MB / 0.7419 GB, free: 86.76 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05847/1.286, allocations: 37.61 MB / 0.7787 GB, free: 62.51 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007193/1.293, allocations: 4.272 MB / 0.7828 GB, free: 58.55 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001101/1.295, allocations: 1.314 MB / 0.7841 GB, free: 57.12 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/1.295, allocations: 55.89 kB / 0.7842 GB, free: 57.07 MB / 490.7 MB Notification: Performance of pre-optimization done (n=235): time 7.674e-06/1.295, allocations: 0 / 0.7842 GB, free: 57.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=256): time 0.03677/1.331, allocations: 13.95 MB / 0.7978 GB, free: 44.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/1.331, allocations: 73.41 kB / 0.7979 GB, free: 44.51 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004361/1.336, allocations: 2.593 MB / 0.8004 GB, free: 41.91 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004337/1.336, allocations: 64.98 kB / 0.8005 GB, free: 41.84 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001545/1.338, allocations: 3.035 MB / 0.8034 GB, free: 38.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001004/1.339, allocations: 0.9412 MB / 0.8044 GB, free: 37.87 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005404/1.339, allocations: 112 kB / 0.8045 GB, free: 37.76 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004135/1.34, allocations: 0.5618 MB / 0.805 GB, free: 37.19 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003113/1.343, allocations: 2.311 MB / 0.8073 GB, free: 34.87 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004839/1.348, allocations: 5.509 MB / 0.8126 GB, free: 27.77 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004916/1.353, allocations: 3.575 MB / 0.8161 GB, free: 24.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001507/1.353, allocations: 32 kB / 0.8162 GB, free: 24.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=774) (initialization): time 0.01646/1.369, allocations: 8.525 MB / 0.8245 GB, free: 15.62 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001466/1.37, allocations: 62.55 kB / 0.8246 GB, free: 15.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001792/1.37, allocations: 116 kB / 0.8247 GB, free: 15.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003373/1.373, allocations: 1.052 MB / 0.8257 GB, free: 14.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00456/1.378, allocations: 1.337 MB / 0.827 GB, free: 13.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002445/1.38, allocations: 2.498 MB / 0.8294 GB, free: 10.42 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004371/1.385, allocations: 307.7 kB / 0.8297 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001402/1.386, allocations: 347.2 kB / 0.8301 GB, free: 9.781 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 511 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (721): * Single equations (assignments): 712 * 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.005668/1.392, allocations: 2.306 MB / 0.8323 GB, free: 7.461 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000817/1.393, allocations: 292.2 kB / 0.8326 GB, free: 7.172 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009327/1.402, allocations: 4.967 MB / 0.8374 GB, free: 2.141 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.576e-05/1.402, allocations: 43.98 kB / 0.8375 GB, free: 2.098 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.797e-05/1.402, allocations: 4 kB / 0.8375 GB, free: 2.094 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.932e-05/1.402, allocations: 11.91 kB / 0.8375 GB, free: 2.082 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0274/1.43, allocations: 11.56 MB / 0.8488 GB, free: 6.402 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.151e-05/1.43, allocations: 12.22 kB / 0.8488 GB, free: 6.391 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002007/1.432, allocations: 407.4 kB / 0.8492 GB, free: 5.992 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003334/1.435, allocations: 0.9034 MB / 0.8501 GB, free: 5.078 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004914/1.435, allocations: 66.47 kB / 0.8501 GB, free: 5.016 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002709/1.438, allocations: 2.304 MB / 0.8524 GB, free: 2.582 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.124e-05/1.438, allocations: 11.94 kB / 0.8524 GB, free: 2.57 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01327/1.452, allocations: 8.036 MB / 0.8602 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001261/1.453, allocations: 333.2 kB / 0.8606 GB, free: 9.738 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00102/1.454, allocations: 50.97 kB / 0.8606 GB, free: 9.691 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001994/1.456, allocations: 131.8 kB / 0.8607 GB, free: 9.562 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005208/1.456, allocations: 161.6 kB / 0.8609 GB, free: 9.406 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003073/1.457, allocations: 74.88 kB / 0.861 GB, free: 9.336 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004281/1.461, allocations: 1.763 MB / 0.8627 GB, free: 7.57 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.1e-07/1.461, allocations: 0 / 0.8627 GB, free: 7.57 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006583/1.468, allocations: 1.019 MB / 0.8637 GB, free: 6.551 MB / 0.5105 GB 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 (206): * Single equations (assignments): 197 * 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.3165/1.784, allocations: 10.6 MB / 0.874 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009662/1.794, allocations: 6.087 MB / 0.88 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.281e-05/1.794, allocations: 2.531 kB / 0.88 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00403/1.798, allocations: 2.545 MB / 0.8825 GB, free: 114 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002647/1.801, allocations: 460.8 kB / 0.8829 GB, free: 114 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08479/1.885, allocations: 110.2 MB / 0.9905 GB, free: 37.04 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00867/1.894, allocations: 3.675 MB / 0.9941 GB, free: 35.67 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006156/1.9, allocations: 2.102 MB / 0.9961 GB, free: 35.55 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004298/1.905, allocations: 2.009 MB / 0.9981 GB, free: 33.89 MB / 0.5261 GB Notification: Performance of SimCode: time 1.092e-06/1.905, allocations: 0 / 0.9981 GB, free: 33.89 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1211/2.026, allocations: 72.81 MB / 1.069 GB, free: 8.723 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001796/2.026, allocations: 206.6 kB / 1.069 GB, free: 8.48 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.077/6.103, allocations: 0 / 1.069 GB, free: 8.48 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat does not exist to compare? outputFormat=mat