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.001509/0.001509, allocations: 186 kB / 16.41 MB, free: 5.727 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.06/2.06, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001118/0.001118, allocations: 90.92 kB / 270.9 MB, free: 8.387 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.5131/0.5131, allocations: 43.55 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004743/0.0004743, allocations: 12 kB / 431.5 MB, free: 6.098 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.133, allocations: 58.84 MB / 490.3 MB, free: 11.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5226/0.6557, allocations: 108.3 MB / 0.5846 GB, free: 10.25 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/0.656, allocations: 79.95 kB / 0.5847 GB, free: 10.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9129/1.569, allocations: 99.2 MB / 0.6815 GB, free: 88.25 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.477e-06/1.569, allocations: 1.375 kB / 0.6815 GB, free: 88.25 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000355/1.569, allocations: 86.28 kB / 0.6816 GB, free: 88.25 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.02517/1.595, allocations: 5.481 MB / 0.687 GB, free: 86.27 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.596e-05/1.595, allocations: 8.812 kB / 0.687 GB, free: 86.27 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004361/1.599, allocations: 0.8486 MB / 0.6878 GB, free: 86.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0346/1.634, allocations: 4.609 MB / 0.6923 GB, free: 85.88 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02274/1.656, allocations: 6.107 MB / 0.6983 GB, free: 85.23 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005107/1.657, allocations: 347.9 kB / 0.6986 GB, free: 85.22 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002959/1.66, allocations: 472.9 kB / 0.6991 GB, free: 85.21 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04431/1.704, allocations: 12.72 MB / 0.7115 GB, free: 82.33 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005506/1.705, allocations: 65.27 kB / 0.7115 GB, free: 82.32 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002905/1.708, allocations: 225.5 kB / 0.7118 GB, free: 82.32 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003685/1.712, allocations: 1.265 MB / 0.713 GB, free: 82.32 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0387/1.75, allocations: 10.95 MB / 0.7237 GB, free: 81.82 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08969/1.84, allocations: 55.87 MB / 0.7782 GB, free: 41.17 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02589/1.866, allocations: 5.954 MB / 0.7841 GB, free: 39.14 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03123/1.897, allocations: 13.07 MB / 0.7968 GB, free: 32.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.499e-05/1.897, allocations: 59 kB / 0.7969 GB, free: 32.25 MB / 490.7 MB Notification: Performance of pre-optimization done (n=193): time 5.41e-06/1.897, allocations: 0 / 0.7969 GB, free: 32.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=254): time 0.1845/2.082, allocations: 36.16 MB / 0.8322 GB, free: 8.734 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.948e-05/2.082, allocations: 217.8 kB / 0.8324 GB, free: 8.48 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009717/2.092, allocations: 3.912 MB / 0.8362 GB, free: 4.766 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007987/2.093, allocations: 65.7 kB / 0.8363 GB, free: 4.695 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002973/2.096, allocations: 3.34 MB / 0.8395 GB, free: 1.359 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001767/2.098, allocations: 0.9527 MB / 0.8405 GB, free: 424 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00115/2.099, allocations: 132.7 kB / 0.8406 GB, free: 292 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006056/2.099, allocations: 0.5998 MB / 0.8412 GB, free: 15.68 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009394/2.109, allocations: 3.082 MB / 0.8442 GB, free: 12.59 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0134/2.122, allocations: 6.988 MB / 0.851 GB, free: 3.664 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01238/2.135, allocations: 4.524 MB / 0.8554 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001371/2.135, allocations: 40 kB / 0.8555 GB, free: 15.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=887) (initialization): time 0.04515/2.18, allocations: 12.43 MB / 0.8676 GB, free: 2.656 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001305/2.18, allocations: 68.22 kB / 0.8677 GB, free: 2.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002482/2.18, allocations: 136 kB / 0.8678 GB, free: 2.457 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3765/2.557, allocations: 3.212 MB / 0.8709 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01089/2.568, allocations: 1.556 MB / 0.8725 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04142/2.609, allocations: 15.53 MB / 0.8876 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009089/2.619, allocations: 476.7 kB / 0.8881 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001915/2.62, allocations: 409.1 kB / 0.8885 GB, free: 104.6 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.007146/2.628, allocations: 2.345 MB / 0.8908 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001237/2.629, allocations: 408.5 kB / 0.8912 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02765/2.657, allocations: 7.417 MB / 0.8984 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.002e-05/2.657, allocations: 25.47 kB / 0.8984 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.369e-05/2.657, allocations: 9.719 kB / 0.8984 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-05/2.657, allocations: 19.41 kB / 0.8984 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05586/2.713, allocations: 15.03 MB / 0.9131 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.756e-05/2.713, allocations: 1.375 kB / 0.9131 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003872/2.717, allocations: 382.2 kB / 0.9135 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01643/2.733, allocations: 2.881 MB / 0.9163 GB, free: 99.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007252/2.734, allocations: 46.44 kB / 0.9164 GB, free: 99.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03448/2.768, allocations: 13.86 MB / 0.9299 GB, free: 94.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.074e-06/2.769, allocations: 2.547 kB / 0.9299 GB, free: 94.08 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03524/2.804, allocations: 11.41 MB / 0.941 GB, free: 89.94 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003805/2.808, allocations: 0.9106 MB / 0.9419 GB, free: 89.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001678/2.809, allocations: 45.47 kB / 0.942 GB, free: 89.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004835/2.814, allocations: 202.8 kB / 0.9422 GB, free: 89.37 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001205/2.816, allocations: 152.6 kB / 0.9423 GB, free: 89.35 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00034/2.816, allocations: 63.58 kB / 0.9424 GB, free: 89.34 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008173/2.824, allocations: 2.75 MB / 0.945 GB, free: 88.41 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.413e-06/2.824, allocations: 0.5625 kB / 0.945 GB, free: 88.41 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00951/2.834, allocations: 1.314 MB / 0.9463 GB, free: 88.27 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.03565/2.869, allocations: 12.22 MB / 0.9583 GB, free: 83.25 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02033/2.89, allocations: 7.785 MB / 0.9659 GB, free: 80.69 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/2.89, allocations: 0 / 0.9659 GB, free: 80.69 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.008712/2.899, allocations: 3.08 MB / 0.9689 GB, free: 79.44 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004507/2.903, allocations: 471.5 kB / 0.9693 GB, free: 79.23 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4971/3.4, allocations: 140.5 MB / 1.107 GB, free: 115.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007577/3.408, allocations: 3.778 MB / 1.11 GB, free: 115 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00594/3.414, allocations: 2.273 MB / 1.112 GB, free: 114.9 MB / 0.5417 GB Notification: Performance of SimCode: time 9.22e-07/3.414, allocations: 0 / 1.112 GB, free: 114.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.593/8.007, allocations: 117.3 MB / 1.227 GB, free: 57.57 MB / 0.5417 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