Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009087/0.0009087, allocations: 98.11 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009752/0.0009753, allocations: 183.4 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 223.2 MB / 241.8 MB, free: 396 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2364/0.2364, allocations: 44.23 MB / 337.1 MB, free: 2.914 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004008/0.0004011, allocations: 10.72 kB / 409.6 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1384, allocations: 61.93 MB / 471.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.03829/0.1767, allocations: 41.23 MB / 0.5008 GB, free: 4.316 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3434/0.5202, allocations: 10.52 MB / 0.511 GB, free: 9.945 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01176/0.532, allocations: 205.2 kB / 0.5112 GB, free: 9.945 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009146/0.5412, allocations: 2.018 MB / 0.5132 GB, free: 9.945 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02655/0.5678, allocations: 5.905 MB / 0.519 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005612/0.5734, allocations: 0.9634 MB / 0.5199 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.03863/0.612, allocations: 25.73 MB / 0.545 GB, free: 1.098 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009894/0.622, allocations: 6.247 MB / 0.5511 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003709/0.6258, allocations: 1.388 MB / 0.5525 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003907/0.6297, allocations: 1.891 MB / 0.5543 GB, free: 9.965 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001102/0.6308, allocations: 200 kB / 0.5545 GB, free: 9.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003837/0.6347, allocations: 1.179 MB / 0.5557 GB, free: 8.801 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003092/0.6378, allocations: 2.111 MB / 0.5577 GB, free: 7.098 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002183/0.64, allocations: 1.093 MB / 0.5588 GB, free: 6.508 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01194/0.6519, allocations: 7.88 MB / 0.5665 GB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.652, allocations: 0 / 0.5665 GB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 6.803e-06/0.652, allocations: 0 / 0.5665 GB, free: 15.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003706/0.6524, allocations: 0 / 0.5665 GB, free: 15.66 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.01763/0.6701, allocations: 5.737 MB / 0.5721 GB, free: 10.36 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/0.6701, allocations: 8.031 kB / 0.5721 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003439/0.6736, allocations: 0.9176 MB / 0.573 GB, free: 9.801 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08687/0.7605, allocations: 8.66 MB / 0.5815 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01097/0.7715, allocations: 3.818 MB / 0.5852 GB, free: 13.74 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003896/0.772, allocations: 346.5 kB / 0.5855 GB, free: 13.44 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002158/0.7741, allocations: 432.4 kB / 0.5859 GB, free: 13.06 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03209/0.8062, allocations: 13.97 MB / 0.5996 GB, free: 14.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002013/0.8065, allocations: 55.44 kB / 0.5996 GB, free: 14.31 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008634/0.8074, allocations: 201.5 kB / 0.5998 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003892/0.8113, allocations: 2.41 MB / 0.6022 GB, free: 11.76 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02703/0.8383, allocations: 11.82 MB / 0.6137 GB, free: 15.93 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07196/0.9103, allocations: 51.64 MB / 0.6641 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01293/0.9233, allocations: 4.673 MB / 0.6687 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02113/0.9444, allocations: 12.49 MB / 0.6809 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.544e-05/0.9446, allocations: 55.81 kB / 0.681 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=191): time 6.552e-06/0.9446, allocations: 0 / 0.681 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of matching and sorting (n=242): time 0.4482/1.393, allocations: 42.55 MB / 0.7225 GB, free: 182.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001349/1.393, allocations: 234.1 kB / 0.7227 GB, free: 182 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008153/1.401, allocations: 5.007 MB / 0.7276 GB, free: 180.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006759/1.402, allocations: 61.58 kB / 0.7277 GB, free: 180.1 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002511/1.404, allocations: 3.896 MB / 0.7315 GB, free: 177.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001535/1.406, allocations: 0.9167 MB / 0.7324 GB, free: 176.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003585/1.406, allocations: 142 kB / 0.7325 GB, free: 176.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003488/1.407, allocations: 0.6109 MB / 0.7331 GB, free: 175.9 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004232/1.411, allocations: 3.228 MB / 0.7363 GB, free: 174.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005965/1.417, allocations: 7.487 MB / 0.7436 GB, free: 167.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006235/1.423, allocations: 4.767 MB / 0.7482 GB, free: 166 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001049/1.423, allocations: 51.92 kB / 0.7483 GB, free: 166 MB / 0.5294 GB Notification: Performance of matching and sorting (n=940) (initialization): time 0.02681/1.45, allocations: 13.79 MB / 0.7617 GB, free: 153.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.522e-05/1.45, allocations: 71.94 kB / 0.7618 GB, free: 153.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001615/1.45, allocations: 152 kB / 0.762 GB, free: 153.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01088/1.461, allocations: 3.795 MB / 0.7657 GB, free: 149.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006155/1.467, allocations: 1.595 MB / 0.7672 GB, free: 148 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02467/1.492, allocations: 18.6 MB / 0.7854 GB, free: 129.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008759/1.501, allocations: 449.3 kB / 0.7858 GB, free: 128.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002773/1.504, allocations: 432 kB / 0.7862 GB, free: 128.4 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 687 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (857): * Single equations (assignments): 853 * 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 {(2,100.0%) 58} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008064/1.512, allocations: 2.661 MB / 0.7888 GB, free: 125.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001955/1.514, allocations: 430.4 kB / 0.7892 GB, free: 125.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01731/1.531, allocations: 8.122 MB / 0.7972 GB, free: 117.2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.352e-05/1.531, allocations: 29.17 kB / 0.7972 GB, free: 117.2 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-05/1.531, allocations: 12 kB / 0.7972 GB, free: 117.2 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.285e-05/1.531, allocations: 11.92 kB / 0.7972 GB, free: 117.1 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03227/1.564, allocations: 17.52 MB / 0.8143 GB, free: 99.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.784e-05/1.564, allocations: 0 / 0.8143 GB, free: 99.59 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001972/1.566, allocations: 391.4 kB / 0.8147 GB, free: 99.21 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01043/1.576, allocations: 3.835 MB / 0.8184 GB, free: 95.37 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004981/1.577, allocations: 39.98 kB / 0.8185 GB, free: 95.33 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01984/1.597, allocations: 17.02 MB / 0.8351 GB, free: 78.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.597, allocations: 0 / 0.8351 GB, free: 78.16 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02042/1.617, allocations: 12.63 MB / 0.8474 GB, free: 65.48 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001369/1.618, allocations: 483.3 kB / 0.8479 GB, free: 64.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008801/1.619, allocations: 36 kB / 0.8479 GB, free: 64.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002308/1.622, allocations: 205.5 kB / 0.8481 GB, free: 64.75 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005102/1.622, allocations: 154.9 kB / 0.8483 GB, free: 64.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001857/1.622, allocations: 61.95 kB / 0.8483 GB, free: 64.54 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004029/1.626, allocations: 3.163 MB / 0.8514 GB, free: 61.39 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.7e-07/1.626, allocations: 4 kB / 0.8514 GB, free: 61.38 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006565/1.633, allocations: 1.466 MB / 0.8529 GB, free: 59.93 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.w) * 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 (167): * Single equations (assignments): 163 * 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 {(2,100.0%) 52} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02143/1.654, allocations: 13.52 MB / 0.8661 GB, free: 46.36 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01136/1.666, allocations: 7.848 MB / 0.8737 GB, free: 38.53 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/1.666, allocations: 0 / 0.8737 GB, free: 38.53 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00393/1.67, allocations: 2.961 MB / 0.8766 GB, free: 35.55 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002926/1.673, allocations: 0.4884 MB / 0.8771 GB, free: 35.07 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3018/1.975, allocations: 127.8 MB / 1.002 GB, free: 68.32 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008853/1.983, allocations: 4.207 MB / 1.006 GB, free: 67.48 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00849/1.992, allocations: 2.172 MB / 1.008 GB, free: 67.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006123/1.998, allocations: 2.487 MB / 1.011 GB, free: 66.92 MB / 0.5294 GB Notification: Performance of SimCode: time 2.484e-06/1.998, allocations: 4.875 kB / 1.011 GB, free: 66.91 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4433/2.442, allocations: 110.2 MB / 1.118 GB, free: 170 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002151/2.442, allocations: 192.5 kB / 1.118 GB, free: 169.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.688/7.129, allocations: 0 / 1.118 GB, free: 169.8 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP2_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat does not exist to compare? outputFormat=mat