Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001516/0.001516, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.065/2.065, allocations: 205.3 MB / 214.1 MB, free: 14.09 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001115/0.001114, allocations: 87.97 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3869/0.3869, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.677e-05/2.708e-05, allocations: 4.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4098/0.4098, allocations: 58.85 MB / 477.2 MB, free: 5.168 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1829/0.5928, allocations: 98.67 MB / 0.5624 GB, free: 0.5156 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/0.5931, allocations: 75.97 kB / 0.5624 GB, free: 452 kB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1472/0.7404, allocations: 34.53 MB / 0.5961 GB, free: 13.61 MB / 443.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.7404, allocations: 0 / 0.5961 GB, free: 13.61 MB / 443.1 MB Notification: Performance of Transformations before backend: time 0.0001069/0.7405, allocations: 36 kB / 0.5962 GB, free: 13.57 MB / 443.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.008635/0.7492, allocations: 2.207 MB / 0.5983 GB, free: 11.31 MB / 443.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.7493, allocations: 12.03 kB / 0.5983 GB, free: 11.3 MB / 443.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003492/0.7528, allocations: 380.7 kB / 0.5987 GB, free: 10.93 MB / 443.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004588/0.7574, allocations: 1.156 MB / 0.5998 GB, free: 9.727 MB / 443.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001334/0.7576, allocations: 60 kB / 0.5999 GB, free: 9.668 MB / 443.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008638/0.7584, allocations: 115.9 kB / 0.6 GB, free: 9.555 MB / 443.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007486/0.7659, allocations: 2.747 MB / 0.6027 GB, free: 6.805 MB / 443.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01101/0.777, allocations: 3.786 MB / 0.6064 GB, free: 2.766 MB / 443.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.61e-05/0.7772, allocations: 7.938 kB / 0.6064 GB, free: 2.758 MB / 443.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000449/0.7776, allocations: 8 kB / 0.6064 GB, free: 2.75 MB / 443.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001776/0.7794, allocations: 0.5229 MB / 0.6069 GB, free: 2.223 MB / 443.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03493/0.8144, allocations: 15.62 MB / 0.6222 GB, free: 2.199 MB / 459.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002128/0.8166, allocations: 0.8371 MB / 0.623 GB, free: 1.332 MB / 459.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001471/0.8181, allocations: 0.6598 MB / 0.6236 GB, free: 0.6641 MB / 459.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008423/0.8266, allocations: 3.509 MB / 0.6271 GB, free: 12.95 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/0.8267, allocations: 30.56 kB / 0.6271 GB, free: 12.91 MB / 475.1 MB Notification: Performance of pre-optimization done (n=28): time 5.77e-06/0.8267, allocations: 0 / 0.6271 GB, free: 12.91 MB / 475.1 MB Notification: Performance of matching and sorting (n=28): time 0.00612/0.8328, allocations: 1.069 MB / 0.6281 GB, free: 11.83 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/0.8329, allocations: 106.8 kB / 0.6282 GB, free: 11.7 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002787/0.8357, allocations: 1.291 MB / 0.6295 GB, free: 10.4 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 8.707e-05/0.8359, allocations: 29.7 kB / 0.6295 GB, free: 10.36 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001433/0.8373, allocations: 1.512 MB / 0.631 GB, free: 8.828 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002352/0.8376, allocations: 134.6 kB / 0.6311 GB, free: 8.695 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.8377, allocations: 0 / 0.6311 GB, free: 8.695 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0002492/0.838, allocations: 419.8 kB / 0.6315 GB, free: 8.277 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/0.8392, allocations: 476.7 kB / 0.632 GB, free: 7.809 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00243/0.8416, allocations: 2.076 MB / 0.634 GB, free: 4.898 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002273/0.8439, allocations: 0.9516 MB / 0.6349 GB, free: 3.945 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.855e-05/0.844, allocations: 16 kB / 0.6349 GB, free: 3.93 MB / 475.1 MB Notification: Performance of matching and sorting (n=310) (initialization): time 0.006058/0.8501, allocations: 2.124 MB / 0.637 GB, free: 1.801 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.493e-05/0.8502, allocations: 32 kB / 0.6371 GB, free: 1.77 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.381e-05/0.8503, allocations: 56 kB / 0.6371 GB, free: 1.715 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001293/0.8504, allocations: 88 kB / 0.6372 GB, free: 1.629 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003259/0.8537, allocations: 0.5731 MB / 0.6377 GB, free: 1.055 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001204/0.8539, allocations: 111.6 kB / 0.6379 GB, free: 0.9453 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002466/0.8563, allocations: 296.5 kB / 0.6381 GB, free: 0.6523 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003809/0.8568, allocations: 156.2 kB / 0.6383 GB, free: 0.4961 MB / 475.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 268 * Number of states: 0 () * Number of discrete variables: 33 (rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.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 (310): * Single equations (assignments): 310 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004391/0.8572, allocations: 258.7 kB / 0.6385 GB, free: 240 kB / 475.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.3165/1.174, allocations: 370.2 kB / 0.6389 GB, free: 129.4 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003127/1.174, allocations: 121.2 kB / 0.639 GB, free: 129.4 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004402/1.175, allocations: 138.6 kB / 0.6391 GB, free: 129.3 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/1.175, allocations: 8.469 kB / 0.6391 GB, free: 129.3 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/1.175, allocations: 0.6562 kB / 0.6391 GB, free: 129.3 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/1.175, allocations: 2.25 kB / 0.6391 GB, free: 129.3 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005732/1.18, allocations: 2.516 MB / 0.6416 GB, free: 128.5 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.355e-05/1.18, allocations: 11.94 kB / 0.6416 GB, free: 128.5 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004971/1.181, allocations: 72.94 kB / 0.6417 GB, free: 128.5 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.968e-05/1.181, allocations: 16 kB / 0.6417 GB, free: 128.5 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.645e-05/1.181, allocations: 11.5 kB / 0.6417 GB, free: 128.5 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.787e-05/1.181, allocations: 22.22 kB / 0.6417 GB, free: 128.5 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-05/1.181, allocations: 13.31 kB / 0.6417 GB, free: 128.5 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/1.182, allocations: 1.194 MB / 0.6429 GB, free: 127.4 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004145/1.183, allocations: 206.3 kB / 0.6431 GB, free: 127.3 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001931/1.183, allocations: 12.64 kB / 0.6431 GB, free: 127.3 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007372/1.184, allocations: 17.91 kB / 0.6431 GB, free: 127.3 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.748e-05/1.184, allocations: 54.92 kB / 0.6432 GB, free: 127.3 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.896e-05/1.184, allocations: 22.25 kB / 0.6432 GB, free: 127.3 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.001918/1.186, allocations: 0.8396 MB / 0.644 GB, free: 127.2 MB / 475.1 MB Notification: Performance of sort global known variables: time 1.132e-06/1.186, allocations: 4.906 kB / 0.644 GB, free: 127.2 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.002956/1.189, allocations: 457.6 kB / 0.6445 GB, free: 127.1 MB / 475.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002125/1.191, allocations: 4.142 MB / 0.6485 GB, free: 123.2 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.003099/1.194, allocations: 1.13 MB / 0.6496 GB, free: 123.2 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 1.929e-05/1.194, allocations: 2.531 kB / 0.6496 GB, free: 123.2 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004955/1.195, allocations: 173.8 kB / 0.6498 GB, free: 123.2 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/1.196, allocations: 125.1 kB / 0.6499 GB, free: 123.2 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01158/1.208, allocations: 3.371 MB / 0.6532 GB, free: 122.2 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002773/1.21, allocations: 1.736 MB / 0.6549 GB, free: 121.5 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001479/1.212, allocations: 0.7719 MB / 0.6556 GB, free: 121.5 MB / 475.1 MB Notification: Performance of SimCode: time 1.493e-06/1.212, allocations: 0 / 0.6556 GB, free: 121.5 MB / 475.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.134/4.346, allocations: 28.98 MB / 0.6839 GB, free: 116.6 MB / 475.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointUPS_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointUPS.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS_res.mat does not exist to compare? outputFormat=mat