Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.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.Cylindrical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Cylindrical",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.0009599/0.00096, allocations: 102.2 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.0008898/0.0008899, allocations: 183.1 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.37/1.37, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2225/0.2225, allocations: 44.22 MB / 337.1 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003372/0.0003374, allocations: 8 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1213, allocations: 61.92 MB / 471.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.03162/0.1529, allocations: 32.45 MB / 0.4922 GB, free: 13.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01992/0.1729, allocations: 8.079 MB / 0.5001 GB, free: 4.984 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008097/0.1811, allocations: 155.6 kB / 0.5002 GB, free: 4.832 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006956/0.1881, allocations: 1.641 MB / 0.5018 GB, free: 3.184 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2869/0.475, allocations: 4.867 MB / 0.5066 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002426/0.4775, allocations: 453.4 kB / 0.507 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005012/0.4825, allocations: 2.105 MB / 0.5091 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004646/0.4872, allocations: 3.01 MB / 0.512 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001906/0.4891, allocations: 0.9559 MB / 0.5129 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002189/0.4913, allocations: 1.331 MB / 0.5142 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004587/0.4918, allocations: 148.1 kB / 0.5144 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001725/0.4935, allocations: 0.7641 MB / 0.5151 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001929/0.4954, allocations: 1.468 MB / 0.5166 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001001/0.4964, allocations: 0.8202 MB / 0.5174 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00724/0.5037, allocations: 5.292 MB / 0.5225 GB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.5037, allocations: 0 / 0.5225 GB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.925e-06/0.5037, allocations: 4 kB / 0.5225 GB, free: 10.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002199/0.504, allocations: 0 / 0.5225 GB, free: 10.09 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.01113/0.5151, allocations: 3.834 MB / 0.5263 GB, free: 7.727 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.897e-05/0.5152, allocations: 13.69 kB / 0.5263 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003267/0.5185, allocations: 0.7635 MB / 0.527 GB, free: 7.496 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01199/0.5305, allocations: 3.77 MB / 0.5307 GB, free: 5.828 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005929/0.5364, allocations: 2.202 MB / 0.5329 GB, free: 5.082 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000152/0.5366, allocations: 222.7 kB / 0.5331 GB, free: 5.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006652/0.5373, allocations: 284.2 kB / 0.5333 GB, free: 5.066 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01639/0.5537, allocations: 11.18 MB / 0.5443 GB, free: 332 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.89e-05/0.5538, allocations: 29.12 kB / 0.5443 GB, free: 316 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003763/0.5542, allocations: 130.2 kB / 0.5444 GB, free: 284 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004304/0.5585, allocations: 2.623 MB / 0.547 GB, free: 14.1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01852/0.577, allocations: 10.44 MB / 0.5572 GB, free: 6.785 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05439/0.6315, allocations: 36.78 MB / 0.5931 GB, free: 3.957 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009361/0.6409, allocations: 4.577 MB / 0.5976 GB, free: 15.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001401/0.6423, allocations: 1.324 MB / 0.5989 GB, free: 13.63 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.162e-05/0.6424, allocations: 52.56 kB / 0.5989 GB, free: 13.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=242): time 5.801e-06/0.6424, allocations: 0 / 0.5989 GB, free: 13.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=254): time 0.04237/0.6847, allocations: 18.06 MB / 0.6165 GB, free: 11.37 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.747e-05/0.6849, allocations: 73.41 kB / 0.6166 GB, free: 11.29 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005964/0.6909, allocations: 2.84 MB / 0.6194 GB, free: 8.438 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006828/0.6916, allocations: 57.7 kB / 0.6194 GB, free: 8.375 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003073/0.6947, allocations: 2.782 MB / 0.6222 GB, free: 5.605 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001724/0.6964, allocations: 0.9043 MB / 0.623 GB, free: 4.707 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003694/0.6968, allocations: 110.7 kB / 0.6231 GB, free: 4.602 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0005468/0.6973, allocations: 0.5335 MB / 0.6237 GB, free: 4.062 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00555/0.7029, allocations: 2.288 MB / 0.6259 GB, free: 1.77 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00875/0.7117, allocations: 5.175 MB / 0.631 GB, free: 11.23 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008457/0.7202, allocations: 3.442 MB / 0.6343 GB, free: 7.871 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.693e-05/0.7203, allocations: 28 kB / 0.6343 GB, free: 7.844 MB / 478.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02499/0.7453, allocations: 8.232 MB / 0.6424 GB, free: 15.66 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001176/0.7455, allocations: 54.28 kB / 0.6424 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003003/0.7458, allocations: 100.9 kB / 0.6425 GB, free: 15.51 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003987/0.7498, allocations: 0.9489 MB / 0.6435 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004715/0.7545, allocations: 1.213 MB / 0.6446 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00695/0.7615, allocations: 4.917 MB / 0.6494 GB, free: 8.293 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004118/0.7656, allocations: 310.5 kB / 0.6497 GB, free: 7.992 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008988/0.7665, allocations: 300 kB / 0.65 GB, free: 7.699 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 459 * Number of states: 0 () * Number of discrete variables: 35 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (653): * Single equations (assignments): 646 * Array equations: 6 * 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%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0047/0.7712, allocations: 2.157 MB / 0.6521 GB, free: 5.531 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006248/0.7719, allocations: 276.4 kB / 0.6524 GB, free: 5.258 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009635/0.7815, allocations: 5.116 MB / 0.6574 GB, free: 116 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.189e-05/0.7816, allocations: 47.98 kB / 0.6574 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/0.7816, allocations: 4 kB / 0.6574 GB, free: 64 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.126e-05/0.7817, allocations: 7.969 kB / 0.6574 GB, free: 56 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02254/0.8042, allocations: 11.88 MB / 0.6691 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-05/0.8043, allocations: 12 kB / 0.6691 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001753/0.806, allocations: 395.4 kB / 0.6694 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002449/0.8085, allocations: 0.7753 MB / 0.6702 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002462/0.8088, allocations: 51.67 kB / 0.6702 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005842/0.8146, allocations: 4.211 MB / 0.6744 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.449e-05/0.8147, allocations: 23.86 kB / 0.6744 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01302/0.8277, allocations: 8.426 MB / 0.6826 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001087/0.8288, allocations: 339.3 kB / 0.6829 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003643/0.8292, allocations: 55.23 kB / 0.683 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001259/0.8305, allocations: 151.8 kB / 0.6831 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003477/0.8308, allocations: 148.9 kB / 0.6833 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001966/0.831, allocations: 79.98 kB / 0.6834 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003143/0.8342, allocations: 1.747 MB / 0.6851 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/0.8342, allocations: 0 / 0.6851 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004787/0.839, allocations: 1.01 MB / 0.686 GB, free: 2.082 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.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 (196): * Single equations (assignments): 189 * Array equations: 6 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01323/0.8522, allocations: 11.65 MB / 0.6974 GB, free: 6.109 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008936/0.8612, allocations: 5.575 MB / 0.7029 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/0.8612, allocations: 0 / 0.7029 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.2428/1.104, allocations: 2.137 MB / 0.705 GB, free: 194.6 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003406/1.107, allocations: 347.8 kB / 0.7053 GB, free: 194.5 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08337/1.191, allocations: 100.6 MB / 0.8035 GB, free: 107.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005668/1.197, allocations: 3.47 MB / 0.8069 GB, free: 104.5 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004512/1.201, allocations: 1.98 MB / 0.8088 GB, free: 103.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002773/1.204, allocations: 1.839 MB / 0.8106 GB, free: 101.5 MB / 0.5294 GB Notification: Performance of SimCode: time 1.072e-06/1.204, allocations: 0 / 0.8106 GB, free: 101.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1021/1.306, allocations: 69.19 MB / 0.8782 GB, free: 33.21 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000167/1.306, allocations: 197.7 kB / 0.8784 GB, free: 32.96 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.752/5.058, allocations: 0 / 0.8784 GB, free: 32.96 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Cylindrical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat does not exist to compare? outputFormat=mat