Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.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.Revolute,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00101/0.00101, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 225.6 MB / 234.8 MB, free: 3.238 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009416/0.0009416, allocations: 95.98 kB / 286.7 MB, free: 5.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2042/0.2042, allocations: 45.14 MB / 383.7 MB, free: 268 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.156e-05/2.166e-05, allocations: 7.984 kB / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1057, allocations: 63.24 MB / 0.5044 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3865/0.4922, allocations: 104 MB / 0.606 GB, free: 14.43 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/0.4926, allocations: 79.22 kB / 0.6061 GB, free: 14.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2293/0.7219, allocations: 85.31 MB / 0.6894 GB, free: 1.336 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.722, allocations: 4 kB / 0.6894 GB, free: 1.332 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000223/0.7222, allocations: 72 kB / 0.6895 GB, free: 1.262 MB / 474.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.01324/0.7355, allocations: 3.618 MB / 0.693 GB, free: 13.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/0.7356, allocations: 8.031 kB / 0.693 GB, free: 13.58 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01676/0.7523, allocations: 3.485 MB / 0.6964 GB, free: 10.08 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01063/0.763, allocations: 3.472 MB / 0.6998 GB, free: 6.559 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003318/0.7634, allocations: 124 kB / 0.6999 GB, free: 6.438 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002858/0.7663, allocations: 223.9 kB / 0.7001 GB, free: 6.219 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01491/0.7812, allocations: 7.149 MB / 0.7071 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0219/0.8032, allocations: 9.32 MB / 0.7162 GB, free: 5.32 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002055/0.8034, allocations: 23.81 kB / 0.7162 GB, free: 5.297 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001965/0.8054, allocations: 16 kB / 0.7162 GB, free: 5.281 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002185/0.8076, allocations: 1.176 MB / 0.7174 GB, free: 4.109 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05555/0.8632, allocations: 32.35 MB / 0.749 GB, free: 3.172 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2961/1.159, allocations: 4.176 MB / 0.7531 GB, free: 141.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004522/1.164, allocations: 2.232 MB / 0.7552 GB, free: 141.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001957/1.166, allocations: 1.878 MB / 0.7571 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.593e-05/1.166, allocations: 52.3 kB / 0.7571 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=231): time 7.774e-06/1.166, allocations: 0 / 0.7571 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=238): time 0.0313/1.197, allocations: 13.95 MB / 0.7707 GB, free: 139 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/1.197, allocations: 73.17 kB / 0.7708 GB, free: 138.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00372/1.201, allocations: 2.223 MB / 0.773 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000461/1.202, allocations: 25.7 kB / 0.773 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001659/1.203, allocations: 2.721 MB / 0.7757 GB, free: 137.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009978/1.204, allocations: 0.8413 MB / 0.7765 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002222/1.205, allocations: 3.438 kB / 0.7765 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003241/1.205, allocations: 0.5986 MB / 0.7771 GB, free: 136.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002436/1.207, allocations: 2.114 MB / 0.7791 GB, free: 136.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003711/1.211, allocations: 5.193 MB / 0.7842 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00435/1.215, allocations: 3.329 MB / 0.7875 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.926e-05/1.216, allocations: 33 kB / 0.7875 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=735) (initialization): time 0.01307/1.229, allocations: 7.382 MB / 0.7947 GB, free: 131.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.963e-05/1.229, allocations: 53.75 kB / 0.7948 GB, free: 131.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001623/1.229, allocations: 110 kB / 0.7949 GB, free: 131.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002233/1.231, allocations: 0.812 MB / 0.7957 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004596/1.236, allocations: 1.266 MB / 0.7969 GB, free: 131 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004634/1.24, allocations: 3.98 MB / 0.8008 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004175/1.245, allocations: 197.9 kB / 0.801 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001181/1.246, allocations: 318.4 kB / 0.8013 GB, free: 128.9 MB / 0.5261 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.001408/1.247, allocations: 388.8 kB / 0.8016 GB, free: 128.6 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007067/1.254, allocations: 4.061 MB / 0.8056 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00101/1.255, allocations: 260.6 kB / 0.8059 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008028/1.264, allocations: 4.563 MB / 0.8103 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-05/1.264, allocations: 50.25 kB / 0.8104 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-05/1.264, allocations: 3.094 kB / 0.8104 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.289e-05/1.264, allocations: 6.891 kB / 0.8104 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01828/1.282, allocations: 9.513 MB / 0.8197 GB, free: 122.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.358e-05/1.282, allocations: 7.156 kB / 0.8197 GB, free: 122.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001997/1.284, allocations: 362.9 kB / 0.82 GB, free: 122.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00197/1.286, allocations: 0.6519 MB / 0.8206 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004455/1.287, allocations: 15.28 kB / 0.8207 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003997/1.291, allocations: 3.462 MB / 0.824 GB, free: 120.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.24e-05/1.291, allocations: 16.28 kB / 0.8241 GB, free: 120.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009786/1.3, allocations: 7.571 MB / 0.8315 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008078/1.301, allocations: 305.9 kB / 0.8317 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007502/1.302, allocations: 15.8 kB / 0.8318 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001744/1.304, allocations: 103.1 kB / 0.8319 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003998/1.304, allocations: 133 kB / 0.832 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002001/1.304, allocations: 72.92 kB / 0.8321 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002695/1.307, allocations: 1.451 MB / 0.8335 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.11e-07/1.307, allocations: 0 / 0.8335 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006077/1.313, allocations: 0.8176 MB / 0.8343 GB, free: 112.6 MB / 0.5261 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.01057/1.324, allocations: 10.1 MB / 0.8441 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007594/1.331, allocations: 5.158 MB / 0.8492 GB, free: 98.62 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-05/1.331, allocations: 0 / 0.8492 GB, free: 98.62 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002692/1.334, allocations: 1.966 MB / 0.8511 GB, free: 96.84 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002075/1.336, allocations: 215.3 kB / 0.8513 GB, free: 96.65 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02235/1.359, allocations: 9.032 MB / 0.8601 GB, free: 88.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004687/1.363, allocations: 3.25 MB / 0.8633 GB, free: 86.18 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004848/1.368, allocations: 2.056 MB / 0.8653 GB, free: 84.86 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002321/1.371, allocations: 1.706 MB / 0.867 GB, free: 83.29 MB / 0.5261 GB Notification: Performance of SimCode: time 1.422e-06/1.371, allocations: 7.5 kB / 0.867 GB, free: 83.28 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08801/1.459, allocations: 61.4 MB / 0.9269 GB, free: 26.37 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001586/1.459, allocations: 131.7 kB / 0.9271 GB, free: 26.17 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.664/5.123, allocations: 0 / 0.9271 GB, free: 26.17 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute_res.mat does not exist to compare? outputFormat=mat