Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.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.Cylindrical,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Cylindrical",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.001596/0.0016, allocations: 187.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.03/2.03, allocations: 205.4 MB / 222.5 MB, free: 13.76 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.001143/0.001143, allocations: 90.88 kB / 270.9 MB, free: 13.29 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.283/0.283, allocations: 43.56 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004597/0.0004597, allocations: 12 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1193, allocations: 58.86 MB / 490.3 MB, free: 9.246 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.05217/0.1715, allocations: 32.75 MB / 0.5108 GB, free: 8.398 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02363/0.1952, allocations: 8.126 MB / 0.5187 GB, free: 256 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006411/0.2016, allocations: 155.6 kB / 0.5189 GB, free: 100 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.332/0.5337, allocations: 1.643 MB / 0.5205 GB, free: 10.12 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01915/0.5529, allocations: 4.886 MB / 0.5253 GB, free: 10.04 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00306/0.5561, allocations: 466.9 kB / 0.5257 GB, free: 10.04 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005991/0.5621, allocations: 2.157 MB / 0.5278 GB, free: 10.02 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007001/0.5692, allocations: 3.039 MB / 0.5308 GB, free: 9.715 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003015/0.5722, allocations: 0.9777 MB / 0.5317 GB, free: 9.715 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003592/0.5759, allocations: 1.358 MB / 0.5331 GB, free: 9.566 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00133/0.5773, allocations: 151.4 kB / 0.5332 GB, free: 9.566 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003227/0.5805, allocations: 0.7516 MB / 0.5339 GB, free: 9.398 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003/0.5836, allocations: 1.505 MB / 0.5354 GB, free: 9.121 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001787/0.5854, allocations: 0.836 MB / 0.5362 GB, free: 9.09 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008829/0.5943, allocations: 5.388 MB / 0.5415 GB, free: 6.199 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.5943, allocations: 0 / 0.5415 GB, free: 6.199 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.757e-06/0.5944, allocations: 0 / 0.5415 GB, free: 6.199 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002864/0.5947, allocations: 0 / 0.5415 GB, free: 6.199 MB / 362.7 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.01195/0.6066, allocations: 3.915 MB / 0.5453 GB, free: 3.789 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.6067, allocations: 9.719 kB / 0.5453 GB, free: 3.789 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002671/0.6094, allocations: 0.7891 MB / 0.5461 GB, free: 3.555 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02247/0.6319, allocations: 3.761 MB / 0.5498 GB, free: 1.883 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007374/0.6393, allocations: 2.364 MB / 0.5521 GB, free: 1.109 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002739/0.6396, allocations: 222.4 kB / 0.5523 GB, free: 1.102 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001827/0.6415, allocations: 288.8 kB / 0.5526 GB, free: 1.102 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03023/0.6717, allocations: 11.39 MB / 0.5637 GB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000191/0.672, allocations: 26.88 kB / 0.5637 GB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001491/0.6735, allocations: 137.3 kB / 0.5638 GB, free: 10.06 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008777/0.6823, allocations: 2.721 MB / 0.5665 GB, free: 7.793 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03345/0.7158, allocations: 10.54 MB / 0.5768 GB, free: 412 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0888/0.8046, allocations: 37.6 MB / 0.6135 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01579/0.8205, allocations: 4.569 MB / 0.618 GB, free: 5.668 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002036/0.8226, allocations: 1.32 MB / 0.6193 GB, free: 4.141 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.752e-05/0.8227, allocations: 56.55 kB / 0.6193 GB, free: 4.078 MB / 426.7 MB Notification: Performance of pre-optimization done (n=242): time 6.984e-06/0.8228, allocations: 0 / 0.6193 GB, free: 4.078 MB / 426.7 MB Notification: Performance of matching and sorting (n=254): time 0.08497/0.9077, allocations: 18.16 MB / 0.637 GB, free: 1.781 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.78e-05/0.9079, allocations: 73.41 kB / 0.6371 GB, free: 1.699 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007411/0.9153, allocations: 2.898 MB / 0.6399 GB, free: 14.79 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006861/0.916, allocations: 57.7 kB / 0.64 GB, free: 14.73 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003283/0.9193, allocations: 2.842 MB / 0.6428 GB, free: 11.9 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001936/0.9213, allocations: 0.9131 MB / 0.6437 GB, free: 11 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007611/0.9222, allocations: 104 kB / 0.6438 GB, free: 10.89 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006317/0.9228, allocations: 0.554 MB / 0.6443 GB, free: 10.33 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006983/0.9298, allocations: 2.295 MB / 0.6465 GB, free: 8.031 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01026/0.9401, allocations: 5.265 MB / 0.6517 GB, free: 1.32 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008994/0.9492, allocations: 3.486 MB / 0.6551 GB, free: 13.84 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-05/0.9493, allocations: 28 kB / 0.6551 GB, free: 13.81 MB / 474.7 MB Notification: Performance of matching and sorting (n=726) (initialization): time 0.02616/0.9755, allocations: 8.245 MB / 0.6632 GB, free: 5.562 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001033/0.9756, allocations: 50.97 kB / 0.6632 GB, free: 5.516 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001657/0.9758, allocations: 104 kB / 0.6633 GB, free: 5.414 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005179/0.981, allocations: 0.9568 MB / 0.6643 GB, free: 4.453 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008166/0.9892, allocations: 1.248 MB / 0.6655 GB, free: 3.203 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01192/1.001, allocations: 4.93 MB / 0.6703 GB, free: 14.15 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005795/1.007, allocations: 307.8 kB / 0.6706 GB, free: 13.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001511/1.009, allocations: 314.9 kB / 0.6709 GB, free: 13.54 MB / 490.7 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.007226/1.016, allocations: 2.182 MB / 0.673 GB, free: 11.35 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007883/1.017, allocations: 284.3 kB / 0.6733 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01746/1.034, allocations: 5.125 MB / 0.6783 GB, free: 5.918 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001261/1.034, allocations: 47.95 kB / 0.6783 GB, free: 5.871 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.525e-05/1.034, allocations: 7.984 kB / 0.6783 GB, free: 5.863 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.045e-05/1.034, allocations: 7.969 kB / 0.6783 GB, free: 5.855 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04126/1.076, allocations: 11.96 MB / 0.69 GB, free: 9.742 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.605e-05/1.076, allocations: 12.22 kB / 0.69 GB, free: 9.73 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004327/1.08, allocations: 403.3 kB / 0.6904 GB, free: 9.336 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004914/1.085, allocations: 0.767 MB / 0.6912 GB, free: 8.566 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007031/1.086, allocations: 51.98 kB / 0.6912 GB, free: 8.516 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01009/1.096, allocations: 4.212 MB / 0.6953 GB, free: 4.176 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-05/1.096, allocations: 11.94 kB / 0.6953 GB, free: 4.164 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02213/1.118, allocations: 8.473 MB / 0.7036 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002816/1.121, allocations: 0.6887 MB / 0.7043 GB, free: 10.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008193/1.122, allocations: 47.98 kB / 0.7043 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00267/1.125, allocations: 143.8 kB / 0.7045 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00082/1.125, allocations: 152.9 kB / 0.7046 GB, free: 10.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003065/1.126, allocations: 75.11 kB / 0.7047 GB, free: 10.03 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004894/1.131, allocations: 1.788 MB / 0.7064 GB, free: 8.238 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.21e-07/1.131, allocations: 0 / 0.7064 GB, free: 8.238 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007501/1.138, allocations: 1.02 MB / 0.7074 GB, free: 7.219 MB / 0.5105 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.3609/1.499, allocations: 11.66 MB / 0.7188 GB, free: 178.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01428/1.514, allocations: 5.609 MB / 0.7243 GB, free: 177.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.538e-05/1.514, allocations: 4.406 kB / 0.7243 GB, free: 177.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005591/1.519, allocations: 2.145 MB / 0.7264 GB, free: 176.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002999/1.522, allocations: 342.7 kB / 0.7267 GB, free: 176.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09115/1.613, allocations: 103.5 MB / 0.8278 GB, free: 85.38 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006909/1.62, allocations: 3.533 MB / 0.8312 GB, free: 82.65 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004827/1.625, allocations: 1.922 MB / 0.8331 GB, free: 80.87 MB / 0.5105 GB Notification: Performance of SimCode: time 1.814e-06/1.625, allocations: 0 / 0.8331 GB, free: 80.87 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.546/6.171, allocations: 98.99 MB / 0.9298 GB, free: 179.6 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Cylindrical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat does not exist to compare? outputFormat=mat