Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001952/0.001952, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002121/0.002121, allocations: 165.3 kB / 24.27 MB, free: 156 kB / 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 1.559/1.559, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.3428/0.3428, allocations: 32.8 MB / 293.9 MB, free: 1.211 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.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.345e-06/2.345e-06, allocations: 0 / 375.3 MB, free: 4.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.45e-05/3.684e-05, allocations: 5.688 kB / 375.3 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.02526/0.02529, allocations: 9.88 MB / 385.2 MB, free: 11.05 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01243/0.03772, allocations: 3.709 MB / 388.9 MB, free: 7.332 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001601/0.03933, allocations: 67.62 kB / 388.9 MB, free: 7.266 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004912/0.04424, allocations: 2.067 MB / 391 MB, free: 5.191 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004692/0.04893, allocations: 1.75 MB / 392.7 MB, free: 3.434 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001632/0.05056, allocations: 0.6548 MB / 393.4 MB, free: 2.777 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005887/0.05645, allocations: 3.75 MB / 397.2 MB, free: 15.02 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00424/0.06069, allocations: 2.466 MB / 399.6 MB, free: 12.5 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003779/0.06447, allocations: 1.906 MB / 401.5 MB, free: 10.59 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003532/0.068, allocations: 1.859 MB / 403.4 MB, free: 8.727 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006165/0.06862, allocations: 260 kB / 403.6 MB, free: 8.473 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002531/0.07115, allocations: 0.9749 MB / 404.6 MB, free: 7.496 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001962/0.07311, allocations: 1.679 MB / 406.3 MB, free: 5.812 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001656/0.07476, allocations: 1.04 MB / 407.3 MB, free: 4.77 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008623/0.08339, allocations: 5.829 MB / 413.2 MB, free: 14.92 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.08339, allocations: 0 / 413.2 MB, free: 14.92 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.08339, allocations: 0 / 413.2 MB, free: 14.92 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001424/0.08354, allocations: 4 kB / 413.2 MB, free: 14.92 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.01001/0.09355, allocations: 4.738 MB / 417.9 MB, free: 10.12 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.09359, allocations: 8.031 kB / 417.9 MB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007845/0.1014, allocations: 2.191 MB / 420.1 MB, free: 7.914 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005169/0.1066, allocations: 1.734 MB / 421.8 MB, free: 6.133 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002164/0.1068, allocations: 193.2 kB / 422 MB, free: 5.941 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006125/0.1074, allocations: 260.2 kB / 422.3 MB, free: 5.688 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01302/0.1205, allocations: 5.672 MB / 427.9 MB, free: 15.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001249/0.1206, allocations: 35.64 kB / 428 MB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003674/0.1209, allocations: 127.9 kB / 428.1 MB, free: 14.94 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003365/0.1243, allocations: 1.703 MB / 429.8 MB, free: 13.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01102/0.1353, allocations: 3.038 MB / 432.8 MB, free: 10.19 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1981/0.3334, allocations: 41.71 MB / 474.6 MB, free: 64.69 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005812/0.3392, allocations: 1.678 MB / 476.2 MB, free: 64.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009108/0.3401, allocations: 0.51 MB / 476.7 MB, free: 64.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005609/0.3457, allocations: 3.223 MB / 480 MB, free: 62.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.3458, allocations: 49.45 kB / 480 MB, free: 62.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=121): time 3.396e-06/0.3458, allocations: 0 / 480 MB, free: 62.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=129): time 0.02407/0.3698, allocations: 8.646 MB / 488.7 MB, free: 59.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/0.3699, allocations: 170.7 kB / 488.8 MB, free: 58.97 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004665/0.3745, allocations: 3.97 MB / 492.8 MB, free: 57.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002544/0.3748, allocations: 43.67 kB / 492.8 MB, free: 57.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001713/0.3765, allocations: 3.198 MB / 496 MB, free: 54.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000536/0.3771, allocations: 0.5848 MB / 496.6 MB, free: 54.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001486/0.3785, allocations: 1.363 MB / 498 MB, free: 53.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.18e-05/0.3786, allocations: 481.1 kB / 498.5 MB, free: 53.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001607/0.3802, allocations: 0.6091 MB / 499.1 MB, free: 53.13 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003745/0.384, allocations: 5.876 MB / 0.4931 GB, free: 46.01 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006497/0.3905, allocations: 7.109 MB / 0.5001 GB, free: 38.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002446/0.3907, allocations: 35.53 kB / 0.5001 GB, free: 38.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.009833/0.4006, allocations: 4.772 MB / 0.5047 GB, free: 36.24 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.932e-05/0.4006, allocations: 55.09 kB / 0.5048 GB, free: 36.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001067/0.4007, allocations: 121.9 kB / 0.5049 GB, free: 36.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008018/0.4015, allocations: 342.7 kB / 0.5052 GB, free: 36.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003595/0.4051, allocations: 1.254 MB / 0.5065 GB, free: 36.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00186/0.407, allocations: 2.478 MB / 0.5089 GB, free: 33.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003887/0.4109, allocations: 320.5 kB / 0.5092 GB, free: 33.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006284/0.4115, allocations: 338.1 kB / 0.5095 GB, free: 33.76 MB / 410.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.001466/0.413, allocations: 0.6918 MB / 0.5102 GB, free: 33.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005421/0.4135, allocations: 315.7 kB / 0.5105 GB, free: 33.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003401/0.4169, allocations: 1.359 MB / 0.5118 GB, free: 32.65 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.21e-05/0.4169, allocations: 18.84 kB / 0.5118 GB, free: 32.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.417, allocations: 7.594 kB / 0.5118 GB, free: 32.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/0.417, allocations: 6.891 kB / 0.5118 GB, free: 32.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01023/0.4272, allocations: 4.986 MB / 0.5167 GB, free: 30.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/0.4272, allocations: 4.062 kB / 0.5167 GB, free: 30.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007776/0.428, allocations: 178.6 kB / 0.5169 GB, free: 30.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00191/0.4299, allocations: 453 kB / 0.5173 GB, free: 30.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-05/0.43, allocations: 21.22 kB / 0.5173 GB, free: 30.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003693/0.4337, allocations: 3.018 MB / 0.5203 GB, free: 27.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.4337, allocations: 0 / 0.5203 GB, free: 27.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004674/0.4384, allocations: 2.405 MB / 0.5226 GB, free: 24.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008005/0.4392, allocations: 280.7 kB / 0.5229 GB, free: 24.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003096/0.4395, allocations: 16.75 kB / 0.5229 GB, free: 24.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001187/0.4407, allocations: 102.1 kB / 0.523 GB, free: 24.65 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002115/0.4409, allocations: 70.81 kB / 0.5231 GB, free: 24.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.558e-05/0.441, allocations: 37.5 kB / 0.5231 GB, free: 24.58 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002302/0.4433, allocations: 1.611 MB / 0.5247 GB, free: 23.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4433, allocations: 0 / 0.5247 GB, free: 23.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004093/0.4474, allocations: 0.8761 MB / 0.5256 GB, free: 22.34 MB / 410.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.0003714/0.4477, allocations: 164.8 kB / 0.5257 GB, free: 22.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005158/0.4529, allocations: 2.828 MB / 0.5285 GB, free: 19.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.4529, allocations: 0 / 0.5285 GB, free: 19.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001071/0.454, allocations: 0.6824 MB / 0.5291 GB, free: 19 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002212/0.4562, allocations: 345.2 kB / 0.5295 GB, free: 18.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/0.4669, allocations: 6.026 MB / 0.5354 GB, free: 13.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001962/0.4688, allocations: 2.03 MB / 0.5373 GB, free: 11.67 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002996/0.4718, allocations: 1.398 MB / 0.5387 GB, free: 10.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005899/0.4724, allocations: 195.3 kB / 0.5389 GB, free: 10.68 MB / 410.7 MB Notification: Performance of SimCode: time 2.064e-06/0.4724, allocations: 0 / 0.5389 GB, free: 10.68 MB / 410.7 MB Notification: Performance of Templates: time 0.05302/0.5254, allocations: 25.79 MB / 0.5641 GB, free: 1.621 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.709887415985577]