Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.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.JointUPS2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointUPS2",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.001633/0.001637, allocations: 181.9 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.095/2.095, allocations: 205.2 MB / 219.4 MB, free: 14.22 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 94.62 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2866/0.2866, allocations: 43.5 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.891e-05/3.893e-05, allocations: 11.92 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1265, allocations: 58.86 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5362/0.6627, allocations: 108.2 MB / 0.5786 GB, free: 11.63 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/0.663, allocations: 77.73 kB / 0.5786 GB, free: 11.59 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4388/1.102, allocations: 99.27 MB / 0.6756 GB, free: 12 kB / 474.7 MB Notification: Performance of FrontEnd: time 6.291e-06/1.102, allocations: 0 / 0.6756 GB, free: 12 kB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004157/1.102, allocations: 95.97 kB / 0.6757 GB, free: 15.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: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.02492/1.127, allocations: 5.134 MB / 0.6807 GB, free: 10.71 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.97e-05/1.127, allocations: 8.031 kB / 0.6807 GB, free: 10.71 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004401/1.132, allocations: 0.8452 MB / 0.6815 GB, free: 9.852 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0362/1.168, allocations: 4.615 MB / 0.686 GB, free: 5.223 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02459/1.193, allocations: 6.069 MB / 0.692 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005605/1.193, allocations: 349 kB / 0.6923 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002913/1.196, allocations: 459.8 kB / 0.6927 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04301/1.239, allocations: 12.61 MB / 0.705 GB, free: 0.5898 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003181/1.24, allocations: 67.41 kB / 0.7051 GB, free: 0.5234 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001855/1.242, allocations: 223.9 kB / 0.7053 GB, free: 312 kB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.3562/1.598, allocations: 1.263 MB / 0.7066 GB, free: 113 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03863/1.636, allocations: 10.74 MB / 0.717 GB, free: 113 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09116/1.728, allocations: 55.86 MB / 0.7716 GB, free: 80.08 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02626/1.754, allocations: 5.929 MB / 0.7774 GB, free: 78.09 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006049/1.76, allocations: 3.032 MB / 0.7803 GB, free: 76.77 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03187/1.792, allocations: 13.05 MB / 0.7931 GB, free: 70.12 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.421e-05/1.792, allocations: 58.59 kB / 0.7931 GB, free: 70.07 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=193): time 6.442e-06/1.792, allocations: 0 / 0.7931 GB, free: 70.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=254): time 0.1609/1.953, allocations: 30.57 MB / 0.823 GB, free: 56.09 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/1.953, allocations: 209 kB / 0.8232 GB, free: 55.84 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008855/1.962, allocations: 3.841 MB / 0.8269 GB, free: 52.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007493/1.963, allocations: 62.41 kB / 0.827 GB, free: 52.43 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002673/1.966, allocations: 3.347 MB / 0.8303 GB, free: 49.45 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001549/1.967, allocations: 0.9463 MB / 0.8312 GB, free: 48.62 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007766/1.968, allocations: 136 kB / 0.8313 GB, free: 48.48 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003788/1.968, allocations: 0.5962 MB / 0.8319 GB, free: 47.96 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006643/1.975, allocations: 2.993 MB / 0.8348 GB, free: 45.26 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01055/1.986, allocations: 6.898 MB / 0.8416 GB, free: 36.94 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009684/1.995, allocations: 4.489 MB / 0.8459 GB, free: 33.14 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001088/1.996, allocations: 41.12 kB / 0.846 GB, free: 33.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=887) (initialization): time 0.03764/2.033, allocations: 12.26 MB / 0.858 GB, free: 22.91 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001058/2.033, allocations: 64 kB / 0.858 GB, free: 22.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001838/2.034, allocations: 140 kB / 0.8582 GB, free: 22.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01601/2.05, allocations: 3.211 MB / 0.8613 GB, free: 20.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009841/2.059, allocations: 1.545 MB / 0.8628 GB, free: 19.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03415/2.094, allocations: 14.95 MB / 0.8774 GB, free: 4.168 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008715/2.102, allocations: 475.2 kB / 0.8778 GB, free: 3.703 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001495/2.104, allocations: 411.9 kB / 0.8782 GB, free: 3.305 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 627 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (809): * Single equations (assignments): 805 * Array equations: 3 * 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 {(8,54.7%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001514/2.106, allocations: 0.6105 MB / 0.8788 GB, free: 2.688 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001377/2.107, allocations: 406.8 kB / 0.8792 GB, free: 2.285 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02801/2.135, allocations: 7.366 MB / 0.8864 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-05/2.135, allocations: 28 kB / 0.8864 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-05/2.135, allocations: 16 kB / 0.8865 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.233e-05/2.135, allocations: 7.969 kB / 0.8865 GB, free: 10.85 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.42/2.555, allocations: 14.98 MB / 0.9011 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.36e-05/2.555, allocations: 3.219 kB / 0.9011 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004027/2.559, allocations: 382.7 kB / 0.9015 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01713/2.577, allocations: 2.863 MB / 0.9043 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007104/2.577, allocations: 42.06 kB / 0.9043 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03892/2.616, allocations: 13.24 MB / 0.9172 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.859e-06/2.616, allocations: 1.062 kB / 0.9172 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04466/2.661, allocations: 11.33 MB / 0.9283 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00362/2.665, allocations: 0.9137 MB / 0.9292 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001485/2.666, allocations: 42.47 kB / 0.9292 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004821/2.671, allocations: 208.4 kB / 0.9294 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001118/2.672, allocations: 147.6 kB / 0.9296 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003359/2.673, allocations: 58.77 kB / 0.9296 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007056/2.68, allocations: 2.687 MB / 0.9323 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.232e-06/2.68, allocations: 0 / 0.9323 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009036/2.689, allocations: 1.311 MB / 0.9335 GB, free: 115.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (189): * Single equations (assignments): 185 * Array equations: 3 * 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 {(6,61.1%) 40} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03478/2.724, allocations: 12.16 MB / 0.9454 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02005/2.744, allocations: 7.651 MB / 0.9529 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.717e-06/2.744, allocations: 0 / 0.9529 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.008413/2.752, allocations: 3.033 MB / 0.9558 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004303/2.757, allocations: 467.9 kB / 0.9563 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03785/2.794, allocations: 11.92 MB / 0.9679 GB, free: 103 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008307/2.803, allocations: 3.782 MB / 0.9716 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005829/2.809, allocations: 2.269 MB / 0.9738 GB, free: 99.89 MB / 0.5105 GB Notification: Performance of SimCode: time 1.433e-06/2.809, allocations: 3.391 kB / 0.9738 GB, free: 99.89 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.642/8.451, allocations: 117.4 MB / 1.088 GB, free: 113.2 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointUPS2_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointUPS2.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat does not exist to compare? outputFormat=mat