Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0008595/0.0008595, allocations: 91.62 kB / 21.44 MB, free: 3.102 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.000945/0.000945, allocations: 159.8 kB / 24.7 MB, free: 9.441 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.8654/0.8654, allocations: 177.1 MB / 205 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2278/0.2278, allocations: 32.79 MB / 294.2 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Joints.Revolute") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 440.8 MB, free: 3.754 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.912e-05/2.072e-05, allocations: 10.78 kB / 440.9 MB, free: 3.742 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.174/0.174, allocations: 10.73 MB / 451.6 MB, free: 40.88 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00417/0.1782, allocations: 3.756 MB / 455.3 MB, free: 38.64 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006276/0.1788, allocations: 67 kB / 455.4 MB, free: 38.63 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001224/0.1801, allocations: 1.352 MB / 456.8 MB, free: 38.08 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001647/0.1817, allocations: 1.823 MB / 458.6 MB, free: 37.3 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005332/0.1822, allocations: 0.5217 MB / 459.1 MB, free: 37.1 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001836/0.1841, allocations: 3.979 MB / 463.1 MB, free: 35.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001191/0.1853, allocations: 2.082 MB / 465.2 MB, free: 34.71 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001106/0.1864, allocations: 1.843 MB / 467 MB, free: 33.96 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001167/0.1875, allocations: 1.931 MB / 468.9 MB, free: 33.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000213/0.1878, allocations: 240.8 kB / 469.2 MB, free: 33.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008065/0.1886, allocations: 0.9095 MB / 470.1 MB, free: 33.3 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006274/0.1892, allocations: 1.67 MB / 471.8 MB, free: 32.61 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005099/0.1897, allocations: 1.001 MB / 472.8 MB, free: 32.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003098/0.1928, allocations: 6.167 MB / 478.9 MB, free: 29.97 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1928, allocations: 0 / 478.9 MB, free: 29.97 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1928, allocations: 0.6094 kB / 478.9 MB, free: 29.97 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.989e-05/0.1929, allocations: 3.406 kB / 478.9 MB, free: 29.97 MB / 410.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.004409/0.1973, allocations: 4.174 MB / 483.1 MB, free: 27.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.1973, allocations: 13.73 kB / 483.1 MB, free: 27.53 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005944/0.2032, allocations: 3.148 MB / 486.3 MB, free: 27.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002274/0.2055, allocations: 1.818 MB / 488.1 MB, free: 26.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.2056, allocations: 186.4 kB / 488.3 MB, free: 26.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003567/0.206, allocations: 258.8 kB / 488.5 MB, free: 26 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01022/0.2162, allocations: 10.49 MB / 499 MB, free: 21.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.802e-05/0.2163, allocations: 25.92 kB / 499 MB, free: 21.69 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002575/0.2165, allocations: 120 kB / 499.1 MB, free: 21.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002399/0.2189, allocations: 2.558 MB / 0.4899 GB, free: 20.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01019/0.2291, allocations: 9.903 MB / 0.4996 GB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02596/0.2551, allocations: 31.86 MB / 0.5307 GB, free: 12.65 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005337/0.2604, allocations: 4.146 MB / 0.5348 GB, free: 8.492 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001716/0.2621, allocations: 2.113 MB / 0.5368 GB, free: 6.383 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006142/0.2627, allocations: 0.5556 MB / 0.5374 GB, free: 5.828 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.2628, allocations: 52.56 kB / 0.5374 GB, free: 5.766 MB / 442.7 MB Notification: Performance of pre-optimization done (n=229): time 3.967e-06/0.2628, allocations: 0 / 0.5374 GB, free: 5.766 MB / 442.7 MB Notification: Performance of matching and sorting (n=235): time 0.0192/0.282, allocations: 14.34 MB / 0.5514 GB, free: 7.414 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.282, allocations: 73.41 kB / 0.5515 GB, free: 7.328 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002425/0.2844, allocations: 2.691 MB / 0.5541 GB, free: 4.605 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001074/0.2846, allocations: 57.69 kB / 0.5542 GB, free: 4.543 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001549/0.2861, allocations: 2.733 MB / 0.5569 GB, free: 1.781 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004933/0.2866, allocations: 0.8718 MB / 0.5577 GB, free: 0.9023 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008876/0.2875, allocations: 1.045 MB / 0.5587 GB, free: 15.84 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.2876, allocations: 361.9 kB / 0.5591 GB, free: 15.48 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001935/0.2895, allocations: 2.204 MB / 0.5612 GB, free: 13.27 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003389/0.2929, allocations: 5.067 MB / 0.5662 GB, free: 6.801 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006256/0.2992, allocations: 7.977 MB / 0.574 GB, free: 13.42 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.264e-05/0.2992, allocations: 28 kB / 0.574 GB, free: 13.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.008352/0.3076, allocations: 7.878 MB / 0.5817 GB, free: 5.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.198e-05/0.3076, allocations: 48 kB / 0.5817 GB, free: 5.453 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.915e-05/0.3077, allocations: 100.1 kB / 0.5818 GB, free: 5.355 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001241/0.3089, allocations: 0.7889 MB / 0.5826 GB, free: 4.562 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001961/0.3109, allocations: 1.185 MB / 0.5838 GB, free: 3.375 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004091/0.315, allocations: 4.378 MB / 0.588 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001911/0.3169, allocations: 323.6 kB / 0.5883 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002598/0.3171, allocations: 304 kB / 0.5886 GB, free: 14.29 MB / 0.4948 GB 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.002509/0.3196, allocations: 2.013 MB / 0.5906 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002854/0.3199, allocations: 262.2 kB / 0.5908 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004972/0.3249, allocations: 4.711 MB / 0.5954 GB, free: 7.266 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.67e-05/0.3249, allocations: 40 kB / 0.5955 GB, free: 7.227 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.3249, allocations: 4.875 kB / 0.5955 GB, free: 7.223 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/0.325, allocations: 11.95 kB / 0.5955 GB, free: 7.211 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009814/0.3348, allocations: 9.265 MB / 0.6046 GB, free: 13.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.136e-06/0.3348, allocations: 4 kB / 0.6046 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008128/0.3356, allocations: 363.4 kB / 0.6049 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001074/0.3367, allocations: 0.6566 MB / 0.6055 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.713e-05/0.3368, allocations: 51.97 kB / 0.6056 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003275/0.34, allocations: 3.768 MB / 0.6093 GB, free: 8.863 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.34, allocations: 11.69 kB / 0.6093 GB, free: 8.855 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006562/0.3466, allocations: 7.111 MB / 0.6162 GB, free: 1.629 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004981/0.3471, allocations: 246.3 kB / 0.6165 GB, free: 1.387 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001888/0.3473, allocations: 43.98 kB / 0.6165 GB, free: 1.344 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006939/0.348, allocations: 167.7 kB / 0.6167 GB, free: 1.18 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002051/0.3482, allocations: 136.9 kB / 0.6168 GB, free: 1.047 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.551e-05/0.3483, allocations: 68.06 kB / 0.6169 GB, free: 0.9805 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001657/0.3499, allocations: 1.532 MB / 0.6184 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4e-07/0.3499, allocations: 0 / 0.6184 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002927/0.3529, allocations: 0.9959 MB / 0.6193 GB, free: 14.44 MB / 0.5261 GB 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.0003964/0.3533, allocations: 190.1 kB / 0.6195 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005269/0.3585, allocations: 5.158 MB / 0.6245 GB, free: 9.102 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.3585, allocations: 0 / 0.6245 GB, free: 9.102 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001596/0.3601, allocations: 1.874 MB / 0.6264 GB, free: 7.215 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.3612, allocations: 274 kB / 0.6266 GB, free: 6.949 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1799/0.5411, allocations: 9.924 MB / 0.6363 GB, free: 156.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002248/0.5433, allocations: 2.629 MB / 0.6389 GB, free: 156.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001105/0.5444, allocations: 240.6 kB / 0.6391 GB, free: 156.2 MB / 0.5261 GB Notification: Performance of SimCode: time 2.965e-06/0.5444, allocations: 2.719 kB / 0.6391 GB, free: 156.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.06347/0.6079, allocations: 71.32 MB / 0.7088 GB, free: 120.9 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 7.9909552074968815]