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.001174/0.001174, allocations: 114.8 kB / 17.08 MB, free: 5.789 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.001206/0.001206, allocations: 198.5 kB / 18.02 MB, free: 4.918 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.327/1.327, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2021/0.2021, allocations: 43.51 MB / 314.8 MB, free: 456 kB / 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.001671/0.001671, allocations: 73.39 kB / 442.5 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1049, allocations: 57.78 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01411/0.1191, allocations: 13.94 MB / 0.5022 GB, free: 13.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009106/0.1282, allocations: 4.198 MB / 0.5063 GB, free: 9.578 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002463/0.1307, allocations: 71.81 kB / 0.5063 GB, free: 9.508 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004044/0.1348, allocations: 1.829 MB / 0.5081 GB, free: 7.672 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005083/0.14, allocations: 1.879 MB / 0.5099 GB, free: 5.785 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001616/0.1416, allocations: 0.5498 MB / 0.5105 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005662/0.1473, allocations: 3.965 MB / 0.5144 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004072/0.1514, allocations: 2.716 MB / 0.517 GB, free: 14.49 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002641/0.1541, allocations: 1.417 MB / 0.5184 GB, free: 13.07 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003213/0.1574, allocations: 1.986 MB / 0.5203 GB, free: 11.08 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001201/0.1586, allocations: 300 kB / 0.5206 GB, free: 10.79 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002676/0.1613, allocations: 0.9947 MB / 0.5216 GB, free: 9.789 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002354/0.1637, allocations: 1.808 MB / 0.5234 GB, free: 7.977 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003456/0.1672, allocations: 2.162 MB / 0.5255 GB, free: 5.801 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.228/0.3952, allocations: 7.07 MB / 0.5324 GB, free: 13.36 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.3952, allocations: 0 / 0.5324 GB, free: 13.36 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3953, allocations: 0 / 0.5324 GB, free: 13.36 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002348/0.3955, allocations: 0 / 0.5324 GB, free: 13.36 MB / 414.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.01087/0.4064, allocations: 4.633 MB / 0.5369 GB, free: 11.55 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.4064, allocations: 9.562 kB / 0.5369 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.012/0.4184, allocations: 3.116 MB / 0.5399 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005769/0.4243, allocations: 2.224 MB / 0.5421 GB, free: 10.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002166/0.4245, allocations: 220 kB / 0.5423 GB, free: 10.71 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001502/0.426, allocations: 295 kB / 0.5426 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02031/0.4463, allocations: 11.32 MB / 0.5537 GB, free: 8.762 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001134/0.4465, allocations: 36.5 kB / 0.5537 GB, free: 8.754 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004822/0.447, allocations: 136.9 kB / 0.5538 GB, free: 8.703 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004212/0.4512, allocations: 2.715 MB / 0.5565 GB, free: 8.254 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01705/0.4683, allocations: 10.48 MB / 0.5667 GB, free: 4.852 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05068/0.519, allocations: 37.27 MB / 0.6031 GB, free: 15.84 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009082/0.5281, allocations: 4.571 MB / 0.6076 GB, free: 11.05 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003292/0.5315, allocations: 2.413 MB / 0.6099 GB, free: 8.637 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001167/0.5327, allocations: 1.316 MB / 0.6112 GB, free: 7.113 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.717e-05/0.5327, allocations: 56.5 kB / 0.6113 GB, free: 7.047 MB / 462.1 MB Notification: Performance of pre-optimization done (n=242): time 5.951e-06/0.5327, allocations: 1.219 kB / 0.6113 GB, free: 7.047 MB / 462.1 MB Notification: Performance of matching and sorting (n=254): time 0.04392/0.5767, allocations: 17.63 MB / 0.6285 GB, free: 5.402 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.5767, allocations: 73.41 kB / 0.6285 GB, free: 5.32 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004206/0.581, allocations: 2.804 MB / 0.6313 GB, free: 2.508 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004304/0.5814, allocations: 57.7 kB / 0.6313 GB, free: 2.445 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00207/0.5835, allocations: 2.853 MB / 0.6341 GB, free: 15.6 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001147/0.5847, allocations: 0.9136 MB / 0.635 GB, free: 14.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001989/0.5867, allocations: 1.091 MB / 0.6361 GB, free: 13.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.5868, allocations: 305.1 kB / 0.6364 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003707/0.5905, allocations: 2.33 MB / 0.6386 GB, free: 10.96 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005973/0.5965, allocations: 5.31 MB / 0.6438 GB, free: 4.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0103/0.6068, allocations: 8.386 MB / 0.652 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001076/0.607, allocations: 30.08 kB / 0.6521 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of matching and sorting (n=730) (initialization): time 0.01718/0.6242, allocations: 8.389 MB / 0.6602 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001323/0.6244, allocations: 52 kB / 0.6603 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002001/0.6246, allocations: 100 kB / 0.6604 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003064/0.6277, allocations: 0.9495 MB / 0.6613 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004575/0.6323, allocations: 1.244 MB / 0.6625 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007325/0.6396, allocations: 5.144 MB / 0.6676 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004009/0.6437, allocations: 303.8 kB / 0.6678 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001036/0.6447, allocations: 312 kB / 0.6681 GB, free: 10.73 MB / 0.5137 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.004828/0.6496, allocations: 2.195 MB / 0.6703 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008509/0.6504, allocations: 288.3 kB / 0.6706 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01035/0.6608, allocations: 5.125 MB / 0.6756 GB, free: 3.094 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-05/0.6609, allocations: 49.11 kB / 0.6756 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.991e-05/0.661, allocations: 4 kB / 0.6756 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.038e-05/0.661, allocations: 11.97 kB / 0.6756 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02363/0.6847, allocations: 11.94 MB / 0.6873 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.04e-05/0.6847, allocations: 8 kB / 0.6873 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00207/0.6868, allocations: 403.3 kB / 0.6877 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002544/0.6894, allocations: 0.7832 MB / 0.6884 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004648/0.6899, allocations: 44 kB / 0.6885 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005669/0.6956, allocations: 4.393 MB / 0.6928 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.128e-05/0.6956, allocations: 11.94 kB / 0.6928 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01203/0.7077, allocations: 7.643 MB / 0.7003 GB, free: 9.379 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001815/0.7095, allocations: 0.6731 MB / 0.7009 GB, free: 8.684 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008764/0.7104, allocations: 51.98 kB / 0.701 GB, free: 8.633 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001817/0.7122, allocations: 143.8 kB / 0.7011 GB, free: 8.492 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004831/0.7128, allocations: 152.9 kB / 0.7012 GB, free: 8.344 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002465/0.713, allocations: 74.64 kB / 0.7013 GB, free: 8.273 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003173/0.7162, allocations: 1.725 MB / 0.703 GB, free: 6.543 MB / 0.545 GB Notification: Performance of sort global known variables: time 3e-07/0.7162, allocations: 0 / 0.703 GB, free: 6.543 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006121/0.7223, allocations: 1.003 MB / 0.704 GB, free: 5.543 MB / 0.545 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.001004/0.7234, allocations: 186.8 kB / 0.7042 GB, free: 5.348 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009547/0.733, allocations: 5.721 MB / 0.7097 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.416e-05/0.733, allocations: 0 / 0.7097 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003973/0.737, allocations: 2.154 MB / 0.7118 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003258/0.7403, allocations: 403.7 kB / 0.7122 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02184/0.7622, allocations: 10.76 MB / 0.7227 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005342/0.7676, allocations: 3.447 MB / 0.7261 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001405/0.769, allocations: 263.4 kB / 0.7264 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of SimCode: time 8.91e-07/0.769, allocations: 0 / 0.7264 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of Templates: time 0.3342/1.103, allocations: 77.16 MB / 0.8017 GB, free: 184.5 MB / 0.5919 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