Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.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.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001749/0.001749, 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.44/1.44, allocations: 226.7 MB / 245.5 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001014/0.001014, allocations: 114.6 kB / 296.7 MB, free: 6.477 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3149/0.3149, allocations: 44.83 MB / 392.7 MB, free: 34.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 60.23 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.26, allocations: 62.03 MB / 0.5152 GB, free: 37.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01906/0.2791, allocations: 29.73 MB / 0.5442 GB, free: 16.59 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01333/0.2925, allocations: 6.847 MB / 0.5509 GB, free: 12.08 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00484/0.2973, allocations: 120.8 kB / 0.551 GB, free: 12.06 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002905/0.3003, allocations: 1.266 MB / 0.5522 GB, free: 11.52 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003748/0.3041, allocations: 1.62 MB / 0.5538 GB, free: 10.87 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.3051, allocations: 465.1 kB / 0.5543 GB, free: 10.7 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006024/0.3112, allocations: 5.093 MB / 0.5592 GB, free: 9.188 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003137/0.3143, allocations: 1.968 MB / 0.5611 GB, free: 8.188 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00181/0.3162, allocations: 1.045 MB / 0.5622 GB, free: 7.637 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00212/0.3183, allocations: 1.81 MB / 0.5639 GB, free: 6.641 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005246/0.3188, allocations: 170.8 kB / 0.5641 GB, free: 6.637 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001772/0.3206, allocations: 0.9276 MB / 0.565 GB, free: 6.199 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001106/0.3217, allocations: 1.546 MB / 0.5665 GB, free: 4.855 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001297/0.323, allocations: 1.839 MB / 0.5683 GB, free: 3.004 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005073/0.3281, allocations: 5.899 MB / 0.5741 GB, free: 13.09 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.3282, allocations: 0 / 0.5741 GB, free: 13.09 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3282, allocations: 0 / 0.5741 GB, free: 13.09 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002014/0.3284, allocations: 0 / 0.5741 GB, free: 13.09 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.007566/0.336, allocations: 4.159 MB / 0.5781 GB, free: 8.859 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.336, allocations: 16.03 kB / 0.5781 GB, free: 8.844 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01062/0.3467, allocations: 3.076 MB / 0.5812 GB, free: 5.758 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004545/0.3512, allocations: 1.865 MB / 0.583 GB, free: 3.848 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001532/0.3514, allocations: 189 kB / 0.5832 GB, free: 3.66 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007083/0.3522, allocations: 248 kB / 0.5834 GB, free: 3.418 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01523/0.3674, allocations: 10.48 MB / 0.5936 GB, free: 8.508 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.36e-05/0.3675, allocations: 27.72 kB / 0.5936 GB, free: 8.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003442/0.3679, allocations: 119.8 kB / 0.5938 GB, free: 8.363 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003973/0.3718, allocations: 2.557 MB / 0.5963 GB, free: 5.801 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01685/0.3887, allocations: 9.919 MB / 0.6059 GB, free: 11.88 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04928/0.438, allocations: 34.47 MB / 0.6396 GB, free: 8.574 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009054/0.4471, allocations: 5.198 MB / 0.6447 GB, free: 3.152 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003071/0.4502, allocations: 2.292 MB / 0.6469 GB, free: 0.8594 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001705/0.452, allocations: 1.88 MB / 0.6488 GB, free: 14.64 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.307e-05/0.452, allocations: 52.55 kB / 0.6488 GB, free: 14.59 MB / 474.7 MB Notification: Performance of pre-optimization done (n=229): time 4.989e-06/0.4521, allocations: 4 kB / 0.6488 GB, free: 14.58 MB / 474.7 MB Notification: Performance of matching and sorting (n=235): time 0.0316/0.4837, allocations: 13.98 MB / 0.6625 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/0.4837, allocations: 77.34 kB / 0.6625 GB, free: 464 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004646/0.4884, allocations: 2.631 MB / 0.6651 GB, free: 13.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003016/0.4887, allocations: 61.61 kB / 0.6652 GB, free: 13.73 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002108/0.4909, allocations: 2.632 MB / 0.6677 GB, free: 11.06 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008519/0.4917, allocations: 0.8479 MB / 0.6686 GB, free: 10.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001475/0.4932, allocations: 1.04 MB / 0.6696 GB, free: 9.152 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.306e-05/0.4933, allocations: 309.1 kB / 0.6699 GB, free: 8.848 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003088/0.4964, allocations: 2.2 MB / 0.672 GB, free: 6.641 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005154/0.5016, allocations: 5.071 MB / 0.677 GB, free: 164 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2415/0.7431, allocations: 7.973 MB / 0.6848 GB, free: 121.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001099/0.7432, allocations: 28.75 kB / 0.6848 GB, free: 121.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01299/0.7562, allocations: 7.891 MB / 0.6925 GB, free: 118.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.038e-05/0.7564, allocations: 46.56 kB / 0.6925 GB, free: 118.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001147/0.7565, allocations: 99.5 kB / 0.6926 GB, free: 118.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002145/0.7586, allocations: 0.7959 MB / 0.6934 GB, free: 118.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003668/0.7623, allocations: 1.181 MB / 0.6946 GB, free: 118.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005048/0.7674, allocations: 4.207 MB / 0.6987 GB, free: 116.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003509/0.7709, allocations: 291.4 kB / 0.699 GB, free: 116.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006415/0.7716, allocations: 309.2 kB / 0.6992 GB, free: 116 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 29 (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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (635): * Single equations (assignments): 628 * 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 {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003094/0.7747, allocations: 2.012 MB / 0.7012 GB, free: 115.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000392/0.7751, allocations: 268.9 kB / 0.7015 GB, free: 115.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008875/0.784, allocations: 4.724 MB / 0.7061 GB, free: 113.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-05/0.7841, allocations: 44.92 kB / 0.7061 GB, free: 113.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.21e-05/0.7841, allocations: 7.078 kB / 0.7061 GB, free: 113.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.916e-05/0.7842, allocations: 8.859 kB / 0.7061 GB, free: 113.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01786/0.802, allocations: 10.54 MB / 0.7164 GB, free: 110.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/0.8021, allocations: 7.938 kB / 0.7164 GB, free: 110.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001368/0.8035, allocations: 364 kB / 0.7168 GB, free: 110 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001868/0.8053, allocations: 0.6577 MB / 0.7174 GB, free: 109.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000143/0.8055, allocations: 39.78 kB / 0.7175 GB, free: 109.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003749/0.8093, allocations: 3.662 MB / 0.721 GB, free: 107.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.8093, allocations: 11.88 kB / 0.7211 GB, free: 107.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03625/0.8455, allocations: 25.11 MB / 0.7456 GB, free: 85.34 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004216/0.846, allocations: 317.8 kB / 0.7459 GB, free: 85.01 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003022/0.8463, allocations: 39.59 kB / 0.7459 GB, free: 84.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/0.8475, allocations: 140.5 kB / 0.746 GB, free: 84.84 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000293/0.8478, allocations: 137 kB / 0.7462 GB, free: 84.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001321/0.8479, allocations: 64.09 kB / 0.7462 GB, free: 84.64 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001754/0.8497, allocations: 1.623 MB / 0.7478 GB, free: 83.01 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8497, allocations: 0 / 0.7478 GB, free: 83.01 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003588/0.8533, allocations: 1.126 MB / 0.7489 GB, free: 81.89 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.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 (178): * Single equations (assignments): 171 * 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 {(1,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.0003741/0.8536, allocations: 186 kB / 0.7491 GB, free: 81.71 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005876/0.8595, allocations: 5.339 MB / 0.7543 GB, free: 76.38 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.8596, allocations: 384 / 0.7543 GB, free: 76.38 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001955/0.8615, allocations: 2.026 MB / 0.7563 GB, free: 74.35 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001678/0.8632, allocations: 339.4 kB / 0.7566 GB, free: 74.02 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01228/0.8755, allocations: 13.05 MB / 0.7694 GB, free: 60.84 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002444/0.878, allocations: 3.249 MB / 0.7725 GB, free: 57.56 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003782/0.8818, allocations: 1.962 MB / 0.7745 GB, free: 55.59 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005839/0.8824, allocations: 199.4 kB / 0.7746 GB, free: 55.39 MB / 490.7 MB Notification: Performance of SimCode: time 7.52e-07/0.8824, allocations: 4 kB / 0.7746 GB, free: 55.39 MB / 490.7 MB Notification: Performance of Templates: time 0.04507/0.9274, allocations: 34.23 MB / 0.8081 GB, free: 21.3 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches