Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001872/0.001872, allocations: 96.97 kB / 20.21 MB, free: 4.211 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002039/0.002039, allocations: 169.6 kB / 23.53 MB, free: 0.8945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.387/1.387, allocations: 158.6 MB / 185.3 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1971/0.1971, allocations: 32.38 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 346.9 MB, free: 9.797 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.496e-05/2.645e-05, allocations: 2.312 kB / 346.9 MB, free: 9.793 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.008395/0.008421, allocations: 9.923 MB / 356.9 MB, free: 15.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009015/0.01744, allocations: 3.698 MB / 360.6 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001629/0.01907, allocations: 71.62 kB / 360.6 MB, free: 12.04 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004519/0.02358, allocations: 2.087 MB / 362.7 MB, free: 9.949 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004845/0.02843, allocations: 1.757 MB / 364.5 MB, free: 8.184 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002314/0.03074, allocations: 0.6742 MB / 365.2 MB, free: 7.508 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006039/0.03678, allocations: 3.706 MB / 368.9 MB, free: 3.797 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0038/0.04058, allocations: 2.466 MB / 371.3 MB, free: 1.273 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003788/0.04437, allocations: 1.921 MB / 373.2 MB, free: 15.35 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003021/0.04739, allocations: 1.87 MB / 375.1 MB, free: 13.47 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005519/0.04794, allocations: 260 kB / 375.4 MB, free: 13.22 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00201/0.04995, allocations: 0.9828 MB / 376.4 MB, free: 12.23 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001866/0.05182, allocations: 1.702 MB / 378.1 MB, free: 10.53 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001549/0.05337, allocations: 1.051 MB / 379.1 MB, free: 9.473 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007903/0.06127, allocations: 5.887 MB / 385 MB, free: 3.566 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.06128, allocations: 0 / 385 MB, free: 3.566 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.06128, allocations: 0 / 385 MB, free: 3.566 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001156/0.06139, allocations: 0 / 385 MB, free: 3.566 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.01054/0.07193, allocations: 4.769 MB / 389.8 MB, free: 14.73 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.07197, allocations: 12.03 kB / 389.8 MB, free: 14.72 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00784/0.07981, allocations: 2.191 MB / 392 MB, free: 12.53 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005333/0.08515, allocations: 1.765 MB / 393.7 MB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004503/0.0856, allocations: 193.2 kB / 393.9 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008344/0.08643, allocations: 252.2 kB / 394.2 MB, free: 10.27 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01285/0.09929, allocations: 5.657 MB / 399.8 MB, free: 3.707 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001212/0.09941, allocations: 47.62 kB / 399.9 MB, free: 3.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003468/0.09975, allocations: 123.9 kB / 400 MB, free: 3.539 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003497/0.1032, allocations: 1.695 MB / 401.7 MB, free: 1.844 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01025/0.1135, allocations: 3.045 MB / 404.7 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05412/0.1676, allocations: 41.71 MB / 446.4 MB, free: 3.762 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006683/0.1743, allocations: 1.659 MB / 448.1 MB, free: 2.043 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001168/0.1755, allocations: 0.5157 MB / 448.6 MB, free: 1.508 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1402/0.3157, allocations: 3.203 MB / 451.8 MB, free: 101.6 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.3157, allocations: 58.58 kB / 451.9 MB, free: 101.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=121): time 4.198e-06/0.3157, allocations: 0 / 451.9 MB, free: 101.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=129): time 0.02458/0.3403, allocations: 8.658 MB / 460.5 MB, free: 99.35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/0.3403, allocations: 166.1 kB / 460.7 MB, free: 99.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004167/0.3445, allocations: 4.002 MB / 464.7 MB, free: 98.49 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001376/0.3446, allocations: 41.42 kB / 464.7 MB, free: 98.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00148/0.3461, allocations: 3.2 MB / 467.9 MB, free: 96.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004998/0.3466, allocations: 0.5877 MB / 468.5 MB, free: 95.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001346/0.348, allocations: 1.363 MB / 469.9 MB, free: 95.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.39e-05/0.348, allocations: 484.5 kB / 470.4 MB, free: 94.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001145/0.3492, allocations: 0.6036 MB / 471 MB, free: 94.37 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002467/0.3516, allocations: 5.872 MB / 476.8 MB, free: 86.15 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004447/0.3561, allocations: 7.104 MB / 483.9 MB, free: 76.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.505e-05/0.3562, allocations: 36 kB / 484 MB, free: 76.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.006594/0.3627, allocations: 4.773 MB / 488.8 MB, free: 71.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.943e-05/0.3628, allocations: 56 kB / 488.8 MB, free: 71.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.221e-05/0.3629, allocations: 124 kB / 488.9 MB, free: 71.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006951/0.3636, allocations: 347.8 kB / 489.3 MB, free: 71.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003138/0.3667, allocations: 1.24 MB / 490.5 MB, free: 70.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001685/0.3684, allocations: 2.468 MB / 493 MB, free: 67.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003241/0.3717, allocations: 327.5 kB / 493.3 MB, free: 67.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003653/0.372, allocations: 332 kB / 493.6 MB, free: 66.94 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (668): * Single equations (assignments): 664 * Array equations: 3 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001194/0.3732, allocations: 0.6889 MB / 494.3 MB, free: 66.24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000476/0.3737, allocations: 326 kB / 494.6 MB, free: 65.92 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003318/0.377, allocations: 1.351 MB / 496 MB, free: 64.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.847e-05/0.377, allocations: 18.42 kB / 496 MB, free: 64.54 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.377, allocations: 15.92 kB / 496 MB, free: 64.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.377, allocations: 3.984 kB / 496 MB, free: 64.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009568/0.3866, allocations: 4.991 MB / 0.4893 GB, free: 59.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.136e-06/0.3866, allocations: 4 kB / 0.4893 GB, free: 59.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007639/0.3874, allocations: 175.8 kB / 0.4894 GB, free: 59.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001831/0.3892, allocations: 450.8 kB / 0.4899 GB, free: 58.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.922e-05/0.3893, allocations: 22.03 kB / 0.4899 GB, free: 58.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003466/0.3928, allocations: 3.034 MB / 0.4929 GB, free: 55.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3928, allocations: 0 / 0.4929 GB, free: 55.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004561/0.3973, allocations: 2.399 MB / 0.4952 GB, free: 53.26 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001172/0.3985, allocations: 438.5 kB / 0.4956 GB, free: 52.83 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003056/0.3988, allocations: 20 kB / 0.4956 GB, free: 52.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/0.4, allocations: 107.4 kB / 0.4957 GB, free: 52.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001811/0.4002, allocations: 72.52 kB / 0.4958 GB, free: 52.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-05/0.4002, allocations: 32 kB / 0.4958 GB, free: 52.61 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002178/0.4024, allocations: 1.636 MB / 0.4974 GB, free: 50.97 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4024, allocations: 0 / 0.4974 GB, free: 50.97 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003797/0.4062, allocations: 0.8983 MB / 0.4983 GB, free: 50.07 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (96): * Single equations (assignments): 92 * Array equations: 3 * 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,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003795/0.4066, allocations: 180.8 kB / 0.4985 GB, free: 49.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004145/0.4107, allocations: 2.815 MB / 0.5012 GB, free: 47.08 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.4108, allocations: 4 kB / 0.5012 GB, free: 47.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008775/0.4116, allocations: 0.6596 MB / 0.5019 GB, free: 46.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001994/0.4136, allocations: 349.6 kB / 0.5022 GB, free: 46.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008201/0.4218, allocations: 6.052 MB / 0.5081 GB, free: 39.94 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00184/0.4237, allocations: 2.037 MB / 0.5101 GB, free: 37.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002716/0.4264, allocations: 1.396 MB / 0.5115 GB, free: 36.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004871/0.4269, allocations: 200.5 kB / 0.5117 GB, free: 36.29 MB / 378.7 MB Notification: Performance of SimCode: time 1.382e-06/0.4269, allocations: 0 / 0.5117 GB, free: 36.29 MB / 378.7 MB Notification: Performance of Templates: time 0.0447/0.4716, allocations: 26.19 MB / 0.5372 GB, free: 10.26 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.243914479040541]