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.001632/0.001632, allocations: 188.3 kB / 16.4 MB, free: 5.625 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.165/2.165, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.001151/0.001151, allocations: 94.8 kB / 270.9 MB, free: 13.38 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.2899/0.2899, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007057/0.000706, allocations: 16 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1764, allocations: 58.86 MB / 490.3 MB, free: 9.25 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.06121/0.2377, allocations: 37.14 MB / 0.5151 GB, free: 4.008 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.3683/0.6061, allocations: 9.484 MB / 0.5244 GB, free: 9.859 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00821/0.6143, allocations: 184.8 kB / 0.5245 GB, free: 9.859 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008027/0.6224, allocations: 1.81 MB / 0.5263 GB, free: 9.855 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02254/0.645, allocations: 5.404 MB / 0.5316 GB, free: 9.77 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004329/0.6494, allocations: 0.8381 MB / 0.5324 GB, free: 9.762 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.03688/0.6863, allocations: 14.64 MB / 0.5467 GB, free: 7.078 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007618/0.694, allocations: 4.093 MB / 0.5507 GB, free: 5.855 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002662/0.6967, allocations: 1.227 MB / 0.5519 GB, free: 5.621 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003058/0.6998, allocations: 1.698 MB / 0.5536 GB, free: 4.926 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007372/0.7006, allocations: 168 kB / 0.5537 GB, free: 4.762 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002795/0.7034, allocations: 1.062 MB / 0.5547 GB, free: 3.887 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002093/0.7055, allocations: 1.822 MB / 0.5565 GB, free: 2.414 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001252/0.7068, allocations: 0.9334 MB / 0.5574 GB, free: 1.898 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0101/0.7169, allocations: 6.33 MB / 0.5636 GB, free: 12.39 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.7169, allocations: 0 / 0.5636 GB, free: 12.39 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.567e-06/0.717, allocations: 0 / 0.5636 GB, free: 12.39 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002479/0.7172, allocations: 4 kB / 0.5636 GB, free: 12.38 MB / 378.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.02059/0.7378, allocations: 5.187 MB / 0.5687 GB, free: 7.602 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.7379, allocations: 12.03 kB / 0.5687 GB, free: 7.59 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002498/0.7404, allocations: 0.7965 MB / 0.5695 GB, free: 7.102 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1788/0.9192, allocations: 8.472 MB / 0.5778 GB, free: 15.02 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01201/0.9313, allocations: 3.602 MB / 0.5813 GB, free: 12.24 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003574/0.9317, allocations: 255.8 kB / 0.5815 GB, free: 12.1 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001954/0.9337, allocations: 352.8 kB / 0.5819 GB, free: 11.87 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03777/0.9715, allocations: 12.46 MB / 0.594 GB, free: 15.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002513/0.9718, allocations: 47.59 kB / 0.5941 GB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001283/0.9731, allocations: 167.1 kB / 0.5942 GB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007316/0.9804, allocations: 2.378 MB / 0.5965 GB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03854/1.019, allocations: 10.87 MB / 0.6072 GB, free: 2.184 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1012/1.12, allocations: 48.97 MB / 0.655 GB, free: 72 kB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02831/1.149, allocations: 5.959 MB / 0.6608 GB, free: 9.965 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03624/1.185, allocations: 13.14 MB / 0.6736 GB, free: 12.59 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.53e-05/1.185, allocations: 55.81 kB / 0.6737 GB, free: 12.53 MB / 490.7 MB Notification: Performance of pre-optimization done (n=193): time 6.242e-06/1.185, allocations: 0 / 0.6737 GB, free: 12.53 MB / 490.7 MB Notification: Performance of matching and sorting (n=254): time 0.2204/1.406, allocations: 39.67 MB / 0.7124 GB, free: 4.656 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001663/1.406, allocations: 209.9 kB / 0.7126 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3517/1.757, allocations: 4.624 MB / 0.7171 GB, free: 183.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007615/1.758, allocations: 59.86 kB / 0.7172 GB, free: 183.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003459/1.762, allocations: 3.331 MB / 0.7204 GB, free: 181.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00175/1.764, allocations: 0.9503 MB / 0.7214 GB, free: 181.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008948/1.764, allocations: 136.8 kB / 0.7215 GB, free: 181.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005487/1.765, allocations: 0.5953 MB / 0.7221 GB, free: 181 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008756/1.774, allocations: 3.09 MB / 0.7251 GB, free: 180.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01189/1.786, allocations: 6.993 MB / 0.7319 GB, free: 173.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01211/1.798, allocations: 4.527 MB / 0.7364 GB, free: 172 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002413/1.798, allocations: 40.12 kB / 0.7364 GB, free: 172 MB / 0.5105 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.04101/1.839, allocations: 12.47 MB / 0.7486 GB, free: 167.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001208/1.839, allocations: 61.03 kB / 0.7486 GB, free: 167.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002135/1.84, allocations: 144.1 kB / 0.7488 GB, free: 167.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01632/1.856, allocations: 3.262 MB / 0.752 GB, free: 167.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009665/1.866, allocations: 1.544 MB / 0.7535 GB, free: 167 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03679/1.903, allocations: 16.08 MB / 0.7692 GB, free: 154.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008735/1.911, allocations: 431.3 kB / 0.7696 GB, free: 154.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001848/1.913, allocations: 405 kB / 0.77 GB, free: 153.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 626 * 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 (808): * Single equations (assignments): 804 * 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.006551/1.92, allocations: 2.355 MB / 0.7723 GB, free: 151.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001187/1.921, allocations: 410.8 kB / 0.7727 GB, free: 151.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02631/1.947, allocations: 7.504 MB / 0.78 GB, free: 143.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.408e-05/1.948, allocations: 29.86 kB / 0.78 GB, free: 143.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.437e-05/1.948, allocations: 8 kB / 0.78 GB, free: 143.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.98e-05/1.948, allocations: 19.89 kB / 0.78 GB, free: 143.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04663/1.994, allocations: 15.21 MB / 0.7949 GB, free: 128.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.297e-05/1.994, allocations: 4 kB / 0.7949 GB, free: 128.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003827/1.998, allocations: 382 kB / 0.7953 GB, free: 128 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01567/2.014, allocations: 2.928 MB / 0.7981 GB, free: 125 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007119/2.015, allocations: 40 kB / 0.7982 GB, free: 125 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03416/2.049, allocations: 14.31 MB / 0.8121 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/2.049, allocations: 0 / 0.8121 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03368/2.083, allocations: 11.54 MB / 0.8234 GB, free: 98.92 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003381/2.086, allocations: 0.933 MB / 0.8243 GB, free: 97.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001531/2.088, allocations: 45.17 kB / 0.8244 GB, free: 97.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004695/2.092, allocations: 191.7 kB / 0.8245 GB, free: 97.73 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001252/2.094, allocations: 145.8 kB / 0.8247 GB, free: 97.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000455/2.094, allocations: 65.17 kB / 0.8247 GB, free: 97.53 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007069/2.101, allocations: 2.935 MB / 0.8276 GB, free: 94.59 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.12e-07/2.101, allocations: 0 / 0.8276 GB, free: 94.59 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009222/2.111, allocations: 1.331 MB / 0.8289 GB, free: 93.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.04187/2.152, allocations: 12.39 MB / 0.841 GB, free: 80.79 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01941/2.172, allocations: 7.79 MB / 0.8486 GB, free: 73.02 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/2.172, allocations: 0 / 0.8486 GB, free: 73.02 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.008277/2.18, allocations: 3.111 MB / 0.8517 GB, free: 69.91 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004218/2.184, allocations: 470.5 kB / 0.8521 GB, free: 69.45 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4937/2.678, allocations: 141.1 MB / 0.9899 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007229/2.686, allocations: 3.782 MB / 0.9936 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005362/2.691, allocations: 2.279 MB / 0.9959 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of SimCode: time 1.213e-06/2.691, allocations: 0 / 0.9959 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.346/8.037, allocations: 117.9 MB / 1.111 GB, free: 154.1 MB / 0.5105 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