Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.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.Revolute,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Revolute",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.001701/0.001701, allocations: 169.9 kB / 8.74 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.375/1.375, allocations: 221.5 MB / 230.7 MB, free: 7.578 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.0009472/0.0009469, allocations: 96.22 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.2081/0.2081, allocations: 44.15 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.02e-05/2.023e-05, allocations: 4.219 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1347, allocations: 61.91 MB / 0.4948 GB, free: 1.16 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4454/0.5802, allocations: 103.1 MB / 0.5954 GB, free: 9.238 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/0.5805, allocations: 75.97 kB / 0.5955 GB, free: 9.164 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2221/0.8026, allocations: 84.49 MB / 0.678 GB, free: 3.98 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.205e-06/0.8027, allocations: 8 kB / 0.678 GB, free: 3.973 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001628/0.8029, allocations: 64 kB / 0.6781 GB, free: 3.91 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.0114/0.8143, allocations: 3.592 MB / 0.6816 GB, free: 264 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.8144, allocations: 15.92 kB / 0.6816 GB, free: 248 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01575/0.8301, allocations: 3.485 MB / 0.685 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01096/0.8411, allocations: 3.987 MB / 0.6889 GB, free: 8.707 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002332/0.8414, allocations: 120 kB / 0.689 GB, free: 8.59 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002197/0.8436, allocations: 223.9 kB / 0.6892 GB, free: 8.371 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01319/0.8568, allocations: 7.149 MB / 0.6962 GB, free: 1.219 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02008/0.877, allocations: 9.321 MB / 0.7053 GB, free: 7.473 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001444/0.8772, allocations: 23.8 kB / 0.7053 GB, free: 7.449 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00108/0.8782, allocations: 16 kB / 0.7053 GB, free: 7.434 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001706/0.88, allocations: 1.176 MB / 0.7065 GB, free: 6.258 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3571/1.237, allocations: 32.33 MB / 0.7381 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005386/1.243, allocations: 4.176 MB / 0.7421 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003039/1.246, allocations: 2.233 MB / 0.7443 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001311/1.247, allocations: 1.884 MB / 0.7462 GB, free: 119.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/1.247, allocations: 49.53 kB / 0.7462 GB, free: 119.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=231): time 4.689e-06/1.247, allocations: 0 / 0.7462 GB, free: 119.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=238): time 0.02429/1.271, allocations: 13.94 MB / 0.7598 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/1.271, allocations: 76.19 kB / 0.7599 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003872/1.275, allocations: 2.212 MB / 0.7621 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005682/1.276, allocations: 32.52 kB / 0.7621 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001651/1.278, allocations: 2.717 MB / 0.7647 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001166/1.279, allocations: 0.8417 MB / 0.7656 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002199/1.279, allocations: 0 / 0.7656 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003694/1.279, allocations: 0.6046 MB / 0.7662 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002762/1.282, allocations: 2.112 MB / 0.7682 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004559/1.287, allocations: 5.195 MB / 0.7733 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005276/1.292, allocations: 3.338 MB / 0.7766 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-05/1.292, allocations: 30.28 kB / 0.7766 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=735) (initialization): time 0.01243/1.305, allocations: 7.377 MB / 0.7838 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.484e-05/1.305, allocations: 49.78 kB / 0.7838 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.881e-05/1.305, allocations: 111 kB / 0.7839 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002012/1.307, allocations: 0.8212 MB / 0.7847 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003878/1.311, allocations: 1.262 MB / 0.786 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004404/1.315, allocations: 3.974 MB / 0.7899 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003923/1.319, allocations: 199.2 kB / 0.79 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001501/1.321, allocations: 319.7 kB / 0.7904 GB, free: 101.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 497 * Number of states: 0 () * Number of discrete variables: 29 (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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,axis.color[3],axis.color[2],axis.color[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 (675): * Single equations (assignments): 668 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001226/1.322, allocations: 396.8 kB / 0.7907 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005939/1.328, allocations: 4.067 MB / 0.7947 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004584/1.328, allocations: 258.3 kB / 0.7949 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006568/1.335, allocations: 4.554 MB / 0.7994 GB, free: 96.97 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-05/1.335, allocations: 48.83 kB / 0.7994 GB, free: 96.93 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/1.335, allocations: 0 / 0.7994 GB, free: 96.93 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.711e-05/1.335, allocations: 7.875 kB / 0.7995 GB, free: 96.93 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01404/1.349, allocations: 9.52 MB / 0.8087 GB, free: 89.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/1.349, allocations: 4 kB / 0.8088 GB, free: 89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001468/1.351, allocations: 370.3 kB / 0.8091 GB, free: 88.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001788/1.352, allocations: 0.6444 MB / 0.8097 GB, free: 88.32 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001556/1.353, allocations: 27.84 kB / 0.8098 GB, free: 88.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003448/1.356, allocations: 3.459 MB / 0.8131 GB, free: 85.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.406e-06/1.356, allocations: 15.89 kB / 0.8132 GB, free: 85.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008014/1.364, allocations: 7.571 MB / 0.8205 GB, free: 78.27 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006313/1.365, allocations: 304.3 kB / 0.8208 GB, free: 77.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000333/1.365, allocations: 15.8 kB / 0.8209 GB, free: 77.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/1.366, allocations: 103.4 kB / 0.821 GB, free: 77.89 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002325/1.366, allocations: 141.6 kB / 0.8211 GB, free: 77.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001436/1.367, allocations: 64.62 kB / 0.8211 GB, free: 77.74 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00204/1.369, allocations: 1.45 MB / 0.8226 GB, free: 76.48 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.01e-07/1.369, allocations: 0 / 0.8226 GB, free: 76.48 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004137/1.373, allocations: 0.8125 MB / 0.8234 GB, free: 75.67 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (181): * Single equations (assignments): 174 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008746/1.382, allocations: 10.11 MB / 0.8332 GB, free: 66.28 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007253/1.389, allocations: 5.153 MB / 0.8383 GB, free: 61.62 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/1.389, allocations: 0 / 0.8383 GB, free: 61.62 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002595/1.392, allocations: 1.967 MB / 0.8402 GB, free: 59.84 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001605/1.393, allocations: 220.3 kB / 0.8404 GB, free: 59.64 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0154/1.409, allocations: 9.031 MB / 0.8492 GB, free: 51.69 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002831/1.412, allocations: 3.253 MB / 0.8524 GB, free: 49.16 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004375/1.416, allocations: 2.058 MB / 0.8544 GB, free: 47.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002377/1.418, allocations: 1.714 MB / 0.8561 GB, free: 46.09 MB / 0.5105 GB Notification: Performance of SimCode: time 1.743e-06/1.418, allocations: 0 / 0.8561 GB, free: 46.09 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09156/1.51, allocations: 61.4 MB / 0.916 GB, free: 1.262 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001838/1.51, allocations: 132.9 kB / 0.9162 GB, free: 1.066 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.69/5.201, allocations: 3.938 kB / 0.9162 GB, free: 1.062 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Revolute_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Revolute.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute_res.mat does not exist to compare? outputFormat=mat