Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.00234/0.00234, allocations: 88.23 kB / 20.21 MB, free: 4.227 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.002279/0.002279, allocations: 157.7 kB / 23.51 MB, free: 0.9219 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.44/1.44, allocations: 158.6 MB / 185.3 MB, free: 2.902 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.2177/0.2177, allocations: 32.37 MB / 270 MB, free: 14.79 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.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 346.9 MB, free: 9.805 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.061e-05/2.221e-05, allocations: 2.312 kB / 346.9 MB, free: 9.801 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.009668/0.00969, allocations: 11.07 MB / 358 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00889/0.01858, allocations: 3.793 MB / 361.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001989/0.02057, allocations: 67.75 kB / 361.9 MB, free: 10.8 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003721/0.02429, allocations: 1.374 MB / 363.2 MB, free: 9.426 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005139/0.02943, allocations: 1.898 MB / 365.1 MB, free: 7.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001436/0.03087, allocations: 0.5377 MB / 365.7 MB, free: 6.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005908/0.03677, allocations: 4.001 MB / 369.7 MB, free: 2.969 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003841/0.04061, allocations: 2.204 MB / 371.9 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003681/0.04429, allocations: 1.906 MB / 373.8 MB, free: 14.82 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003502/0.0478, allocations: 1.964 MB / 375.8 MB, free: 12.85 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007602/0.04856, allocations: 244 kB / 376 MB, free: 12.61 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002144/0.0507, allocations: 0.9164 MB / 376.9 MB, free: 11.69 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002001/0.0527, allocations: 1.745 MB / 378.7 MB, free: 9.941 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001637/0.05434, allocations: 1.043 MB / 379.7 MB, free: 8.895 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008716/0.06305, allocations: 6.357 MB / 386.1 MB, free: 2.516 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.06306, allocations: 0 / 386.1 MB, free: 2.516 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.06306, allocations: 0 / 386.1 MB, free: 2.516 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001363/0.0632, allocations: 0 / 386.1 MB, free: 2.516 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: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.009296/0.07249, allocations: 4.283 MB / 390.3 MB, free: 14.17 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.07253, allocations: 12.03 kB / 390.4 MB, free: 14.16 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01307/0.0856, allocations: 3.766 MB / 394.1 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004871/0.09047, allocations: 1.917 MB / 396 MB, free: 8.434 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002403/0.09071, allocations: 193.2 kB / 396.2 MB, free: 8.242 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009097/0.09162, allocations: 256.1 kB / 396.5 MB, free: 7.992 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02005/0.1117, allocations: 10.68 MB / 407.2 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.697e-05/0.1118, allocations: 39.64 kB / 407.2 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004217/0.1122, allocations: 123.8 kB / 407.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005161/0.1173, allocations: 2.631 MB / 409.9 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02121/0.1386, allocations: 9.982 MB / 419.9 MB, free: 44 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1728/0.3113, allocations: 32.68 MB / 452.6 MB, free: 68.35 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00801/0.3194, allocations: 4.176 MB / 456.8 MB, free: 67.64 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002465/0.3218, allocations: 2.113 MB / 458.9 MB, free: 66.89 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009629/0.3228, allocations: 0.5686 MB / 459.5 MB, free: 66.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.3228, allocations: 55.72 kB / 459.5 MB, free: 66.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=229): time 4.459e-06/0.3228, allocations: 1.156 kB / 459.5 MB, free: 66.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=235): time 0.0301/0.3529, allocations: 14.46 MB / 474 MB, free: 59.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.353, allocations: 76.12 kB / 474.1 MB, free: 59.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00269/0.3557, allocations: 2.776 MB / 476.8 MB, free: 56.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002329/0.3559, allocations: 56.59 kB / 476.9 MB, free: 56.69 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009005/0.3568, allocations: 2.806 MB / 479.7 MB, free: 53.9 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005731/0.3574, allocations: 0.8728 MB / 480.6 MB, free: 53.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001054/0.3584, allocations: 1.048 MB / 481.6 MB, free: 51.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.82e-05/0.3585, allocations: 357.9 kB / 482 MB, free: 51.63 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002314/0.3608, allocations: 2.216 MB / 484.2 MB, free: 49.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003259/0.3641, allocations: 5.139 MB / 489.3 MB, free: 42.85 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007049/0.3711, allocations: 8.06 MB / 497.4 MB, free: 33.37 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.291e-05/0.3712, allocations: 32 kB / 497.4 MB, free: 33.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.01284/0.3841, allocations: 8.224 MB / 0.4938 GB, free: 25.1 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.592e-05/0.3841, allocations: 48 kB / 0.4938 GB, free: 25.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001031/0.3842, allocations: 105.6 kB / 0.4939 GB, free: 24.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00216/0.3864, allocations: 0.801 MB / 0.4947 GB, free: 24.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00385/0.3902, allocations: 1.206 MB / 0.4959 GB, free: 22.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004694/0.3949, allocations: 4.392 MB / 0.5002 GB, free: 18.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003432/0.3984, allocations: 331.2 kB / 0.5005 GB, free: 18.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005373/0.3989, allocations: 304 kB / 0.5008 GB, free: 17.83 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 463 * Number of states: 0 () * Number of discrete variables: 27 (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 (644): * Single equations (assignments): 637 * 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.002456/0.4014, allocations: 2.051 MB / 0.5028 GB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005353/0.4019, allocations: 321.5 kB / 0.5031 GB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00629/0.4082, allocations: 4.723 MB / 0.5077 GB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.645e-05/0.4082, allocations: 43.52 kB / 0.5077 GB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.4082, allocations: 7.938 kB / 0.5078 GB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/0.4082, allocations: 11.95 kB / 0.5078 GB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.013/0.4212, allocations: 9.327 MB / 0.5169 GB, free: 1.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.296e-05/0.4213, allocations: 8 kB / 0.5169 GB, free: 1.223 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001343/0.4226, allocations: 359.5 kB / 0.5172 GB, free: 0.8711 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001832/0.4244, allocations: 0.6606 MB / 0.5179 GB, free: 212 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001397/0.4246, allocations: 43.98 kB / 0.5179 GB, free: 168 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0058/0.4304, allocations: 3.786 MB / 0.5216 GB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.421e-05/0.4304, allocations: 15.88 kB / 0.5216 GB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01252/0.4429, allocations: 7.173 MB / 0.5286 GB, free: 4.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001824/0.4447, allocations: 0.584 MB / 0.5292 GB, free: 4.395 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004041/0.4451, allocations: 47.81 kB / 0.5292 GB, free: 4.352 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001403/0.4465, allocations: 171.7 kB / 0.5294 GB, free: 4.184 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003888/0.4469, allocations: 144.9 kB / 0.5295 GB, free: 4.043 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001775/0.4471, allocations: 63.98 kB / 0.5296 GB, free: 3.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002664/0.4498, allocations: 1.592 MB / 0.5312 GB, free: 2.375 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4498, allocations: 0 / 0.5312 GB, free: 2.375 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004633/0.4544, allocations: 1.031 MB / 0.5322 GB, free: 1.348 MB / 378.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.0006138/0.455, allocations: 202.3 kB / 0.5324 GB, free: 1.141 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.009279/0.4643, allocations: 5.191 MB / 0.5374 GB, free: 11.96 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/0.4643, allocations: 0 / 0.5374 GB, free: 11.96 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003493/0.4678, allocations: 1.872 MB / 0.5393 GB, free: 10.08 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002251/0.47, allocations: 289 kB / 0.5395 GB, free: 9.809 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01807/0.4881, allocations: 9.807 MB / 0.5491 GB, free: 15.85 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004089/0.4922, allocations: 2.686 MB / 0.5517 GB, free: 13.14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004895/0.4971, allocations: 1.952 MB / 0.5536 GB, free: 11.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008023/0.4979, allocations: 200.5 kB / 0.5538 GB, free: 10.98 MB / 410.7 MB Notification: Performance of SimCode: time 1.403e-06/0.4979, allocations: 0 / 0.5538 GB, free: 10.98 MB / 410.7 MB Notification: Performance of Templates: time 0.05772/0.5556, allocations: 25.55 MB / 0.5788 GB, free: 1.598 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.57296837400645]