Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.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.0009955/0.0009955, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001038/0.001038, allocations: 168.8 kB / 24.82 MB, free: 9.27 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9484/0.9484, allocations: 177.1 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2575/0.2575, allocations: 34.26 MB / 296.1 MB, free: 0.6484 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 378.5 MB, free: 2.359 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.496e-05/1.684e-05, allocations: 2.312 kB / 378.5 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.008257/0.008274, allocations: 11.52 MB / 390 MB, free: 6.777 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006381/0.01465, allocations: 3.835 MB / 393.9 MB, free: 2.93 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001081/0.01574, allocations: 71.75 kB / 393.9 MB, free: 2.859 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00153/0.01727, allocations: 1.385 MB / 395.3 MB, free: 1.469 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002342/0.01961, allocations: 1.84 MB / 397.2 MB, free: 15.62 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007311/0.02034, allocations: 0.5299 MB / 397.7 MB, free: 15.09 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002865/0.0232, allocations: 3.98 MB / 401.7 MB, free: 11.11 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001529/0.02473, allocations: 2.157 MB / 403.8 MB, free: 8.91 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001426/0.02616, allocations: 1.875 MB / 405.7 MB, free: 7.031 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001328/0.02749, allocations: 1.917 MB / 407.6 MB, free: 5.109 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002963/0.02778, allocations: 236 kB / 407.8 MB, free: 4.879 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009005/0.02868, allocations: 0.9086 MB / 408.8 MB, free: 3.969 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007817/0.02947, allocations: 1.683 MB / 410.4 MB, free: 2.281 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006123/0.03008, allocations: 0.9886 MB / 411.4 MB, free: 1.289 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002544/0.03262, allocations: 4.058 MB / 415.5 MB, free: 13.21 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.03263, allocations: 0 / 415.5 MB, free: 13.21 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.03263, allocations: 0 / 415.5 MB, free: 13.21 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.871e-05/0.03265, allocations: 0 / 415.5 MB, free: 13.21 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.003541/0.0362, allocations: 4.455 MB / 419.9 MB, free: 8.691 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.03624, allocations: 8.031 kB / 420 MB, free: 8.684 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00383/0.04007, allocations: 1.836 MB / 421.8 MB, free: 6.844 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00174/0.04181, allocations: 1.541 MB / 423.3 MB, free: 5.266 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.429e-05/0.0419, allocations: 197 kB / 423.5 MB, free: 5.07 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003184/0.04222, allocations: 244.2 kB / 423.8 MB, free: 4.832 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004547/0.04677, allocations: 4.787 MB / 428.5 MB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.795e-05/0.04681, allocations: 23.75 kB / 428.6 MB, free: 15.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000215/0.04703, allocations: 123.8 kB / 428.7 MB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001746/0.04877, allocations: 2.163 MB / 430.9 MB, free: 13.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004375/0.05315, allocations: 2.548 MB / 433.4 MB, free: 10.58 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1832/0.2363, allocations: 33.48 MB / 466.9 MB, free: 66.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003007/0.2393, allocations: 1.326 MB / 468.2 MB, free: 66.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005625/0.2399, allocations: 410.4 kB / 468.6 MB, free: 66.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005597/0.2455, allocations: 3.921 MB / 472.5 MB, free: 65.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.2455, allocations: 47.92 kB / 472.6 MB, free: 65.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=166): time 6.271e-06/0.2455, allocations: 6.719 kB / 472.6 MB, free: 65.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=167): time 0.007681/0.2532, allocations: 3.986 MB / 476.6 MB, free: 65.03 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.2532, allocations: 65.62 kB / 476.6 MB, free: 64.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002096/0.2553, allocations: 2.68 MB / 479.3 MB, free: 64.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.443e-05/0.2554, allocations: 45.92 kB / 479.4 MB, free: 64.47 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009662/0.2564, allocations: 3.069 MB / 482.4 MB, free: 62.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004072/0.2568, allocations: 0.6932 MB / 483.1 MB, free: 61.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00076/0.2575, allocations: 1.125 MB / 484.2 MB, free: 61.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.712e-05/0.2576, allocations: 0.5431 MB / 484.8 MB, free: 60.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007541/0.2584, allocations: 0.4928 MB / 485.3 MB, free: 60.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001811/0.2602, allocations: 5.015 MB / 490.3 MB, free: 54.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003826/0.264, allocations: 6.041 MB / 496.3 MB, free: 48.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.893e-05/0.2641, allocations: 30.19 kB / 496.4 MB, free: 48.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=678) (initialization): time 0.005634/0.2697, allocations: 4.006 MB / 0.4886 GB, free: 46.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.185e-05/0.2698, allocations: 54.81 kB / 0.4887 GB, free: 46.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001731/0.2699, allocations: 106.7 kB / 0.4888 GB, free: 46.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003726/0.2703, allocations: 178.9 kB / 0.489 GB, free: 46.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002159/0.2725, allocations: 1.106 MB / 0.4901 GB, free: 46.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009802/0.2735, allocations: 1.983 MB / 0.492 GB, free: 44.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002676/0.2761, allocations: 192.9 kB / 0.4922 GB, free: 44.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005944/0.2767, allocations: 271.4 kB / 0.4924 GB, free: 44.44 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.001399/0.2781, allocations: 0.5645 MB / 0.493 GB, free: 43.97 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004611/0.2786, allocations: 286.6 kB / 0.4933 GB, free: 43.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001297/0.2799, allocations: 0.9909 MB / 0.4942 GB, free: 43.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.471e-05/0.2799, allocations: 22.91 kB / 0.4942 GB, free: 43.44 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.2799, allocations: 0 / 0.4942 GB, free: 43.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.2799, allocations: 4.484 kB / 0.4942 GB, free: 43.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005569/0.2855, allocations: 4.331 MB / 0.4985 GB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.2855, allocations: 4.812 kB / 0.4985 GB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004837/0.286, allocations: 179.5 kB / 0.4987 GB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001502/0.2861, allocations: 53.17 kB / 0.4987 GB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.16e-05/0.2862, allocations: 33.41 kB / 0.4987 GB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006235/0.2868, allocations: 1.782 MB / 0.5005 GB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.2868, allocations: 5.344 kB / 0.5005 GB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/0.2886, allocations: 1.572 MB / 0.502 GB, free: 38.67 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004378/0.289, allocations: 229.9 kB / 0.5022 GB, free: 38.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/0.2892, allocations: 32.41 kB / 0.5023 GB, free: 38.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004039/0.2896, allocations: 23.31 kB / 0.5023 GB, free: 38.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.2897, allocations: 92.08 kB / 0.5024 GB, free: 38.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.514e-05/0.2897, allocations: 44.8 kB / 0.5024 GB, free: 38.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001114/0.2909, allocations: 1.052 MB / 0.5034 GB, free: 38.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2909, allocations: 0 / 0.5034 GB, free: 38.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003072/0.2939, allocations: 0.8654 MB / 0.5043 GB, free: 37.96 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.0003618/0.2943, allocations: 173.2 kB / 0.5045 GB, free: 37.83 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003038/0.2973, allocations: 2.32 MB / 0.5067 GB, free: 37.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.2973, allocations: 0 / 0.5067 GB, free: 37.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005431/0.2979, allocations: 0.6107 MB / 0.5073 GB, free: 36.74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.2991, allocations: 282.9 kB / 0.5076 GB, free: 36.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008109/0.3072, allocations: 7.007 MB / 0.5144 GB, free: 33.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008158/0.308, allocations: 1.16 MB / 0.5156 GB, free: 32.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001037/0.3091, allocations: 402 kB / 0.5159 GB, free: 32.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005572/0.3096, allocations: 467.4 kB / 0.5164 GB, free: 31.82 MB / 410.7 MB Notification: Performance of SimCode: time 1.863e-06/0.3096, allocations: 0 / 0.5164 GB, free: 31.82 MB / 410.7 MB Notification: Performance of Templates: time 0.03485/0.3445, allocations: 21.22 MB / 0.5371 GB, free: 15.16 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.167636682279408]