Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical") translateModel(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001413/0.001413, allocations: 112.6 kB / 18.79 MB, free: 3.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001472/0.001472, allocations: 215.9 kB / 19.8 MB, free: 2.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 230.2 MB / 250.8 MB, free: 8.816 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2206/0.2206, allocations: 46.87 MB / 351.8 MB, free: 7.348 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002219/0.002219, allocations: 80.14 kB / 496.5 MB, free: 11.35 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.347, allocations: 65.98 MB / 0.5493 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01642/0.3634, allocations: 13.58 MB / 0.5625 GB, free: 7.926 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009671/0.3731, allocations: 4.182 MB / 0.5666 GB, free: 3.727 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002125/0.3752, allocations: 71.81 kB / 0.5667 GB, free: 3.656 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004138/0.3793, allocations: 1.837 MB / 0.5685 GB, free: 1.812 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004825/0.3841, allocations: 1.864 MB / 0.5703 GB, free: 15.94 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001341/0.3855, allocations: 0.5536 MB / 0.5709 GB, free: 15.39 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00521/0.3907, allocations: 3.894 MB / 0.5747 GB, free: 11.49 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002922/0.3936, allocations: 2.314 MB / 0.5769 GB, free: 9.129 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001862/0.3955, allocations: 1.374 MB / 0.5783 GB, free: 7.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002717/0.3982, allocations: 2.13 MB / 0.5803 GB, free: 5.613 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005425/0.3987, allocations: 292 kB / 0.5806 GB, free: 5.328 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002073/0.4008, allocations: 1.026 MB / 0.5816 GB, free: 4.301 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001833/0.4026, allocations: 1.78 MB / 0.5834 GB, free: 2.516 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002391/0.405, allocations: 2.108 MB / 0.5854 GB, free: 404 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008704/0.4137, allocations: 6.91 MB / 0.5922 GB, free: 9.457 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/0.4137, allocations: 0 / 0.5922 GB, free: 9.457 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4137, allocations: 0 / 0.5922 GB, free: 9.457 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000198/0.4139, allocations: 0 / 0.5922 GB, free: 9.457 MB / 446.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.009468/0.4234, allocations: 4.641 MB / 0.5967 GB, free: 4.738 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.4235, allocations: 8.031 kB / 0.5967 GB, free: 4.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01037/0.4338, allocations: 3.145 MB / 0.5998 GB, free: 1.578 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004705/0.4385, allocations: 2.132 MB / 0.6019 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001719/0.4387, allocations: 213.8 kB / 0.6021 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007696/0.4395, allocations: 299.7 kB / 0.6023 GB, free: 14.89 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01728/0.4568, allocations: 11.11 MB / 0.6132 GB, free: 3.305 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.349e-05/0.4568, allocations: 27.77 kB / 0.6132 GB, free: 3.277 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003839/0.4572, allocations: 131.8 kB / 0.6134 GB, free: 3.148 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004357/0.4616, allocations: 2.624 MB / 0.6159 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01925/0.4808, allocations: 10.37 MB / 0.626 GB, free: 6.125 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05218/0.533, allocations: 36.54 MB / 0.6617 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009069/0.5421, allocations: 4.391 MB / 0.666 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003294/0.5454, allocations: 2.22 MB / 0.6682 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001316/0.5467, allocations: 1.315 MB / 0.6695 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.556e-05/0.5467, allocations: 56.44 kB / 0.6695 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=242): time 4.87e-06/0.5467, allocations: 0 / 0.6695 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=254): time 0.03934/0.5861, allocations: 17.66 MB / 0.6868 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.5861, allocations: 69.41 kB / 0.6868 GB, free: 6.43 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003875/0.59, allocations: 2.743 MB / 0.6895 GB, free: 3.672 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003713/0.5904, allocations: 57.7 kB / 0.6896 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002307/0.5927, allocations: 2.882 MB / 0.6924 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001412/0.5941, allocations: 0.9612 MB / 0.6933 GB, free: 15.73 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001638/0.5957, allocations: 1.076 MB / 0.6944 GB, free: 14.64 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001834/0.5959, allocations: 301.1 kB / 0.6947 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003757/0.5997, allocations: 2.322 MB / 0.6969 GB, free: 12.02 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006509/0.6062, allocations: 5.222 MB / 0.702 GB, free: 5.371 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01098/0.6172, allocations: 8.269 MB / 0.7101 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-05/0.6172, allocations: 28 kB / 0.7101 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01539/0.6326, allocations: 8.303 MB / 0.7182 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.298e-05/0.6327, allocations: 52.25 kB / 0.7183 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001171/0.6328, allocations: 100 kB / 0.7184 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002774/0.6356, allocations: 0.9372 MB / 0.7193 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004155/0.6397, allocations: 1.217 MB / 0.7205 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2765/0.9162, allocations: 5.149 MB / 0.7255 GB, free: 150 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003472/0.9197, allocations: 293.3 kB / 0.7258 GB, free: 150 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006827/0.9204, allocations: 312.3 kB / 0.7261 GB, free: 149.9 MB / 0.5606 GB 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 (657): * Single equations (assignments): 650 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,10,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00317/0.9236, allocations: 2.163 MB / 0.7282 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004284/0.924, allocations: 287.8 kB / 0.7285 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006852/0.9308, allocations: 5.117 MB / 0.7335 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.985e-05/0.9309, allocations: 53.66 kB / 0.7335 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.9309, allocations: 0 / 0.7335 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/0.9309, allocations: 7.547 kB / 0.7335 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01464/0.9456, allocations: 11.86 MB / 0.7451 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.43e-05/0.9456, allocations: 12 kB / 0.7451 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001416/0.947, allocations: 398.5 kB / 0.7455 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002006/0.949, allocations: 0.7766 MB / 0.7463 GB, free: 141.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001619/0.9492, allocations: 48 kB / 0.7463 GB, free: 141.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004281/0.9534, allocations: 4.388 MB / 0.7506 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.114e-06/0.9534, allocations: 16.81 kB / 0.7506 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008403/0.9618, allocations: 7.627 MB / 0.7581 GB, free: 129.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008128/0.9627, allocations: 344.2 kB / 0.7584 GB, free: 129.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003329/0.963, allocations: 47.98 kB / 0.7584 GB, free: 129.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/0.9641, allocations: 155.6 kB / 0.7586 GB, free: 129.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004257/0.9645, allocations: 152.6 kB / 0.7587 GB, free: 129.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001989/0.9647, allocations: 68 kB / 0.7588 GB, free: 129.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001936/0.9667, allocations: 1.688 MB / 0.7604 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.9667, allocations: 0 / 0.7604 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003588/0.9703, allocations: 0.9657 MB / 0.7614 GB, free: 126.5 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000366/0.9706, allocations: 200.6 kB / 0.7616 GB, free: 126.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006199/0.9768, allocations: 5.423 MB / 0.7669 GB, free: 120.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.217e-05/0.9768, allocations: 0 / 0.7669 GB, free: 120.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002307/0.9791, allocations: 2.004 MB / 0.7688 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002181/0.9813, allocations: 398.4 kB / 0.7692 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0129/0.9942, allocations: 10.36 MB / 0.7793 GB, free: 108 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002818/0.997, allocations: 3.375 MB / 0.7826 GB, free: 104.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00347/1.001, allocations: 1.978 MB / 0.7846 GB, free: 102.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005717/1.001, allocations: 219.4 kB / 0.7848 GB, free: 102.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.243e-06/1.001, allocations: 0 / 0.7848 GB, free: 102.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.04921/1.05, allocations: 32.37 MB / 0.8164 GB, free: 70.23 MB / 0.5606 GB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches