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.000917/0.000917, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.0009235/0.0009235, allocations: 156.5 kB / 24.55 MB, free: 20 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 0.9212/0.9212, allocations: 177 MB / 204.8 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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.2641/0.2641, allocations: 34.87 MB / 296.3 MB, free: 0.5391 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.353e-06/1.353e-06, allocations: 0 / 378.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.361e-05/2.497e-05, allocations: 2.312 kB / 378.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.0128/0.01282, allocations: 11.82 MB / 390.6 MB, free: 6.199 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006948/0.01977, allocations: 3.874 MB / 394.5 MB, free: 2.316 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001247/0.02102, allocations: 67.75 kB / 394.5 MB, free: 2.25 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001826/0.02284, allocations: 1.397 MB / 395.9 MB, free: 0.8477 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003091/0.02593, allocations: 1.847 MB / 397.8 MB, free: 14.99 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008094/0.02674, allocations: 0.5222 MB / 398.3 MB, free: 14.47 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003272/0.03001, allocations: 3.977 MB / 402.3 MB, free: 10.48 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002727/0.03274, allocations: 2.153 MB / 404.4 MB, free: 8.289 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002943/0.03568, allocations: 1.882 MB / 406.3 MB, free: 6.402 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002711/0.03839, allocations: 1.913 MB / 408.2 MB, free: 4.484 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005616/0.03896, allocations: 240 kB / 408.5 MB, free: 4.25 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001513/0.04047, allocations: 0.9048 MB / 409.4 MB, free: 3.344 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001261/0.04173, allocations: 1.675 MB / 411 MB, free: 1.664 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001297/0.04303, allocations: 1 MB / 412 MB, free: 0.6602 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004775/0.0478, allocations: 4.05 MB / 416.1 MB, free: 12.59 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.04781, allocations: 4 kB / 416.1 MB, free: 12.59 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.04781, allocations: 0 / 416.1 MB, free: 12.59 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001537/0.04797, allocations: 0 / 416.1 MB, free: 12.59 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.006588/0.05455, allocations: 4.596 MB / 420.7 MB, free: 7.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.05459, allocations: 12.03 kB / 420.7 MB, free: 7.918 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008296/0.06289, allocations: 3.629 MB / 424.3 MB, free: 4.281 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002631/0.06552, allocations: 1.725 MB / 426.1 MB, free: 2.523 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001282/0.06565, allocations: 193 kB / 426.2 MB, free: 2.332 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004277/0.06608, allocations: 244.2 kB / 426.5 MB, free: 2.094 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008713/0.07479, allocations: 5.335 MB / 431.8 MB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-05/0.07486, allocations: 27.73 kB / 431.8 MB, free: 12.15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003095/0.07517, allocations: 115.8 kB / 432 MB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003036/0.07821, allocations: 2.495 MB / 434.5 MB, free: 9.543 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01048/0.08869, allocations: 3.237 MB / 437.7 MB, free: 6.293 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1735/0.2622, allocations: 34.35 MB / 472 MB, free: 66.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003166/0.2654, allocations: 1.462 MB / 473.5 MB, free: 66.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006847/0.266, allocations: 0.4919 MB / 474 MB, free: 65.92 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005587/0.2716, allocations: 4.208 MB / 478.2 MB, free: 64.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.2717, allocations: 48.08 kB / 478.3 MB, free: 64.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=166): time 4.709e-06/0.2717, allocations: 0 / 478.3 MB, free: 64.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=167): time 0.008436/0.2801, allocations: 4.774 MB / 483 MB, free: 62.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.2801, allocations: 68.12 kB / 483.1 MB, free: 62.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002292/0.2824, allocations: 2.697 MB / 485.8 MB, free: 61.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.896e-05/0.2825, allocations: 44.8 kB / 485.8 MB, free: 61.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001062/0.2835, allocations: 3.05 MB / 488.9 MB, free: 59.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003584/0.2839, allocations: 0.6905 MB / 489.6 MB, free: 59.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008103/0.2847, allocations: 1.105 MB / 490.7 MB, free: 58.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.383e-05/0.2848, allocations: 0.5392 MB / 491.2 MB, free: 57.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008617/0.2857, allocations: 0.5491 MB / 491.8 MB, free: 57.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002291/0.288, allocations: 5.054 MB / 496.8 MB, free: 51.74 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003951/0.2919, allocations: 6.186 MB / 0.4912 GB, free: 45.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.147e-05/0.292, allocations: 30.59 kB / 0.4912 GB, free: 45.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=678) (initialization): time 0.006149/0.2981, allocations: 4.322 MB / 0.4955 GB, free: 43.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.274e-05/0.2982, allocations: 50.41 kB / 0.4955 GB, free: 43.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001325/0.2983, allocations: 107.3 kB / 0.4956 GB, free: 43.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003767/0.2987, allocations: 183.4 kB / 0.4958 GB, free: 43.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002051/0.3008, allocations: 1.17 MB / 0.4969 GB, free: 43.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009163/0.3017, allocations: 2.014 MB / 0.4989 GB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002058/0.3037, allocations: 310.4 kB / 0.4992 GB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003701/0.3041, allocations: 314.4 kB / 0.4995 GB, free: 41.34 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 488 * 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 (628): * Single equations (assignments): 621 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001454/0.3056, allocations: 0.5597 MB / 0.5 GB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004093/0.306, allocations: 293.8 kB / 0.5003 GB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001338/0.3073, allocations: 1.084 MB / 0.5014 GB, free: 40.31 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.002e-05/0.3073, allocations: 22.05 kB / 0.5014 GB, free: 40.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.3073, allocations: 0 / 0.5014 GB, free: 40.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.3073, allocations: 5.484 kB / 0.5014 GB, free: 40.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005785/0.3131, allocations: 4.552 MB / 0.5059 GB, free: 38.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.3131, allocations: 7.938 kB / 0.5059 GB, free: 38.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000539/0.3137, allocations: 252.2 kB / 0.5061 GB, free: 38.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001421/0.3138, allocations: 47.81 kB / 0.5061 GB, free: 38.26 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.347e-05/0.3139, allocations: 34.66 kB / 0.5062 GB, free: 38.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006474/0.3145, allocations: 1.817 MB / 0.508 GB, free: 36.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.3145, allocations: 10.31 kB / 0.508 GB, free: 36.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001779/0.3163, allocations: 1.716 MB / 0.5096 GB, free: 35.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003082/0.3166, allocations: 236.8 kB / 0.5099 GB, free: 35.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001737/0.3168, allocations: 28.8 kB / 0.5099 GB, free: 35.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004838/0.3173, allocations: 116 kB / 0.51 GB, free: 35.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.3174, allocations: 94.59 kB / 0.5101 GB, free: 35.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.404e-05/0.3175, allocations: 57.62 kB / 0.5102 GB, free: 35.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001012/0.3185, allocations: 1.128 MB / 0.5113 GB, free: 34.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3185, allocations: 0 / 0.5113 GB, free: 34.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002689/0.3212, allocations: 0.8629 MB / 0.5121 GB, free: 34.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (120): * Single equations (assignments): 113 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003667/0.3215, allocations: 174.5 kB / 0.5123 GB, free: 34.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003488/0.325, allocations: 2.493 MB / 0.5147 GB, free: 32.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/0.325, allocations: 0 / 0.5147 GB, free: 32.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007661/0.3258, allocations: 0.6541 MB / 0.5153 GB, free: 32.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.3269, allocations: 276.8 kB / 0.5156 GB, free: 32.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/0.3371, allocations: 7.038 MB / 0.5225 GB, free: 25.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001197/0.3383, allocations: 1.165 MB / 0.5236 GB, free: 24.55 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00236/0.3406, allocations: 1.52 MB / 0.5251 GB, free: 23.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003557/0.341, allocations: 196 kB / 0.5253 GB, free: 23.52 MB / 410.7 MB Notification: Performance of SimCode: time 1.643e-06/0.341, allocations: 0 / 0.5253 GB, free: 23.52 MB / 410.7 MB Notification: Performance of Templates: time 0.02906/0.3701, allocations: 19.67 MB / 0.5445 GB, free: 6.863 MB / 410.7 MB " [Timeout remaining time 660] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.040785292163491]