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.00145/0.001449, allocations: 105 kB / 16.94 MB, free: 6.156 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.001494/0.001494, allocations: 191.3 kB / 17.86 MB, free: 5.289 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.436/1.436, allocations: 205.1 MB / 223.7 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2041/0.2041, allocations: 43.52 MB / 314.6 MB, free: 0.5312 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.001491/0.001491, allocations: 62.67 kB / 383.4 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09242/0.09393, allocations: 57.79 MB / 441.2 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01262/0.1066, allocations: 13.93 MB / 455.1 MB, free: 8.922 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009195/0.1158, allocations: 4.202 MB / 459.3 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002574/0.1185, allocations: 75.81 kB / 459.4 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004037/0.1225, allocations: 1.822 MB / 461.2 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005145/0.1278, allocations: 1.872 MB / 463.1 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001594/0.1294, allocations: 0.5576 MB / 463.6 MB, free: 376 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00552/0.1349, allocations: 3.96 MB / 467.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004041/0.139, allocations: 2.724 MB / 470.3 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002678/0.1417, allocations: 1.409 MB / 471.7 MB, free: 8.215 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00321/0.145, allocations: 1.978 MB / 473.7 MB, free: 6.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009228/0.1459, allocations: 292 kB / 474 MB, free: 5.945 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00241/0.1483, allocations: 1.01 MB / 475 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002075/0.1504, allocations: 1.804 MB / 476.8 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003065/0.1535, allocations: 2.17 MB / 479 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007905/0.1614, allocations: 6.76 MB / 485.7 MB, free: 10.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.1615, allocations: 0 / 485.7 MB, free: 10.16 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1615, allocations: 0 / 485.7 MB, free: 10.16 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002075/0.1617, allocations: 0 / 485.7 MB, free: 10.16 MB / 366.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.0104/0.1721, allocations: 4.642 MB / 490.4 MB, free: 5.449 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.1722, allocations: 8.031 kB / 490.4 MB, free: 5.441 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01116/0.1834, allocations: 3.11 MB / 493.5 MB, free: 2.32 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005134/0.1885, allocations: 2.19 MB / 495.7 MB, free: 84 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002073/0.1888, allocations: 222 kB / 495.9 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001143/0.19, allocations: 303.6 kB / 496.2 MB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01943/0.2094, allocations: 11.31 MB / 0.4956 GB, free: 3.785 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001224/0.2096, allocations: 39.64 kB / 0.4957 GB, free: 3.746 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006168/0.2102, allocations: 139.8 kB / 0.4958 GB, free: 3.609 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004916/0.2151, allocations: 2.71 MB / 0.4984 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02126/0.2364, allocations: 10.47 MB / 0.5087 GB, free: 6.402 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2832/0.5197, allocations: 37.5 MB / 0.5453 GB, free: 64.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009077/0.5288, allocations: 4.575 MB / 0.5498 GB, free: 63.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003081/0.5319, allocations: 2.4 MB / 0.5521 GB, free: 63.17 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001116/0.5331, allocations: 1.315 MB / 0.5534 GB, free: 62.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.112e-05/0.5332, allocations: 65.94 kB / 0.5534 GB, free: 61.99 MB / 414.1 MB Notification: Performance of pre-optimization done (n=242): time 5.44e-06/0.5332, allocations: 0 / 0.5534 GB, free: 61.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=254): time 0.03744/0.5706, allocations: 17.63 MB / 0.5707 GB, free: 56.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.379e-05/0.5707, allocations: 72.53 kB / 0.5707 GB, free: 56.22 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003375/0.5741, allocations: 2.792 MB / 0.5735 GB, free: 54.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004098/0.5746, allocations: 61.22 kB / 0.5735 GB, free: 54.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001368/0.5759, allocations: 2.849 MB / 0.5763 GB, free: 51.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009063/0.5768, allocations: 0.9301 MB / 0.5772 GB, free: 50.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001197/0.5781, allocations: 1.083 MB / 0.5783 GB, free: 49.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.561e-05/0.5781, allocations: 301.1 kB / 0.5786 GB, free: 48.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00253/0.5806, allocations: 2.338 MB / 0.5808 GB, free: 46.65 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003748/0.5844, allocations: 5.309 MB / 0.586 GB, free: 39.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007413/0.5918, allocations: 8.378 MB / 0.5942 GB, free: 30.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.211e-05/0.592, allocations: 36 kB / 0.5942 GB, free: 30.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=730) (initialization): time 0.01371/0.6057, allocations: 8.392 MB / 0.6024 GB, free: 21.69 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.065e-05/0.6058, allocations: 48 kB / 0.6025 GB, free: 21.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001143/0.6059, allocations: 104 kB / 0.6026 GB, free: 21.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002472/0.6084, allocations: 0.9482 MB / 0.6035 GB, free: 20.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003827/0.6122, allocations: 1.248 MB / 0.6047 GB, free: 19.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005442/0.6177, allocations: 5.145 MB / 0.6097 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003644/0.6214, allocations: 299.8 kB / 0.61 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008053/0.6222, allocations: 315.3 kB / 0.6103 GB, free: 13.48 MB / 414.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 (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.003549/0.6258, allocations: 2.189 MB / 0.6125 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005199/0.6263, allocations: 288.3 kB / 0.6127 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007426/0.6338, allocations: 5.133 MB / 0.6178 GB, free: 5.832 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.651e-05/0.6339, allocations: 43.94 kB / 0.6178 GB, free: 5.789 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.587e-06/0.6339, allocations: 4 kB / 0.6178 GB, free: 5.785 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.609e-05/0.6339, allocations: 11.95 kB / 0.6178 GB, free: 5.773 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02034/0.6543, allocations: 11.98 MB / 0.6295 GB, free: 9.652 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.841e-05/0.6543, allocations: 12 kB / 0.6295 GB, free: 9.641 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001883/0.6562, allocations: 404 kB / 0.6299 GB, free: 9.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002576/0.6588, allocations: 0.777 MB / 0.6307 GB, free: 8.469 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004785/0.6594, allocations: 55.03 kB / 0.6307 GB, free: 8.418 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005838/0.6652, allocations: 4.377 MB / 0.635 GB, free: 3.906 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.638e-06/0.6653, allocations: 18.62 kB / 0.635 GB, free: 3.891 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01242/0.6777, allocations: 7.635 MB / 0.6425 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001959/0.6797, allocations: 0.6809 MB / 0.6431 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008505/0.6806, allocations: 48 kB / 0.6432 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001886/0.6825, allocations: 151.1 kB / 0.6433 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005753/0.6831, allocations: 152.9 kB / 0.6435 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003142/0.6834, allocations: 71.98 kB / 0.6435 GB, free: 10.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003306/0.6867, allocations: 1.722 MB / 0.6452 GB, free: 9.258 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6867, allocations: 0 / 0.6452 GB, free: 9.258 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005076/0.6918, allocations: 1.006 MB / 0.6462 GB, free: 8.258 MB / 446.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 (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.0007272/0.6926, allocations: 188.1 kB / 0.6464 GB, free: 8.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01586/0.7085, allocations: 9.154 MB / 0.6553 GB, free: 14.96 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-05/0.7085, allocations: 0 / 0.6553 GB, free: 14.96 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003643/0.7122, allocations: 2.149 MB / 0.6574 GB, free: 12.8 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003354/0.7156, allocations: 394.1 kB / 0.6578 GB, free: 12.43 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02103/0.7366, allocations: 10.89 MB / 0.6684 GB, free: 1.395 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00587/0.7426, allocations: 3.429 MB / 0.6718 GB, free: 13.93 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001218/0.7438, allocations: 267.4 kB / 0.672 GB, free: 13.67 MB / 478.1 MB Notification: Performance of SimCode: time 4.197e-06/0.7438, allocations: 4 kB / 0.672 GB, free: 13.66 MB / 478.1 MB Notification: Performance of Templates: time 0.2927/1.037, allocations: 76.6 MB / 0.7468 GB, free: 155 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches