Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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) 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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.Cylindrical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001165/0.001165, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 226.8 MB / 245.5 MB, free: 6.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009806/0.0009806, allocations: 101.6 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4002/0.4002, allocations: 44.82 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001104/0.001104, allocations: 60.19 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3585, allocations: 62.02 MB / 0.5152 GB, free: 37.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.03174/0.3903, allocations: 37.97 MB / 0.5522 GB, free: 10.69 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0205/0.4108, allocations: 8.267 MB / 0.5603 GB, free: 5.215 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0104/0.4213, allocations: 159.6 kB / 0.5605 GB, free: 5.188 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004405/0.4257, allocations: 1.772 MB / 0.5622 GB, free: 4.402 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005885/0.4317, allocations: 1.707 MB / 0.5638 GB, free: 3.699 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001599/0.4333, allocations: 0.5076 MB / 0.5643 GB, free: 3.496 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.009154/0.4425, allocations: 5.503 MB / 0.5697 GB, free: 1.176 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005528/0.4481, allocations: 2.626 MB / 0.5723 GB, free: 14.92 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003276/0.4514, allocations: 1.202 MB / 0.5735 GB, free: 13.71 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003918/0.4554, allocations: 2.044 MB / 0.5755 GB, free: 11.66 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001096/0.4565, allocations: 204 kB / 0.5756 GB, free: 11.46 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002543/0.459, allocations: 0.9594 MB / 0.5766 GB, free: 10.5 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002256/0.4613, allocations: 1.698 MB / 0.5782 GB, free: 8.801 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00329/0.4646, allocations: 2.049 MB / 0.5802 GB, free: 6.738 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01205/0.4767, allocations: 6.584 MB / 0.5867 GB, free: 136 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.958e-05/0.4768, allocations: 0 / 0.5867 GB, free: 136 kB / 394.7 MB Notification: Performance of FrontEnd: time 3.247e-06/0.4769, allocations: 0 / 0.5867 GB, free: 136 kB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003906/0.4773, allocations: 4 kB / 0.5867 GB, free: 132 kB / 394.7 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.01841/0.4957, allocations: 4.555 MB / 0.5911 GB, free: 11.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.477e-05/0.4958, allocations: 8.031 kB / 0.5911 GB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02104/0.5168, allocations: 3.111 MB / 0.5942 GB, free: 8.375 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01003/0.5269, allocations: 2.101 MB / 0.5962 GB, free: 6.223 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003377/0.5273, allocations: 225.8 kB / 0.5964 GB, free: 6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002126/0.5295, allocations: 291.7 kB / 0.5967 GB, free: 5.715 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03497/0.5645, allocations: 11.11 MB / 0.6076 GB, free: 10.14 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001773/0.5647, allocations: 31.72 kB / 0.6076 GB, free: 10.11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007695/0.5655, allocations: 139.8 kB / 0.6077 GB, free: 9.977 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008117/0.5736, allocations: 2.62 MB / 0.6103 GB, free: 7.352 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03223/0.6059, allocations: 10.37 MB / 0.6204 GB, free: 12.96 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08983/0.6958, allocations: 36.7 MB / 0.6563 GB, free: 7.34 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01565/0.7115, allocations: 4.57 MB / 0.6607 GB, free: 2.539 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005687/0.7173, allocations: 2.405 MB / 0.6631 GB, free: 136 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002127/0.7194, allocations: 1.319 MB / 0.6644 GB, free: 14.59 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.9e-05/0.7195, allocations: 60.5 kB / 0.6644 GB, free: 14.52 MB / 490.7 MB Notification: Performance of pre-optimization done (n=242): time 8.445e-06/0.7195, allocations: 0 / 0.6644 GB, free: 14.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=254): time 0.4002/1.12, allocations: 17.57 MB / 0.6816 GB, free: 130.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/1.12, allocations: 72.34 kB / 0.6816 GB, free: 130.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003915/1.124, allocations: 2.737 MB / 0.6843 GB, free: 129.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003617/1.124, allocations: 59.31 kB / 0.6844 GB, free: 129 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001409/1.126, allocations: 2.776 MB / 0.6871 GB, free: 126.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007668/1.126, allocations: 0.9211 MB / 0.688 GB, free: 126.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001269/1.128, allocations: 1.071 MB / 0.689 GB, free: 125.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.859e-05/1.128, allocations: 305.1 kB / 0.6893 GB, free: 125.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002717/1.13, allocations: 2.313 MB / 0.6916 GB, free: 124.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003993/1.134, allocations: 5.222 MB / 0.6967 GB, free: 120.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008262/1.143, allocations: 8.271 MB / 0.7048 GB, free: 114 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001134/1.143, allocations: 33.34 kB / 0.7048 GB, free: 114 MB / 490.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01909/1.162, allocations: 8.288 MB / 0.7129 GB, free: 111.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003594/1.162, allocations: 52.31 kB / 0.7129 GB, free: 111.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004375/1.163, allocations: 101.6 kB / 0.713 GB, free: 111.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003964/1.167, allocations: 0.9389 MB / 0.7139 GB, free: 111 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005111/1.172, allocations: 1.225 MB / 0.7151 GB, free: 110.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008329/1.18, allocations: 4.782 MB / 0.7198 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005835/1.186, allocations: 303.9 kB / 0.7201 GB, free: 108.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001261/1.188, allocations: 309.5 kB / 0.7204 GB, free: 108.3 MB / 490.7 MB 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.00528/1.193, allocations: 2.153 MB / 0.7225 GB, free: 107.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001002/1.194, allocations: 272.8 kB / 0.7228 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009545/1.203, allocations: 5.133 MB / 0.7278 GB, free: 105.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.6e-05/1.204, allocations: 41.5 kB / 0.7278 GB, free: 105.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.928e-05/1.204, allocations: 3.781 kB / 0.7278 GB, free: 105.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-05/1.204, allocations: 15.2 kB / 0.7278 GB, free: 105.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02246/1.226, allocations: 11.9 MB / 0.7394 GB, free: 96.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.879e-05/1.226, allocations: 14.34 kB / 0.7395 GB, free: 96.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001537/1.228, allocations: 399.4 kB / 0.7398 GB, free: 96.01 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002293/1.23, allocations: 0.7735 MB / 0.7406 GB, free: 95.23 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002114/1.23, allocations: 48 kB / 0.7406 GB, free: 95.19 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004532/1.235, allocations: 4.096 MB / 0.7446 GB, free: 90.96 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.054e-05/1.235, allocations: 23.12 kB / 0.7447 GB, free: 90.95 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04715/1.282, allocations: 28.09 MB / 0.7721 GB, free: 62.41 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/1.283, allocations: 325.6 kB / 0.7724 GB, free: 62.07 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00104/1.284, allocations: 55.42 kB / 0.7725 GB, free: 62.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002024/1.286, allocations: 143.8 kB / 0.7726 GB, free: 61.88 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006495/1.287, allocations: 161.1 kB / 0.7728 GB, free: 61.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003491/1.287, allocations: 68 kB / 0.7728 GB, free: 61.66 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003139/1.29, allocations: 1.685 MB / 0.7745 GB, free: 59.96 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.41e-07/1.29, allocations: 7.938 kB / 0.7745 GB, free: 59.96 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007634/1.298, allocations: 1.196 MB / 0.7756 GB, free: 58.77 MB / 490.7 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.0007898/1.299, allocations: 199.7 kB / 0.7758 GB, free: 58.57 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009212/1.308, allocations: 5.631 MB / 0.7813 GB, free: 52.95 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.348e-05/1.308, allocations: 0 / 0.7813 GB, free: 52.95 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003345/1.311, allocations: 2.148 MB / 0.7834 GB, free: 50.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00407/1.316, allocations: 383.9 kB / 0.7838 GB, free: 50.43 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02459/1.34, allocations: 14.12 MB / 0.7976 GB, free: 36.12 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005653/1.346, allocations: 3.457 MB / 0.801 GB, free: 32.63 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005093/1.351, allocations: 1.988 MB / 0.8029 GB, free: 30.64 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001087/1.352, allocations: 223.3 kB / 0.8031 GB, free: 30.42 MB / 490.7 MB Notification: Performance of SimCode: time 1.012e-06/1.352, allocations: 0 / 0.8031 GB, free: 30.42 MB / 490.7 MB Notification: Performance of Templates: time 0.06863/1.421, allocations: 37.86 MB / 0.8401 GB, free: 8.703 MB / 0.4948 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches