Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.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.JointUPS2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS2",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.001348/0.001348, allocations: 177.8 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 223.2 MB / 241 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009826/0.0009825, allocations: 100.8 kB / 292.1 MB, free: 10.93 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.3923/0.3923, allocations: 44.22 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003493, allocations: 8 kB / 460 MB, free: 1.441 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3982/0.3986, allocations: 61.92 MB / 0.5096 GB, free: 38.3 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1589/0.5576, allocations: 110.2 MB / 0.6173 GB, free: 0.8516 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003067/0.5579, allocations: 83.92 kB / 0.6174 GB, free: 0.7734 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5559/1.114, allocations: 100.4 MB / 0.7154 GB, free: 98.55 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.116e-06/1.114, allocations: 0 / 0.7154 GB, free: 98.55 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002742/1.114, allocations: 90.69 kB / 0.7155 GB, free: 98.55 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.02075/1.135, allocations: 5.446 MB / 0.7208 GB, free: 96.42 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.408e-05/1.135, allocations: 12.78 kB / 0.7208 GB, free: 96.42 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005541/1.141, allocations: 0.8472 MB / 0.7216 GB, free: 96.26 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02231/1.163, allocations: 4.603 MB / 0.7261 GB, free: 95.59 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01686/1.18, allocations: 5.798 MB / 0.7318 GB, free: 93.57 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003517/1.18, allocations: 345.8 kB / 0.7321 GB, free: 93.44 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00247/1.183, allocations: 473 kB / 0.7326 GB, free: 93.31 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02857/1.211, allocations: 12.72 MB / 0.745 GB, free: 87 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003343/1.212, allocations: 67.12 kB / 0.745 GB, free: 86.96 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0018/1.214, allocations: 222.9 kB / 0.7453 GB, free: 86.84 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001899/1.216, allocations: 1.272 MB / 0.7465 GB, free: 86.61 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02489/1.24, allocations: 10.94 MB / 0.7572 GB, free: 83.25 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05851/1.299, allocations: 55.82 MB / 0.8117 GB, free: 30.43 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01319/1.312, allocations: 5.953 MB / 0.8175 GB, free: 24.33 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01748/1.33, allocations: 13.05 MB / 0.8303 GB, free: 11.02 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.183e-05/1.33, allocations: 63.75 kB / 0.8303 GB, free: 10.95 MB / 490.7 MB Notification: Performance of pre-optimization done (n=193): time 5.491e-06/1.33, allocations: 0 / 0.8303 GB, free: 10.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=254): time 0.09985/1.43, allocations: 36.05 MB / 0.8655 GB, free: 6.68 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/1.43, allocations: 213.9 kB / 0.8657 GB, free: 6.43 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006471/1.436, allocations: 3.875 MB / 0.8695 GB, free: 2.539 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005748/1.437, allocations: 61.7 kB / 0.8696 GB, free: 2.473 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.2817/1.719, allocations: 3.438 MB / 0.8729 GB, free: 120.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001712/1.72, allocations: 0.9473 MB / 0.8739 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007641/1.721, allocations: 140.2 kB / 0.874 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004177/1.722, allocations: 0.5936 MB / 0.8746 GB, free: 119.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004528/1.726, allocations: 3.087 MB / 0.8776 GB, free: 119.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007119/1.733, allocations: 6.984 MB / 0.8844 GB, free: 114.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006971/1.74, allocations: 4.525 MB / 0.8888 GB, free: 114.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001313/1.741, allocations: 39.56 kB / 0.8889 GB, free: 114.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=887) (initialization): time 0.02656/1.767, allocations: 12.57 MB / 0.9011 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001464/1.767, allocations: 64.06 kB / 0.9012 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002821/1.768, allocations: 137.5 kB / 0.9013 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009954/1.778, allocations: 3.223 MB / 0.9045 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006473/1.784, allocations: 1.554 MB / 0.906 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02316/1.807, allocations: 15.54 MB / 0.9212 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006856/1.814, allocations: 478.7 kB / 0.9216 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001386/1.816, allocations: 408.7 kB / 0.922 GB, free: 103.7 MB / 0.5105 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 () * Number of clocked 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.005149/1.821, allocations: 2.345 MB / 0.9243 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008938/1.822, allocations: 405.5 kB / 0.9247 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01364/1.835, allocations: 7.413 MB / 0.9319 GB, free: 100 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.226e-05/1.835, allocations: 25.72 kB / 0.932 GB, free: 100 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-05/1.835, allocations: 13.7 kB / 0.932 GB, free: 100 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-05/1.835, allocations: 13.83 kB / 0.932 GB, free: 100 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03083/1.866, allocations: 15.02 MB / 0.9467 GB, free: 94.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-05/1.866, allocations: 0 / 0.9467 GB, free: 94.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002039/1.868, allocations: 383.7 kB / 0.947 GB, free: 94.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008161/1.877, allocations: 2.884 MB / 0.9498 GB, free: 94.05 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005593/1.877, allocations: 47.83 kB / 0.9499 GB, free: 94.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0181/1.895, allocations: 13.84 MB / 0.9634 GB, free: 87.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.895, allocations: 0 / 0.9634 GB, free: 87.07 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01754/1.913, allocations: 11.4 MB / 0.9745 GB, free: 77.51 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001359/1.914, allocations: 454.9 kB / 0.975 GB, free: 77.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006311/1.915, allocations: 40.7 kB / 0.975 GB, free: 77.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002023/1.917, allocations: 208.3 kB / 0.9752 GB, free: 76.91 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004471/1.917, allocations: 147.6 kB / 0.9753 GB, free: 76.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001918/1.918, allocations: 67.41 kB / 0.9754 GB, free: 76.75 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004239/1.922, allocations: 2.723 MB / 0.9781 GB, free: 74.51 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.61e-07/1.922, allocations: 0 / 0.9781 GB, free: 74.51 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007813/1.93, allocations: 1.317 MB / 0.9794 GB, free: 73.21 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 () * Number of clocked 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.01749/1.947, allocations: 12.23 MB / 0.9913 GB, free: 62.85 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01232/1.96, allocations: 7.782 MB / 0.9989 GB, free: 56.04 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.313e-06/1.96, allocations: 0 / 0.9989 GB, free: 56.04 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004883/1.965, allocations: 3.08 MB / 1.002 GB, free: 53.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003611/1.968, allocations: 464.2 kB / 1.002 GB, free: 52.76 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3736/2.342, allocations: 139.8 MB / 1.139 GB, free: 70.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005568/2.347, allocations: 3.767 MB / 1.143 GB, free: 69.29 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007295/2.355, allocations: 2.178 MB / 1.145 GB, free: 69.25 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003774/2.359, allocations: 2.216 MB / 1.147 GB, free: 68.32 MB / 0.5261 GB Notification: Performance of SimCode: time 2.164e-06/2.359, allocations: 0 / 1.147 GB, free: 68.32 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1476/2.506, allocations: 101.2 MB / 1.246 GB, free: 9.062 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001401/2.506, allocations: 196.2 kB / 1.246 GB, free: 8.82 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.045/7.551, allocations: 0 / 1.246 GB, free: 8.82 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS2_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat does not exist to compare? outputFormat=mat