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.00102/0.00102, allocations: 197.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.229/1.229, allocations: 225.4 MB / 240.1 MB, free: 15.06 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008775/0.0008774, allocations: 88.94 kB / 292.1 MB, free: 5.965 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1721/0.1721, allocations: 45.16 MB / 389.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.054e-05/3.057e-05, allocations: 4 kB / 460.5 MB, free: 69.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09113/0.09117, allocations: 63.25 MB / 0.5115 GB, free: 6.688 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.375/0.4662, allocations: 106.4 MB / 0.6154 GB, free: 3.641 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/0.4666, allocations: 78.95 kB / 0.6155 GB, free: 3.602 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2282/0.6948, allocations: 95.27 MB / 0.7085 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.665e-06/0.6948, allocations: 0 / 0.7085 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000263/0.6951, allocations: 88 kB / 0.7086 GB, free: 12.13 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: 1739 * Number of variables: 1739 Notification: Performance of Generate backend data structure: time 0.01637/0.7115, allocations: 4.521 MB / 0.713 GB, free: 7.547 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.7116, allocations: 11.97 kB / 0.713 GB, free: 7.535 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003118/0.7147, allocations: 0.8853 MB / 0.7139 GB, free: 6.641 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01498/0.7297, allocations: 3.57 MB / 0.7174 GB, free: 3.059 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01172/0.7414, allocations: 4.109 MB / 0.7214 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003931/0.7419, allocations: 349.1 kB / 0.7217 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002418/0.7443, allocations: 459.8 kB / 0.7221 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0242/0.7685, allocations: 11.11 MB / 0.733 GB, free: 2.523 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001999/0.7688, allocations: 27.72 kB / 0.733 GB, free: 2.496 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001799/0.7706, allocations: 203.9 kB / 0.7332 GB, free: 2.297 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001777/0.7724, allocations: 1.204 MB / 0.7344 GB, free: 1.09 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01862/0.791, allocations: 10.53 MB / 0.7447 GB, free: 6.543 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3115/1.102, allocations: 37.61 MB / 0.7814 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006653/1.109, allocations: 4.25 MB / 0.7855 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002142/1.111, allocations: 2.098 MB / 0.7876 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000882/1.112, allocations: 1.314 MB / 0.7889 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/1.112, allocations: 60.81 kB / 0.7889 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=235): time 4.519e-06/1.112, allocations: 0 / 0.7889 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=256): time 0.02591/1.138, allocations: 10.56 MB / 0.7992 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.428e-05/1.138, allocations: 75.25 kB / 0.7993 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003331/1.142, allocations: 2.568 MB / 0.8018 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000313/1.142, allocations: 56.3 kB / 0.8019 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001383/1.143, allocations: 3.035 MB / 0.8048 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000733/1.144, allocations: 0.946 MB / 0.8058 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002043/1.144, allocations: 114.6 kB / 0.8059 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002423/1.145, allocations: 0.5632 MB / 0.8064 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002615/1.147, allocations: 2.269 MB / 0.8086 GB, free: 106 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003872/1.151, allocations: 5.467 MB / 0.814 GB, free: 101 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003813/1.155, allocations: 3.569 MB / 0.8175 GB, free: 99.96 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.207e-05/1.155, allocations: 30.84 kB / 0.8175 GB, free: 99.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=774) (initialization): time 0.01204/1.167, allocations: 8.455 MB / 0.8258 GB, free: 97.34 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.263e-05/1.167, allocations: 50.78 kB / 0.8258 GB, free: 97.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.944e-05/1.167, allocations: 114.4 kB / 0.8259 GB, free: 97.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00335/1.171, allocations: 1.051 MB / 0.8269 GB, free: 97.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003633/1.174, allocations: 1.333 MB / 0.8282 GB, free: 97.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002185/1.176, allocations: 2.471 MB / 0.8307 GB, free: 95.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003544/1.18, allocations: 315.4 kB / 0.831 GB, free: 95.42 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005739/1.181, allocations: 346.1 kB / 0.8313 GB, free: 95.38 MB / 0.5261 GB 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 () * 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.0007074/1.181, allocations: 0.5306 MB / 0.8318 GB, free: 94.93 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003564/1.182, allocations: 292 kB / 0.8321 GB, free: 94.77 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007727/1.189, allocations: 4.922 MB / 0.8369 GB, free: 93.17 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.142e-05/1.189, allocations: 49.91 kB / 0.8369 GB, free: 93.16 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/1.189, allocations: 3.875 kB / 0.8369 GB, free: 93.16 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.029e-05/1.189, allocations: 10.97 kB / 0.8369 GB, free: 93.16 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01652/1.206, allocations: 11.52 MB / 0.8482 GB, free: 89.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.237e-05/1.206, allocations: 8 kB / 0.8482 GB, free: 89.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001525/1.208, allocations: 408.9 kB / 0.8486 GB, free: 88.78 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003046/1.211, allocations: 0.9091 MB / 0.8495 GB, free: 88.22 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001472/1.211, allocations: 54.8 kB / 0.8495 GB, free: 88.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001739/1.213, allocations: 2.271 MB / 0.8518 GB, free: 86.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/1.213, allocations: 11.94 kB / 0.8518 GB, free: 86.03 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008717/1.221, allocations: 7.973 MB / 0.8595 GB, free: 78.59 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006542/1.222, allocations: 339.8 kB / 0.8599 GB, free: 78.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003175/1.222, allocations: 51.64 kB / 0.8599 GB, free: 78.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/1.223, allocations: 137.7 kB / 0.8601 GB, free: 78.11 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002548/1.224, allocations: 153.8 kB / 0.8602 GB, free: 78.01 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001435/1.224, allocations: 75.23 kB / 0.8603 GB, free: 77.94 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001915/1.226, allocations: 1.738 MB / 0.862 GB, free: 76.41 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3e-07/1.226, allocations: 0 / 0.862 GB, free: 76.41 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003398/1.229, allocations: 1.019 MB / 0.863 GB, free: 75.4 MB / 0.5261 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 () * 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.009759/1.239, allocations: 10.57 MB / 0.8733 GB, free: 65.53 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008384/1.247, allocations: 6.018 MB / 0.8792 GB, free: 60.07 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/1.247, allocations: 0 / 0.8792 GB, free: 60.07 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003747/1.251, allocations: 2.535 MB / 0.8816 GB, free: 57.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002241/1.253, allocations: 464.8 kB / 0.8821 GB, free: 57.43 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01725/1.271, allocations: 10.91 MB / 0.8927 GB, free: 47.85 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002844/1.274, allocations: 3.678 MB / 0.8963 GB, free: 45.03 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00406/1.278, allocations: 2.094 MB / 0.8984 GB, free: 43.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002019/1.28, allocations: 2.004 MB / 0.9003 GB, free: 41.85 MB / 0.5261 GB Notification: Performance of SimCode: time 6.71e-07/1.28, allocations: 4 kB / 0.9003 GB, free: 41.84 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.32/1.6, allocations: 73.63 MB / 0.9722 GB, free: 127.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001283/1.6, allocations: 182.1 kB / 0.9724 GB, free: 127.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.325/4.924, allocations: 0 / 0.9724 GB, free: 127.3 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