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: translateModel(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical") translateModel(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 103 kB / 15.98 MB, free: 6.348 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.001187/0.001187, allocations: 191.9 kB / 16.91 MB, free: 6.18 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.35/1.35, allocations: 205.1 MB / 222.8 MB, free: 4.703 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.3278/0.3278, allocations: 43.49 MB / 313.6 MB, free: 8.484 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.001458/0.001458, allocations: 68.42 kB / 382.2 MB, free: 8.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1331, allocations: 57.78 MB / 440 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.2814/0.4145, allocations: 38.32 MB / 478.3 MB, free: 27.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01855/0.4331, allocations: 8.191 MB / 486.5 MB, free: 22.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01024/0.4434, allocations: 151.9 kB / 486.7 MB, free: 22.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003973/0.4474, allocations: 1.747 MB / 488.4 MB, free: 21.87 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007055/0.4546, allocations: 1.744 MB / 490.2 MB, free: 21.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001847/0.4565, allocations: 0.5203 MB / 490.7 MB, free: 20.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005961/0.4624, allocations: 3.967 MB / 494.6 MB, free: 19.42 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004369/0.4668, allocations: 2.85 MB / 497.5 MB, free: 18.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003488/0.4704, allocations: 1.417 MB / 498.9 MB, free: 17.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004218/0.4746, allocations: 2.165 MB / 0.4893 GB, free: 16.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001607/0.4762, allocations: 299.9 kB / 0.4896 GB, free: 16.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003203/0.4795, allocations: 1.006 MB / 0.4906 GB, free: 16.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002898/0.4824, allocations: 1.818 MB / 0.4924 GB, free: 16.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003964/0.4863, allocations: 2.182 MB / 0.4945 GB, free: 14.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01376/0.5001, allocations: 6.819 MB / 0.5012 GB, free: 12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.5002, allocations: 1.406 kB / 0.5012 GB, free: 12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.5002, allocations: 0 / 0.5012 GB, free: 12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000294/0.5005, allocations: 0 / 0.5012 GB, free: 12 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.017/0.5175, allocations: 4.642 MB / 0.5057 GB, free: 9.285 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.5176, allocations: 9.25 kB / 0.5057 GB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01252/0.5301, allocations: 3.111 MB / 0.5087 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007565/0.5378, allocations: 2.193 MB / 0.5109 GB, free: 6.262 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002181/0.538, allocations: 220.7 kB / 0.5111 GB, free: 6.156 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001722/0.5398, allocations: 302 kB / 0.5114 GB, free: 6.043 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02085/0.5606, allocations: 11.32 MB / 0.5224 GB, free: 12.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001257/0.5608, allocations: 35.64 kB / 0.5225 GB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004889/0.5613, allocations: 139.8 kB / 0.5226 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004788/0.5661, allocations: 2.71 MB / 0.5252 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02462/0.5907, allocations: 10.47 MB / 0.5355 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07305/0.6638, allocations: 37.51 MB / 0.5721 GB, free: 8.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01223/0.6761, allocations: 4.571 MB / 0.5766 GB, free: 3.684 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004721/0.6809, allocations: 2.398 MB / 0.5789 GB, free: 1.289 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001649/0.6826, allocations: 1.323 MB / 0.5802 GB, free: 15.74 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.488e-05/0.6827, allocations: 60.5 kB / 0.5803 GB, free: 15.68 MB / 462.1 MB Notification: Performance of pre-optimization done (n=242): time 6.883e-06/0.6827, allocations: 4 kB / 0.5803 GB, free: 15.67 MB / 462.1 MB Notification: Performance of matching and sorting (n=254): time 0.05703/0.7398, allocations: 17.63 MB / 0.5975 GB, free: 13.97 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.408e-05/0.7399, allocations: 73.41 kB / 0.5976 GB, free: 13.88 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006993/0.7469, allocations: 2.8 MB / 0.6003 GB, free: 11.07 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009689/0.7479, allocations: 57.7 kB / 0.6003 GB, free: 11.01 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002733/0.7507, allocations: 2.845 MB / 0.6031 GB, free: 8.121 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001694/0.7524, allocations: 0.9172 MB / 0.604 GB, free: 7.191 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004147/0.7566, allocations: 1.095 MB / 0.6051 GB, free: 6.086 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.7567, allocations: 301.1 kB / 0.6054 GB, free: 5.789 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004404/0.7611, allocations: 2.334 MB / 0.6077 GB, free: 3.449 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00792/0.7691, allocations: 5.307 MB / 0.6128 GB, free: 12.69 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01314/0.7822, allocations: 8.384 MB / 0.621 GB, free: 2.855 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001466/0.7824, allocations: 28 kB / 0.6211 GB, free: 2.828 MB / 494.1 MB Notification: Performance of matching and sorting (n=730) (initialization): time 0.02283/0.8053, allocations: 8.395 MB / 0.6293 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003228/0.8057, allocations: 51.94 kB / 0.6293 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000409/0.8061, allocations: 104 kB / 0.6294 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00364/0.8098, allocations: 0.9458 MB / 0.6303 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005998/0.8158, allocations: 1.244 MB / 0.6315 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008115/0.824, allocations: 5.149 MB / 0.6366 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005314/0.8293, allocations: 307.8 kB / 0.6369 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001803/0.8312, allocations: 316 kB / 0.6372 GB, free: 2.172 MB / 0.4981 GB 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 (669): * Single equations (assignments): 662 * 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.312/1.143, allocations: 2.188 MB / 0.6393 GB, free: 159.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009046/1.144, allocations: 283.8 kB / 0.6396 GB, free: 159.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009303/1.153, allocations: 5.125 MB / 0.6446 GB, free: 159.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.288e-05/1.154, allocations: 53.3 kB / 0.6446 GB, free: 159.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/1.154, allocations: 2.781 kB / 0.6446 GB, free: 159.6 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.4e-05/1.154, allocations: 9.891 kB / 0.6446 GB, free: 159.6 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02195/1.176, allocations: 11.96 MB / 0.6563 GB, free: 155.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.611e-05/1.176, allocations: 13.59 kB / 0.6563 GB, free: 155.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001641/1.177, allocations: 397.7 kB / 0.6567 GB, free: 155.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002241/1.18, allocations: 0.7772 MB / 0.6575 GB, free: 155.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003207/1.18, allocations: 48.45 kB / 0.6575 GB, free: 155.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00514/1.185, allocations: 4.391 MB / 0.6618 GB, free: 153.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-05/1.185, allocations: 18.94 kB / 0.6618 GB, free: 153.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01444/1.2, allocations: 7.623 MB / 0.6693 GB, free: 150.4 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002533/1.202, allocations: 0.6823 MB / 0.6699 GB, free: 150.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001042/1.203, allocations: 52.19 kB / 0.67 GB, free: 150.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001975/1.205, allocations: 145.1 kB / 0.6701 GB, free: 150.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005234/1.206, allocations: 160.8 kB / 0.6703 GB, free: 150.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002965/1.206, allocations: 72 kB / 0.6703 GB, free: 150.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004751/1.211, allocations: 1.724 MB / 0.672 GB, free: 149.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.211, allocations: 2.688 kB / 0.672 GB, free: 149.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007933/1.219, allocations: 1.003 MB / 0.673 GB, free: 149.4 MB / 0.4981 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.001192/1.22, allocations: 196.7 kB / 0.6732 GB, free: 149.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01859/1.239, allocations: 9.153 MB / 0.6821 GB, free: 147.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.117e-05/1.239, allocations: 0 / 0.6821 GB, free: 147.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003643/1.242, allocations: 2.144 MB / 0.6842 GB, free: 146.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004717/1.247, allocations: 391.7 kB / 0.6846 GB, free: 146.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02379/1.271, allocations: 12.66 MB / 0.697 GB, free: 135.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007144/1.278, allocations: 3.441 MB / 0.7003 GB, free: 132.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005551/1.284, allocations: 2.003 MB / 0.7023 GB, free: 131.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001608/1.285, allocations: 215.4 kB / 0.7025 GB, free: 130.9 MB / 0.4981 GB Notification: Performance of SimCode: time 2.084e-06/1.285, allocations: 0 / 0.7025 GB, free: 130.9 MB / 0.4981 GB Notification: Performance of Templates: time 0.06508/1.35, allocations: 34.03 MB / 0.7357 GB, free: 97.98 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches