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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002684/0.002684, allocations: 99.55 kB / 20.97 MB, free: 3.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003367/0.003367, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.628/1.628, allocations: 177 MB / 204.5 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3282/0.3282, allocations: 34.25 MB / 295.2 MB, free: 0.625 MB / 266.7 MB " [Timeout remaining time 180] 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=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 377.2 MB, free: 2.879 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.931e-05/3.078e-05, allocations: 8.641 kB / 377.2 MB, free: 2.871 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.0164/0.01643, allocations: 11.74 MB / 389 MB, free: 7.07 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009292/0.02572, allocations: 3.874 MB / 392.8 MB, free: 3.184 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00146/0.02718, allocations: 67.75 kB / 392.9 MB, free: 3.117 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003053/0.03023, allocations: 1.393 MB / 394.3 MB, free: 1.719 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004363/0.0346, allocations: 1.84 MB / 396.1 MB, free: 15.87 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00134/0.03594, allocations: 0.5222 MB / 396.7 MB, free: 15.35 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005708/0.04165, allocations: 3.982 MB / 400.6 MB, free: 11.36 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002899/0.04454, allocations: 2.153 MB / 402.8 MB, free: 9.164 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003228/0.04777, allocations: 1.843 MB / 404.6 MB, free: 7.316 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003516/0.05129, allocations: 1.937 MB / 406.6 MB, free: 5.375 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005908/0.05188, allocations: 240 kB / 406.8 MB, free: 5.141 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002196/0.05407, allocations: 0.9086 MB / 407.7 MB, free: 4.23 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00184/0.05591, allocations: 1.679 MB / 409.4 MB, free: 2.547 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001629/0.05754, allocations: 1 MB / 410.4 MB, free: 1.543 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009285/0.06683, allocations: 6.178 MB / 416.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.06684, allocations: 0 / 416.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.06684, allocations: 4 kB / 416.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001967/0.06703, allocations: 0 / 416.6 MB, free: 11.34 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.01155/0.07858, allocations: 4.998 MB / 421.6 MB, free: 6.277 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.07862, allocations: 16.03 kB / 421.6 MB, free: 6.262 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01272/0.09135, allocations: 3.629 MB / 425.2 MB, free: 2.625 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005243/0.09659, allocations: 1.688 MB / 426.9 MB, free: 0.9023 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002156/0.09681, allocations: 193 kB / 427.1 MB, free: 0.7109 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008333/0.09764, allocations: 244.2 kB / 427.3 MB, free: 484 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01343/0.1111, allocations: 5.741 MB / 433.1 MB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.464e-05/0.1112, allocations: 31.73 kB / 433.1 MB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004068/0.1116, allocations: 115.8 kB / 433.2 MB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005252/0.1168, allocations: 2.553 MB / 435.8 MB, free: 7.457 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01315/0.13, allocations: 3.879 MB / 439.7 MB, free: 3.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1985/0.3284, allocations: 41.63 MB / 481.3 MB, free: 65.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006819/0.3353, allocations: 2.186 MB / 483.5 MB, free: 65.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001515/0.3368, allocations: 0.6782 MB / 484.1 MB, free: 65.06 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001074/0.3378, allocations: 0.5187 MB / 484.7 MB, free: 64.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.3379, allocations: 61.62 kB / 484.7 MB, free: 64.92 MB / 410.7 MB Notification: Performance of pre-optimization done (n=229): time 6.222e-06/0.3379, allocations: 1.25 kB / 484.7 MB, free: 64.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=235): time 0.02803/0.3659, allocations: 8.318 MB / 493 MB, free: 63 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.366, allocations: 69.94 kB / 493.1 MB, free: 62.94 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004142/0.3701, allocations: 3.05 MB / 496.2 MB, free: 61.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003338/0.3704, allocations: 56.17 kB / 496.2 MB, free: 61.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001492/0.3719, allocations: 3.004 MB / 499.2 MB, free: 59.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000884/0.3728, allocations: 0.9822 MB / 0.4885 GB, free: 58.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001455/0.3743, allocations: 1.296 MB / 0.4897 GB, free: 58.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.3744, allocations: 0.565 MB / 0.4903 GB, free: 57.51 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001451/0.3759, allocations: 0.7082 MB / 0.491 GB, free: 57.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003043/0.3789, allocations: 5.114 MB / 0.496 GB, free: 51.53 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00523/0.3841, allocations: 6.452 MB / 0.5023 GB, free: 44.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.742e-05/0.3842, allocations: 29.25 kB / 0.5023 GB, free: 44.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.009327/0.3935, allocations: 5.027 MB / 0.5072 GB, free: 41.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.822e-05/0.3936, allocations: 51.94 kB / 0.5073 GB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001054/0.3937, allocations: 100 kB / 0.5074 GB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001966/0.3957, allocations: 0.5661 MB / 0.5079 GB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003558/0.3992, allocations: 1.187 MB / 0.5091 GB, free: 39.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003625/0.4029, allocations: 3.103 MB / 0.5121 GB, free: 36.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003788/0.4066, allocations: 323.6 kB / 0.5124 GB, free: 36.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006775/0.4073, allocations: 300.3 kB / 0.5127 GB, free: 36.11 MB / 410.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.002029/0.4094, allocations: 0.6678 MB / 0.5134 GB, free: 35.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006986/0.41, allocations: 325.6 kB / 0.5137 GB, free: 35.13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005774/0.4158, allocations: 2.578 MB / 0.5162 GB, free: 33.08 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.341e-05/0.4159, allocations: 42.77 kB / 0.5162 GB, free: 33.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.57e-05/0.4159, allocations: 4 kB / 0.5162 GB, free: 33.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.406e-05/0.4159, allocations: 9.75 kB / 0.5162 GB, free: 33.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0159/0.4318, allocations: 7.166 MB / 0.5232 GB, free: 26.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.53e-05/0.4318, allocations: 8 kB / 0.5232 GB, free: 26.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001549/0.4334, allocations: 359.4 kB / 0.5236 GB, free: 26.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001902/0.4353, allocations: 442.2 kB / 0.524 GB, free: 26.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002562/0.4355, allocations: 50.41 kB / 0.5241 GB, free: 26.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002888/0.4384, allocations: 2.517 MB / 0.5265 GB, free: 23.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.4384, allocations: 11.94 kB / 0.5265 GB, free: 23.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00625/0.4447, allocations: 3.095 MB / 0.5296 GB, free: 20.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008803/0.4456, allocations: 245.9 kB / 0.5298 GB, free: 20.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003372/0.4459, allocations: 40 kB / 0.5298 GB, free: 20.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001274/0.4472, allocations: 176.3 kB / 0.53 GB, free: 20.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003384/0.4475, allocations: 139.6 kB / 0.5301 GB, free: 20.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001415/0.4476, allocations: 63.88 kB / 0.5302 GB, free: 20.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001855/0.4495, allocations: 1.246 MB / 0.5314 GB, free: 19.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4495, allocations: 0 / 0.5314 GB, free: 19.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004568/0.4541, allocations: 0.9991 MB / 0.5324 GB, free: 18.22 MB / 410.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.0004426/0.4545, allocations: 186.4 kB / 0.5326 GB, free: 18.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00523/0.4597, allocations: 3.084 MB / 0.5356 GB, free: 15.26 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.818e-05/0.4598, allocations: 4 kB / 0.5356 GB, free: 15.26 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001414/0.4612, allocations: 1.009 MB / 0.5366 GB, free: 14.33 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001724/0.4629, allocations: 283 kB / 0.5368 GB, free: 14.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01029/0.4732, allocations: 7.629 MB / 0.5443 GB, free: 6.516 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002105/0.4753, allocations: 2.304 MB / 0.5465 GB, free: 4.191 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002951/0.4782, allocations: 1.581 MB / 0.5481 GB, free: 2.605 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006061/0.4789, allocations: 196.5 kB / 0.5483 GB, free: 2.414 MB / 410.7 MB Notification: Performance of SimCode: time 2.164e-06/0.4789, allocations: 4 kB / 0.5483 GB, free: 2.41 MB / 410.7 MB Notification: Performance of Templates: time 0.05564/0.5345, allocations: 25.23 MB / 0.5729 GB, free: 9.566 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.713911912986077]