Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001453/0.001453, allocations: 88.23 kB / 20.2 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.001614/0.001614, allocations: 157.6 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.492/1.492, allocations: 158.6 MB / 185.3 MB, free: 2.879 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.2187/0.2187, allocations: 32.36 MB / 270 MB, free: 14.77 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.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 346.9 MB, free: 9.789 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.735e-05/2.899e-05, allocations: 6.25 kB / 347 MB, free: 9.781 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.007763/0.007792, allocations: 9.085 MB / 356 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007959/0.01575, allocations: 3.593 MB / 359.6 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001326/0.01708, allocations: 67.69 kB / 359.7 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004367/0.02144, allocations: 2.028 MB / 361.7 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004396/0.02584, allocations: 1.769 MB / 363.5 MB, free: 9.168 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.02738, allocations: 0.6664 MB / 364.2 MB, free: 8.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005229/0.0326, allocations: 3.712 MB / 367.9 MB, free: 4.781 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003643/0.03625, allocations: 2.454 MB / 370.3 MB, free: 2.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003137/0.03938, allocations: 1.914 MB / 372.2 MB, free: 360 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002925/0.04231, allocations: 1.824 MB / 374.1 MB, free: 14.52 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005113/0.04282, allocations: 260 kB / 374.3 MB, free: 14.27 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002119/0.04494, allocations: 0.9789 MB / 375.3 MB, free: 13.29 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002199/0.04714, allocations: 1.691 MB / 377 MB, free: 11.59 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001586/0.04872, allocations: 1.044 MB / 378 MB, free: 10.55 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008275/0.057, allocations: 5.875 MB / 383.9 MB, free: 4.652 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.152e-05/0.05701, allocations: 4 kB / 383.9 MB, free: 4.648 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.05701, allocations: 0 / 383.9 MB, free: 4.648 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001706/0.05718, allocations: 0 / 383.9 MB, free: 4.648 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.009439/0.06662, allocations: 4.073 MB / 388 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.06667, allocations: 8.031 kB / 388 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007528/0.07419, allocations: 2.248 MB / 390.2 MB, free: 14.26 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004958/0.07915, allocations: 1.934 MB / 392.2 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002047/0.07936, allocations: 189.2 kB / 392.4 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006744/0.08003, allocations: 252.2 kB / 392.6 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02126/0.1013, allocations: 8.491 MB / 401.1 MB, free: 2.672 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001815/0.1015, allocations: 39.64 kB / 401.1 MB, free: 2.633 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009711/0.1024, allocations: 123.9 kB / 401.3 MB, free: 2.512 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00467/0.1071, allocations: 1.699 MB / 403 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02143/0.1285, allocations: 7.082 MB / 410 MB, free: 9.715 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05012/0.1787, allocations: 32.31 MB / 442.3 MB, free: 8.422 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008143/0.1868, allocations: 2.816 MB / 445.2 MB, free: 5.559 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002322/0.1891, allocations: 1.357 MB / 446.5 MB, free: 4.188 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007495/0.1966, allocations: 3.462 MB / 450 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.091e-05/0.1967, allocations: 51.16 kB / 450 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of pre-optimization done (n=121): time 1.224e-05/0.1967, allocations: 0 / 450 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of matching and sorting (n=129): time 0.1513/0.348, allocations: 11.94 MB / 462 MB, free: 102.6 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.3481, allocations: 170.7 kB / 462.1 MB, free: 102.4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003228/0.3513, allocations: 3.571 MB / 465.7 MB, free: 101 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001116/0.3514, allocations: 44.67 kB / 465.8 MB, free: 100.9 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009699/0.3524, allocations: 2.853 MB / 468.6 MB, free: 98.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003444/0.3527, allocations: 0.5383 MB / 469.1 MB, free: 98.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009783/0.3537, allocations: 1.07 MB / 470.2 MB, free: 97.08 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.771e-05/0.3537, allocations: 301.1 kB / 470.5 MB, free: 96.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001735/0.3555, allocations: 1.705 MB / 472.2 MB, free: 95.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002577/0.358, allocations: 5.153 MB / 477.4 MB, free: 88.37 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005336/0.3634, allocations: 7.418 MB / 484.8 MB, free: 79.28 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.16e-05/0.3635, allocations: 36 kB / 484.8 MB, free: 79.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.008707/0.3722, allocations: 6.997 MB / 491.8 MB, free: 72.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.026e-05/0.3722, allocations: 63.98 kB / 491.9 MB, free: 72.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.183e-05/0.3723, allocations: 120 kB / 492 MB, free: 72.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007377/0.373, allocations: 412.7 kB / 492.4 MB, free: 71.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003225/0.3763, allocations: 1.244 MB / 493.6 MB, free: 70.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001916/0.3782, allocations: 2.362 MB / 496 MB, free: 67.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003499/0.3817, allocations: 323.6 kB / 496.3 MB, free: 67.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004508/0.3821, allocations: 332 kB / 496.6 MB, free: 67.31 MB / 378.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.00197/0.3841, allocations: 1.791 MB / 498.4 MB, free: 65.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005709/0.3847, allocations: 320.2 kB / 498.7 MB, free: 65.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003728/0.3884, allocations: 2.324 MB / 0.4893 GB, free: 62.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-05/0.3884, allocations: 12 kB / 0.4893 GB, free: 62.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.3884, allocations: 4 kB / 0.4893 GB, free: 62.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.3884, allocations: 11.97 kB / 0.4894 GB, free: 62.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008304/0.3968, allocations: 5.185 MB / 0.4944 GB, free: 57.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/0.3968, allocations: 0 / 0.4944 GB, free: 57.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007639/0.3975, allocations: 171.7 kB / 0.4946 GB, free: 57.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00201/0.3995, allocations: 0.7381 MB / 0.4953 GB, free: 56.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.992e-05/0.3996, allocations: 21.25 kB / 0.4953 GB, free: 56.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004647/0.4043, allocations: 4.705 MB / 0.4999 GB, free: 51.9 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.4043, allocations: 11.94 kB / 0.4999 GB, free: 51.89 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005509/0.4098, allocations: 4.321 MB / 0.5041 GB, free: 47.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/0.4109, allocations: 461.8 kB / 0.5046 GB, free: 47.08 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003443/0.4112, allocations: 20 kB / 0.5046 GB, free: 47.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/0.4124, allocations: 103.8 kB / 0.5047 GB, free: 46.96 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001907/0.4126, allocations: 76.39 kB / 0.5048 GB, free: 46.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.623e-05/0.4127, allocations: 42.81 kB / 0.5048 GB, free: 46.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002281/0.415, allocations: 2.069 MB / 0.5068 GB, free: 44.78 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.415, allocations: 0 / 0.5068 GB, free: 44.78 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003726/0.4187, allocations: 0.8945 MB / 0.5077 GB, free: 43.88 MB / 378.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.0003636/0.419, allocations: 164.5 kB / 0.5079 GB, free: 43.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004601/0.4236, allocations: 3.901 MB / 0.5117 GB, free: 39.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.4237, allocations: 8.062 kB / 0.5117 GB, free: 39.83 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.4247, allocations: 1.032 MB / 0.5127 GB, free: 38.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001915/0.4266, allocations: 354.6 kB / 0.513 GB, free: 38.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009648/0.4363, allocations: 7.432 MB / 0.5203 GB, free: 30.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002036/0.4383, allocations: 2.247 MB / 0.5225 GB, free: 28.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003141/0.4415, allocations: 1.615 MB / 0.5241 GB, free: 27.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005595/0.442, allocations: 200.5 kB / 0.5243 GB, free: 26.88 MB / 378.7 MB Notification: Performance of SimCode: time 1.172e-06/0.442, allocations: 0 / 0.5243 GB, free: 26.88 MB / 378.7 MB Notification: Performance of Templates: time 0.04199/0.484, allocations: 26.23 MB / 0.5499 GB, free: 0.8203 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.507054978981614]