Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_3_2_3_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.001487/0.001487, allocations: 185.2 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.808/1.808, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001253/0.001253, allocations: 86.81 kB / 270.2 MB, free: 13.37 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.223/0.223, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003355, allocations: 12 kB / 431.5 MB, free: 19.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1286, allocations: 58.86 MB / 490.3 MB, free: 8.586 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4477/0.5763, allocations: 108.3 MB / 0.5846 GB, free: 7.742 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/0.5766, allocations: 77.56 kB / 0.5847 GB, free: 7.703 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2463/0.8229, allocations: 99.2 MB / 0.6816 GB, free: 12.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.8229, allocations: 0 / 0.6816 GB, free: 12.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002116/0.8232, allocations: 88 kB / 0.6817 GB, free: 12.11 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.01748/0.8406, allocations: 5.482 MB / 0.687 GB, free: 6.555 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.8407, allocations: 8.031 kB / 0.687 GB, free: 6.547 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003451/0.8442, allocations: 0.8452 MB / 0.6878 GB, free: 5.691 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01839/0.8626, allocations: 4.611 MB / 0.6923 GB, free: 1.066 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01775/0.8804, allocations: 6.1 MB / 0.6983 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004487/0.8809, allocations: 353 kB / 0.6986 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002628/0.8835, allocations: 463.8 kB / 0.6991 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2844/1.168, allocations: 12.72 MB / 0.7115 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004025/1.168, allocations: 66.31 kB / 0.7116 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001493/1.17, allocations: 225.1 kB / 0.7118 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00218/1.172, allocations: 1.261 MB / 0.713 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02776/1.2, allocations: 10.95 MB / 0.7237 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06024/1.26, allocations: 55.86 MB / 0.7783 GB, free: 76.66 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01364/1.274, allocations: 5.956 MB / 0.7841 GB, free: 74.67 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01701/1.291, allocations: 13.08 MB / 0.7968 GB, free: 68 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/1.291, allocations: 57.3 kB / 0.7969 GB, free: 67.95 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=193): time 5.59e-06/1.291, allocations: 2.625 kB / 0.7969 GB, free: 67.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=254): time 0.09655/1.388, allocations: 36.15 MB / 0.8322 GB, free: 53.14 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.237e-05/1.388, allocations: 209.9 kB / 0.8324 GB, free: 52.89 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007273/1.395, allocations: 3.921 MB / 0.8362 GB, free: 49.66 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007733/1.396, allocations: 63.11 kB / 0.8363 GB, free: 49.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002374/1.398, allocations: 3.442 MB / 0.8397 GB, free: 46.58 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001615/1.4, allocations: 0.9518 MB / 0.8406 GB, free: 45.74 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009682/1.401, allocations: 136.6 kB / 0.8407 GB, free: 45.61 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005976/1.401, allocations: 0.5926 MB / 0.8413 GB, free: 45.09 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004994/1.406, allocations: 3.077 MB / 0.8443 GB, free: 42.48 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006801/1.413, allocations: 6.982 MB / 0.8511 GB, free: 34.14 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006765/1.42, allocations: 4.535 MB / 0.8555 GB, free: 30.07 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001513/1.42, allocations: 40 kB / 0.8556 GB, free: 30.03 MB / 0.4948 GB Notification: Performance of matching and sorting (n=887) (initialization): time 0.02717/1.447, allocations: 12.57 MB / 0.8679 GB, free: 18.41 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002157/1.448, allocations: 64 kB / 0.8679 GB, free: 18.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002503/1.448, allocations: 140 kB / 0.8681 GB, free: 18.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00889/1.457, allocations: 3.218 MB / 0.8712 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005651/1.463, allocations: 1.552 MB / 0.8727 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02324/1.486, allocations: 15.55 MB / 0.8879 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006754/1.493, allocations: 482.7 kB / 0.8884 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001821/1.494, allocations: 405.3 kB / 0.8887 GB, free: 12.89 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.006663/1.501, allocations: 2.341 MB / 0.891 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001481/1.503, allocations: 406.8 kB / 0.8914 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01879/1.521, allocations: 7.423 MB / 0.8987 GB, free: 2.688 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.459e-05/1.522, allocations: 28 kB / 0.8987 GB, free: 2.66 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.014e-05/1.522, allocations: 8 kB / 0.8987 GB, free: 2.652 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.251e-05/1.522, allocations: 15.95 kB / 0.8987 GB, free: 2.637 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3236/1.845, allocations: 15.02 MB / 0.9134 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.151e-05/1.845, allocations: 5.047 kB / 0.9134 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002348/1.848, allocations: 387.5 kB / 0.9138 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008869/1.857, allocations: 2.876 MB / 0.9166 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006531/1.857, allocations: 43.09 kB / 0.9166 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01829/1.876, allocations: 13.85 MB / 0.9301 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/1.876, allocations: 0 / 0.9301 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01766/1.893, allocations: 11.4 MB / 0.9413 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003154/1.897, allocations: 0.9138 MB / 0.9422 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001112/1.898, allocations: 43.92 kB / 0.9422 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002563/1.9, allocations: 203.3 kB / 0.9424 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005021/1.901, allocations: 149.5 kB / 0.9426 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002061/1.901, allocations: 66.05 kB / 0.9426 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004771/1.906, allocations: 2.75 MB / 0.9453 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.01e-07/1.906, allocations: 0 / 0.9453 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007219/1.913, allocations: 1.314 MB / 0.9466 GB, free: 113.1 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.01999/1.933, allocations: 12.23 MB / 0.9585 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01329/1.946, allocations: 7.786 MB / 0.9661 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/1.946, allocations: 2.969 kB / 0.9661 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005632/1.952, allocations: 3.066 MB / 0.9691 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003656/1.956, allocations: 470 kB / 0.9696 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3731/2.329, allocations: 140.1 MB / 1.106 GB, free: 134.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007045/2.336, allocations: 3.782 MB / 1.11 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006378/2.342, allocations: 2.181 MB / 1.112 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004049/2.347, allocations: 2.221 MB / 1.114 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of SimCode: time 1.893e-06/2.347, allocations: 3.281 kB / 1.114 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1486/2.495, allocations: 101.4 MB / 1.213 GB, free: 80.27 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000168/2.495, allocations: 208.4 kB / 1.214 GB, free: 80.01 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.048/7.543, allocations: 0 / 1.214 GB, free: 80.01 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat does not exist to compare? outputFormat=mat