Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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 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 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_3_2_3_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_3_2_3_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.0009257/0.0009257, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008832/0.0008833, allocations: 174.9 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.403/1.403, allocations: 205.4 MB / 222.8 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3498/0.3498, allocations: 43.55 MB / 314.6 MB, free: 8.754 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005483/0.0005485, allocations: 19.94 kB / 384 MB, free: 7.926 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1204, allocations: 58.86 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.2514/0.3719, allocations: 34.63 MB / 477.5 MB, free: 30.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.017/0.3889, allocations: 7.819 MB / 485.3 MB, free: 25.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007246/0.3962, allocations: 156.8 kB / 485.5 MB, free: 25.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005341/0.4016, allocations: 1.675 MB / 487.2 MB, free: 24.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01274/0.4144, allocations: 5.054 MB / 492.2 MB, free: 22.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002322/0.4167, allocations: 472.9 kB / 492.7 MB, free: 22.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00564/0.4224, allocations: 4.293 MB / 497 MB, free: 20.81 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005544/0.428, allocations: 3.062 MB / 0.4883 GB, free: 19.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002822/0.4308, allocations: 1.158 MB / 0.4894 GB, free: 19.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003/0.4338, allocations: 1.877 MB / 0.4913 GB, free: 18.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004808/0.4343, allocations: 150.4 kB / 0.4914 GB, free: 18.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002174/0.4365, allocations: 0.7688 MB / 0.4922 GB, free: 18.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001957/0.4385, allocations: 1.615 MB / 0.4937 GB, free: 18.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008439/0.4393, allocations: 0.8393 MB / 0.4946 GB, free: 17.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006898/0.4462, allocations: 5.387 MB / 0.4998 GB, free: 15.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/0.4463, allocations: 0 / 0.4998 GB, free: 15.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.496e-06/0.4463, allocations: 1.062 kB / 0.4998 GB, free: 15.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000238/0.4465, allocations: 4 kB / 0.4998 GB, free: 15.18 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: 1684 * Number of variables: 1684 Notification: Performance of Generate backend data structure: time 0.009559/0.4561, allocations: 3.867 MB / 0.5036 GB, free: 12.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.679e-05/0.4562, allocations: 9.438 kB / 0.5036 GB, free: 12.44 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001954/0.4582, allocations: 0.7834 MB / 0.5044 GB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01073/0.4689, allocations: 3.208 MB / 0.5075 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006374/0.4753, allocations: 2.568 MB / 0.51 GB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002222/0.4756, allocations: 219.7 kB / 0.5102 GB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001213/0.4768, allocations: 302.6 kB / 0.5105 GB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0177/0.4945, allocations: 11.31 MB / 0.5216 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001151/0.4947, allocations: 31.66 kB / 0.5216 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004751/0.4952, allocations: 135.8 kB / 0.5217 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004378/0.4996, allocations: 2.718 MB / 0.5244 GB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02114/0.5208, allocations: 10.44 MB / 0.5346 GB, free: 1.656 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05876/0.5796, allocations: 37.51 MB / 0.5712 GB, free: 11.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008806/0.5884, allocations: 4.567 MB / 0.5757 GB, free: 6.414 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003374/0.5918, allocations: 2.396 MB / 0.578 GB, free: 4.016 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001171/0.593, allocations: 1.307 MB / 0.5793 GB, free: 2.488 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.828e-05/0.5931, allocations: 52.56 kB / 0.5793 GB, free: 2.426 MB / 446.1 MB Notification: Performance of pre-optimization done (n=242): time 7.333e-06/0.5931, allocations: 0 / 0.5793 GB, free: 2.426 MB / 446.1 MB Notification: Performance of matching and sorting (n=254): time 0.03997/0.6331, allocations: 17.61 MB / 0.5965 GB, free: 0.75 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.269e-05/0.6332, allocations: 73.41 kB / 0.5966 GB, free: 0.668 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004815/0.638, allocations: 2.797 MB / 0.5993 GB, free: 13.86 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002197/0.6383, allocations: 53.7 kB / 0.5994 GB, free: 13.8 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002116/0.6404, allocations: 2.857 MB / 0.6022 GB, free: 10.9 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000991/0.6414, allocations: 0.925 MB / 0.6031 GB, free: 9.961 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002427/0.6416, allocations: 104 kB / 0.6032 GB, free: 9.859 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000371/0.642, allocations: 0.5452 MB / 0.6037 GB, free: 9.312 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003313/0.6453, allocations: 2.302 MB / 0.6059 GB, free: 7.004 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004875/0.6502, allocations: 5.276 MB / 0.6111 GB, free: 280 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004475/0.6547, allocations: 3.482 MB / 0.6145 GB, free: 12.79 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-05/0.6548, allocations: 28 kB / 0.6145 GB, free: 12.76 MB / 494.1 MB Notification: Performance of matching and sorting (n=726) (initialization): time 0.01312/0.6679, allocations: 8.324 MB / 0.6227 GB, free: 4.426 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.478e-05/0.668, allocations: 51.98 kB / 0.6227 GB, free: 4.375 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001038/0.6681, allocations: 104 kB / 0.6228 GB, free: 4.273 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002404/0.6705, allocations: 0.9534 MB / 0.6237 GB, free: 3.316 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003921/0.6745, allocations: 1.244 MB / 0.625 GB, free: 2.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2661/0.9406, allocations: 4.79 MB / 0.6296 GB, free: 112.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004662/0.9453, allocations: 305.9 kB / 0.6299 GB, free: 112.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001269/0.9466, allocations: 316.1 kB / 0.6302 GB, free: 112.4 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 471 * Number of states: 0 () * Number of discrete variables: 33 (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 (665): * Single equations (assignments): 658 * 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.006014/0.9526, allocations: 2.187 MB / 0.6324 GB, free: 112.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006294/0.9533, allocations: 290 kB / 0.6326 GB, free: 112.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008646/0.9619, allocations: 5.119 MB / 0.6376 GB, free: 112.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.715e-05/0.962, allocations: 48.52 kB / 0.6377 GB, free: 112.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.962, allocations: 0 / 0.6377 GB, free: 112.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.668e-05/0.9621, allocations: 13.06 kB / 0.6377 GB, free: 112.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02079/0.9829, allocations: 11.94 MB / 0.6494 GB, free: 111.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.05e-05/0.9829, allocations: 10.31 kB / 0.6494 GB, free: 111.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001706/0.9846, allocations: 398 kB / 0.6497 GB, free: 111.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002443/0.9871, allocations: 0.7788 MB / 0.6505 GB, free: 111.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002813/0.9874, allocations: 53.23 kB / 0.6506 GB, free: 111.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005916/0.9933, allocations: 4.091 MB / 0.6546 GB, free: 110 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.687e-05/0.9934, allocations: 19.72 kB / 0.6546 GB, free: 110 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01333/1.007, allocations: 7.603 MB / 0.662 GB, free: 109.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001545/1.008, allocations: 0.6879 MB / 0.6627 GB, free: 108.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003959/1.009, allocations: 49 kB / 0.6627 GB, free: 108.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/1.01, allocations: 151 kB / 0.6629 GB, free: 108.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003239/1.01, allocations: 149 kB / 0.663 GB, free: 108.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001658/1.01, allocations: 75.59 kB / 0.6631 GB, free: 108.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002437/1.013, allocations: 1.704 MB / 0.6647 GB, free: 108.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.71e-07/1.013, allocations: 0 / 0.6647 GB, free: 108.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00456/1.017, allocations: 0.9995 MB / 0.6657 GB, free: 108.1 MB / 494.1 MB 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.008975/1.026, allocations: 8.263 MB / 0.6738 GB, free: 104.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007115/1.034, allocations: 5.613 MB / 0.6793 GB, free: 102.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.524e-05/1.034, allocations: 4.312 kB / 0.6793 GB, free: 102.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002372/1.036, allocations: 2.144 MB / 0.6814 GB, free: 100.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00223/1.038, allocations: 378.1 kB / 0.6817 GB, free: 100.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04525/1.084, allocations: 31.89 MB / 0.7129 GB, free: 66.68 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003278/1.087, allocations: 3.436 MB / 0.7162 GB, free: 63.21 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004107/1.091, allocations: 2 MB / 0.7182 GB, free: 61.21 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002124/1.093, allocations: 1.878 MB / 0.72 GB, free: 59.33 MB / 494.1 MB Notification: Performance of SimCode: time 3.386e-06/1.093, allocations: 0 / 0.72 GB, free: 59.33 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09557/1.189, allocations: 69.36 MB / 0.7877 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00017/1.189, allocations: 202.2 kB / 0.7879 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.54/4.729, allocations: 0 / 0.7879 GB, free: 5.789 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Cylindrical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat does not exist to compare? outputFormat=mat