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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001122/0.001122, allocations: 114.9 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001438/0.001438, allocations: 206.8 kB / 19.41 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2111/0.2111, allocations: 46.1 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002512/0.002512, allocations: 75.88 kB / 482 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3731, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.014/0.3872, allocations: 12.28 MB / 0.5437 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009307/0.3965, allocations: 3.936 MB / 0.5475 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002603/0.3991, allocations: 64.59 kB / 0.5476 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002924/0.4021, allocations: 1.313 MB / 0.5488 GB, free: 32 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004469/0.4066, allocations: 1.728 MB / 0.5505 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.4079, allocations: 491 kB / 0.551 GB, free: 13.88 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005025/0.413, allocations: 3.621 MB / 0.5545 GB, free: 10.26 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002846/0.4158, allocations: 1.997 MB / 0.5565 GB, free: 8.23 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002083/0.4179, allocations: 1.191 MB / 0.5577 GB, free: 7.035 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002744/0.4207, allocations: 1.709 MB / 0.5593 GB, free: 5.32 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009215/0.4216, allocations: 236 kB / 0.5595 GB, free: 5.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002567/0.4242, allocations: 0.936 MB / 0.5605 GB, free: 4.152 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002055/0.4263, allocations: 1.57 MB / 0.562 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002974/0.4293, allocations: 1.886 MB / 0.5638 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006968/0.4363, allocations: 6.167 MB / 0.5699 GB, free: 10.49 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.4363, allocations: 0 / 0.5699 GB, free: 10.49 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4363, allocations: 0 / 0.5699 GB, free: 10.49 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000199/0.4365, allocations: 0 / 0.5699 GB, free: 10.49 MB / 430.1 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.008635/0.4451, allocations: 4.136 MB / 0.5739 GB, free: 6.289 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.4452, allocations: 8.031 kB / 0.5739 GB, free: 6.281 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01031/0.4555, allocations: 3.072 MB / 0.5769 GB, free: 3.199 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004195/0.4597, allocations: 1.865 MB / 0.5787 GB, free: 1.285 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001646/0.4599, allocations: 193 kB / 0.5789 GB, free: 1.094 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008858/0.4608, allocations: 244 kB / 0.5791 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01813/0.4789, allocations: 10.49 MB / 0.5894 GB, free: 5.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001126/0.4791, allocations: 27.72 kB / 0.5894 GB, free: 5.902 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007075/0.4798, allocations: 123.8 kB / 0.5895 GB, free: 5.781 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004153/0.484, allocations: 2.557 MB / 0.592 GB, free: 3.219 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01926/0.5033, allocations: 9.919 MB / 0.6017 GB, free: 9.289 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0502/0.5535, allocations: 34.26 MB / 0.6352 GB, free: 6.195 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009595/0.5631, allocations: 5.187 MB / 0.6402 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003203/0.5664, allocations: 2.295 MB / 0.6425 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001631/0.568, allocations: 1.88 MB / 0.6443 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.967e-05/0.5681, allocations: 52.56 kB / 0.6444 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=229): time 5.09e-06/0.5681, allocations: 0 / 0.6444 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=235): time 0.03298/0.6011, allocations: 14 MB / 0.658 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.6012, allocations: 77.34 kB / 0.6581 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003961/0.6052, allocations: 2.623 MB / 0.6607 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002143/0.6054, allocations: 57.7 kB / 0.6607 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001771/0.6072, allocations: 2.635 MB / 0.6633 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008249/0.608, allocations: 0.844 MB / 0.6641 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001585/0.6096, allocations: 1.044 MB / 0.6651 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.716e-05/0.6097, allocations: 301.1 kB / 0.6654 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003249/0.613, allocations: 2.204 MB / 0.6676 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005854/0.6188, allocations: 5.075 MB / 0.6725 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009167/0.628, allocations: 7.969 MB / 0.6803 GB, free: 4.418 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.459e-05/0.6281, allocations: 28 kB / 0.6803 GB, free: 4.391 MB / 0.5294 GB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01309/0.6412, allocations: 7.884 MB / 0.688 GB, free: 12.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.809e-05/0.6413, allocations: 48 kB / 0.6881 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001348/0.6415, allocations: 104.1 kB / 0.6882 GB, free: 12.35 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002249/0.6437, allocations: 0.7889 MB / 0.689 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003656/0.6474, allocations: 1.185 MB / 0.6901 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005797/0.6532, allocations: 4.523 MB / 0.6945 GB, free: 5.703 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003089/0.6563, allocations: 299.7 kB / 0.6948 GB, free: 5.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005929/0.6569, allocations: 300 kB / 0.6951 GB, free: 5.117 MB / 0.545 GB 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.003309/0.6602, allocations: 2.016 MB / 0.6971 GB, free: 3.09 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005035/0.6607, allocations: 256.6 kB / 0.6973 GB, free: 2.836 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007841/0.6686, allocations: 4.722 MB / 0.7019 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.635e-05/0.6686, allocations: 11.91 kB / 0.7019 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.6686, allocations: 0 / 0.7019 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004407/0.6691, allocations: 305.6 kB / 0.7022 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004052/0.6695, allocations: 35.91 kB / 0.7023 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/0.6706, allocations: 131.8 kB / 0.7024 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002964/0.6709, allocations: 117.8 kB / 0.7025 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007071/0.678, allocations: 4.235 MB / 0.7066 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007699/0.6857, allocations: 6.266 MB / 0.7128 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002049/0.6878, allocations: 1.733 MB / 0.7145 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.2704/0.9582, allocations: 1.606 MB / 0.716 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of Backend: time 1.122e-06/0.9582, allocations: 0 / 0.716 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007672/0.9659, allocations: 3.989 MB / 0.7199 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01283/0.9788, allocations: 8.272 MB / 0.728 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.05839/1.037, allocations: 41.29 MB / 0.7683 GB, free: 126.7 MB / 0.5606 GB 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches