Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_3_2_3_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.00173/0.00173, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.487/1.487, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009157/0.0009156, allocations: 86.58 kB / 261.8 MB, free: 1.676 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2012/0.2012, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.705e-05/1.716e-05, allocations: 7.984 kB / 418.4 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1084, allocations: 58.85 MB / 477.2 MB, free: 1.535 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3673/0.4757, allocations: 98.66 MB / 0.5624 GB, free: 12.54 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/0.476, allocations: 76.41 kB / 0.5624 GB, free: 12.51 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08749/0.5635, allocations: 34.53 MB / 0.5962 GB, free: 14.94 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5636, allocations: 0 / 0.5962 GB, free: 14.94 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.145e-05/0.5637, allocations: 36 kB / 0.5962 GB, free: 14.9 MB / 410.7 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.004818/0.5685, allocations: 2.203 MB / 0.5984 GB, free: 12.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.5686, allocations: 8.031 kB / 0.5984 GB, free: 12.81 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00186/0.5704, allocations: 388 kB / 0.5987 GB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002363/0.5728, allocations: 1.15 MB / 0.5999 GB, free: 11.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.313e-05/0.5729, allocations: 64 kB / 0.5999 GB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003236/0.5732, allocations: 111.9 kB / 0.6 GB, free: 11.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003822/0.5771, allocations: 2.75 MB / 0.6027 GB, free: 9.457 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005014/0.5821, allocations: 3.784 MB / 0.6064 GB, free: 6.426 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.3e-05/0.5822, allocations: 7.938 kB / 0.6064 GB, free: 6.418 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001802/0.5824, allocations: 8 kB / 0.6064 GB, free: 6.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009372/0.5833, allocations: 0.5149 MB / 0.6069 GB, free: 5.961 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02044/0.6038, allocations: 15.62 MB / 0.6222 GB, free: 7.289 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/0.605, allocations: 0.841 MB / 0.623 GB, free: 6.418 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007417/0.6058, allocations: 0.6598 MB / 0.6236 GB, free: 5.75 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004865/0.6107, allocations: 3.506 MB / 0.6271 GB, free: 2.035 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.6107, allocations: 50.55 kB / 0.6271 GB, free: 1.977 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 5.01e-06/0.6107, allocations: 0 / 0.6271 GB, free: 1.977 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.003455/0.6142, allocations: 1.057 MB / 0.6281 GB, free: 0.9102 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/0.6143, allocations: 106.8 kB / 0.6282 GB, free: 0.7812 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001734/0.616, allocations: 1.299 MB / 0.6295 GB, free: 15.47 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.249e-05/0.6161, allocations: 29.77 kB / 0.6295 GB, free: 15.44 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009963/0.6171, allocations: 1.475 MB / 0.631 GB, free: 13.94 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.6172, allocations: 142.6 kB / 0.6311 GB, free: 13.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.683e-05/0.6173, allocations: 0 / 0.6311 GB, free: 13.8 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002213/0.6175, allocations: 439.7 kB / 0.6315 GB, free: 13.36 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006441/0.6181, allocations: 476.7 kB / 0.632 GB, free: 12.89 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001748/0.6199, allocations: 2.084 MB / 0.634 GB, free: 9.969 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.6211, allocations: 0.9477 MB / 0.635 GB, free: 9.02 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.288e-05/0.6212, allocations: 20 kB / 0.635 GB, free: 9 MB / 442.7 MB Notification: Performance of matching and sorting (n=310) (initialization): time 0.00315/0.6243, allocations: 2.146 MB / 0.6371 GB, free: 6.848 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.283e-05/0.6244, allocations: 32 kB / 0.6371 GB, free: 6.816 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-05/0.6244, allocations: 56.88 kB / 0.6372 GB, free: 6.762 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.171e-05/0.6245, allocations: 88 kB / 0.6372 GB, free: 6.676 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/0.626, allocations: 0.577 MB / 0.6378 GB, free: 6.098 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.859e-05/0.6261, allocations: 115.6 kB / 0.6379 GB, free: 5.984 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001547/0.6277, allocations: 292.4 kB / 0.6382 GB, free: 5.695 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001797/0.6279, allocations: 156 kB / 0.6383 GB, free: 5.543 MB / 442.7 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.0003174/0.6282, allocations: 262.7 kB / 0.6386 GB, free: 5.277 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006562/0.6289, allocations: 375.8 kB / 0.639 GB, free: 4.902 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.629, allocations: 122.4 kB / 0.6391 GB, free: 4.781 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000281/0.6293, allocations: 139.8 kB / 0.6392 GB, free: 4.637 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.6293, allocations: 7.953 kB / 0.6392 GB, free: 4.629 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.6294, allocations: 96 / 0.6392 GB, free: 4.629 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.6294, allocations: 3.984 kB / 0.6392 GB, free: 4.625 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003737/0.6331, allocations: 2.521 MB / 0.6417 GB, free: 1.938 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.559e-05/0.6332, allocations: 11.94 kB / 0.6417 GB, free: 1.926 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002943/0.6335, allocations: 79.84 kB / 0.6418 GB, free: 1.848 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.792e-05/0.6335, allocations: 12 kB / 0.6418 GB, free: 1.836 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.045e-05/0.6335, allocations: 12 kB / 0.6418 GB, free: 1.824 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.154e-05/0.6335, allocations: 11.94 kB / 0.6418 GB, free: 1.812 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.328e-05/0.6336, allocations: 15.94 kB / 0.6418 GB, free: 1.797 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/0.6347, allocations: 1.194 MB / 0.643 GB, free: 204 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003372/0.6351, allocations: 211.4 kB / 0.6432 GB, free: 15.97 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/0.6352, allocations: 8 kB / 0.6432 GB, free: 15.96 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004096/0.6356, allocations: 19.98 kB / 0.6432 GB, free: 15.94 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.418e-05/0.6357, allocations: 51.69 kB / 0.6433 GB, free: 15.89 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.144e-05/0.6357, allocations: 27.98 kB / 0.6433 GB, free: 15.86 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001129/0.6369, allocations: 0.8361 MB / 0.6441 GB, free: 15.03 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6369, allocations: 8 kB / 0.6441 GB, free: 15.02 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002173/0.6391, allocations: 449.8 kB / 0.6445 GB, free: 14.58 MB / 458.7 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.002224/0.6413, allocations: 4.158 MB / 0.6486 GB, free: 10.14 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002026/0.6433, allocations: 1.123 MB / 0.6497 GB, free: 9.035 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.899e-06/0.6434, allocations: 4 kB / 0.6497 GB, free: 9.031 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002416/0.6436, allocations: 178.1 kB / 0.6499 GB, free: 8.859 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007139/0.6443, allocations: 118.7 kB / 0.65 GB, free: 8.742 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007393/0.6517, allocations: 3.167 MB / 0.6531 GB, free: 5.41 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001722/0.6535, allocations: 1.74 MB / 0.6548 GB, free: 3.637 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001732/0.6553, allocations: 0.6209 MB / 0.6554 GB, free: 3.012 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009061/0.6562, allocations: 0.757 MB / 0.6561 GB, free: 2.254 MB / 458.7 MB Notification: Performance of SimCode: time 5.81e-07/0.6562, allocations: 0 / 0.6561 GB, free: 2.254 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05247/0.7087, allocations: 23.16 MB / 0.6787 GB, free: 11.11 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001978/0.7089, allocations: 139.9 kB / 0.6789 GB, free: 10.9 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.488/3.197, allocations: 0 / 0.6789 GB, free: 10.9 MB / 490.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS_res.mat does not exist to compare? outputFormat=mat