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.001473/0.001473, allocations: 96.25 kB / 20.96 MB, free: 3.473 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.001598/0.001598, allocations: 160.9 kB / 24.27 MB, free: 172 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.591/1.591, allocations: 177 MB / 204.4 MB, free: 5.637 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.3359/0.3359, allocations: 34.26 MB / 295.2 MB, free: 0.6641 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 2.003e-06/2.003e-06, allocations: 0 / 377.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.303e-05/3.503e-05, allocations: 2.312 kB / 377.2 MB, free: 2.922 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01557/0.01561, allocations: 10.74 MB / 387.9 MB, free: 8.121 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009978/0.02559, allocations: 3.761 MB / 391.7 MB, free: 4.348 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002166/0.02775, allocations: 67.75 kB / 391.8 MB, free: 4.281 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003629/0.03138, allocations: 1.362 MB / 393.1 MB, free: 2.914 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005414/0.03679, allocations: 1.844 MB / 395 MB, free: 1.062 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.03829, allocations: 0.5183 MB / 395.5 MB, free: 0.543 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00581/0.0441, allocations: 3.986 MB / 399.5 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004489/0.04859, allocations: 2.161 MB / 401.6 MB, free: 10.35 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00442/0.05301, allocations: 1.836 MB / 403.5 MB, free: 8.508 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003825/0.05684, allocations: 1.929 MB / 405.4 MB, free: 6.574 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001027/0.05786, allocations: 244 kB / 405.6 MB, free: 6.336 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002819/0.06068, allocations: 0.9086 MB / 406.6 MB, free: 5.426 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002649/0.06333, allocations: 1.675 MB / 408.2 MB, free: 3.746 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002542/0.06587, allocations: 0.9964 MB / 409.2 MB, free: 2.746 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009336/0.07521, allocations: 6.174 MB / 415.4 MB, free: 12.55 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.07522, allocations: 0 / 415.4 MB, free: 12.55 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.07522, allocations: 0 / 415.4 MB, free: 12.55 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001864/0.0754, allocations: 0 / 415.4 MB, free: 12.55 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.009489/0.08489, allocations: 4.174 MB / 419.6 MB, free: 8.32 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.08494, allocations: 8.031 kB / 419.6 MB, free: 8.312 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01262/0.09756, allocations: 3.746 MB / 423.3 MB, free: 4.559 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004639/0.1022, allocations: 1.834 MB / 425.2 MB, free: 2.691 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000274/0.1025, allocations: 193 kB / 425.4 MB, free: 2.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001245/0.1037, allocations: 248.2 kB / 425.6 MB, free: 2.258 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02161/0.1253, allocations: 10.5 MB / 436.1 MB, free: 7.332 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000139/0.1255, allocations: 23.75 kB / 436.1 MB, free: 7.309 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000897/0.1264, allocations: 115.8 kB / 436.2 MB, free: 7.195 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005341/0.1317, allocations: 2.557 MB / 438.8 MB, free: 4.637 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1583/0.29, allocations: 9.897 MB / 448.7 MB, free: 93.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03702/0.327, allocations: 31.92 MB / 480.6 MB, free: 74.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008576/0.3356, allocations: 4.165 MB / 484.8 MB, free: 73.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002751/0.3383, allocations: 2.119 MB / 486.9 MB, free: 72.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001086/0.3394, allocations: 0.5531 MB / 487.4 MB, free: 72.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.327e-05/0.3395, allocations: 59.03 kB / 487.5 MB, free: 72.69 MB / 410.7 MB Notification: Performance of pre-optimization done (n=229): time 5.58e-06/0.3395, allocations: 0 / 487.5 MB, free: 72.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=235): time 0.03045/0.3699, allocations: 14.42 MB / 0.4901 GB, free: 67.08 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.37, allocations: 73.41 kB / 0.4902 GB, free: 67 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003869/0.3738, allocations: 2.695 MB / 0.4928 GB, free: 64.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001582/0.374, allocations: 53.7 kB / 0.4929 GB, free: 64.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001342/0.3753, allocations: 2.737 MB / 0.4956 GB, free: 62.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006777/0.376, allocations: 0.874 MB / 0.4964 GB, free: 61.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001365/0.3774, allocations: 1.039 MB / 0.4974 GB, free: 60.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.801e-05/0.3774, allocations: 354 kB / 0.4978 GB, free: 60.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002535/0.38, allocations: 2.205 MB / 0.4999 GB, free: 58.31 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003431/0.3834, allocations: 5.071 MB / 0.5049 GB, free: 52.26 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006411/0.3898, allocations: 7.975 MB / 0.5127 GB, free: 43.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001033/0.3899, allocations: 28 kB / 0.5127 GB, free: 43.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01138/0.4013, allocations: 8.142 MB / 0.5207 GB, free: 35.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.98e-05/0.4014, allocations: 48 kB / 0.5207 GB, free: 35.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001445/0.4015, allocations: 96 kB / 0.5208 GB, free: 35.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002169/0.4037, allocations: 0.8182 MB / 0.5216 GB, free: 34.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003436/0.4071, allocations: 1.181 MB / 0.5227 GB, free: 33.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004572/0.4117, allocations: 4.386 MB / 0.527 GB, free: 28.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003352/0.4151, allocations: 323.7 kB / 0.5273 GB, free: 28.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005882/0.4157, allocations: 300 kB / 0.5276 GB, free: 28.36 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.00279/0.4185, allocations: 2.012 MB / 0.5296 GB, free: 26.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006844/0.4191, allocations: 326.2 kB / 0.5299 GB, free: 26.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006541/0.4257, allocations: 4.711 MB / 0.5345 GB, free: 21.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.869e-05/0.4257, allocations: 43.59 kB / 0.5345 GB, free: 21.24 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.361e-05/0.4257, allocations: 4 kB / 0.5345 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.76e-05/0.4258, allocations: 11.95 kB / 0.5346 GB, free: 21.22 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01418/0.4399, allocations: 9.254 MB / 0.5436 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.831e-05/0.44, allocations: 8 kB / 0.5436 GB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001376/0.4413, allocations: 359.4 kB / 0.5439 GB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001854/0.4432, allocations: 0.6628 MB / 0.5446 GB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001925/0.4434, allocations: 47.81 kB / 0.5446 GB, free: 10.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00387/0.4473, allocations: 3.781 MB / 0.5483 GB, free: 6.922 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/0.4473, allocations: 15.88 kB / 0.5483 GB, free: 6.906 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00834/0.4556, allocations: 7.157 MB / 0.5553 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00072/0.4563, allocations: 246.2 kB / 0.5556 GB, free: 15.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004849/0.4568, allocations: 43.94 kB / 0.5556 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001714/0.4585, allocations: 171.7 kB / 0.5558 GB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003893/0.4589, allocations: 136.9 kB / 0.5559 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001824/0.4591, allocations: 71.34 kB / 0.556 GB, free: 14.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002871/0.462, allocations: 1.532 MB / 0.5575 GB, free: 13.44 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.462, allocations: 0 / 0.5575 GB, free: 13.44 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004478/0.4664, allocations: 0.9921 MB / 0.5584 GB, free: 12.45 MB / 426.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.0006698/0.4671, allocations: 190.4 kB / 0.5586 GB, free: 12.25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00932/0.4764, allocations: 5.16 MB / 0.5637 GB, free: 7.105 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.826e-06/0.4764, allocations: 0 / 0.5637 GB, free: 7.105 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003157/0.4796, allocations: 1.879 MB / 0.5655 GB, free: 5.219 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002258/0.4819, allocations: 293 kB / 0.5658 GB, free: 4.938 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02041/0.5023, allocations: 9.616 MB / 0.5752 GB, free: 11.17 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005269/0.5075, allocations: 2.621 MB / 0.5777 GB, free: 8.527 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005143/0.5127, allocations: 1.936 MB / 0.5796 GB, free: 6.586 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008611/0.5135, allocations: 196.5 kB / 0.5798 GB, free: 6.395 MB / 442.7 MB Notification: Performance of SimCode: time 1.193e-06/0.5135, allocations: 0 / 0.5798 GB, free: 6.395 MB / 442.7 MB Notification: Performance of Templates: time 0.1915/0.705, allocations: 25.27 MB / 0.6045 GB, free: 130.3 MB / 458.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 480] 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.701172493980266]