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.001527/0.001527, allocations: 92.31 kB / 20.96 MB, free: 3.453 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.001635/0.001635, allocations: 165.3 kB / 24.27 MB, free: 152 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.488/1.488, allocations: 177.1 MB / 204.6 MB, free: 5.598 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.3404/0.3404, allocations: 32.79 MB / 293.9 MB, free: 1.223 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 1.433e-06/1.433e-06, allocations: 0 / 375.3 MB, free: 5.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.949e-05/3.092e-05, allocations: 5.406 kB / 375.3 MB, free: 5.008 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01337/0.0134, allocations: 9.046 MB / 384.3 MB, free: 11.91 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009547/0.02295, allocations: 3.611 MB / 387.9 MB, free: 8.285 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001647/0.0246, allocations: 71.62 kB / 388 MB, free: 8.215 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004639/0.02923, allocations: 2.009 MB / 390 MB, free: 6.199 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005028/0.03426, allocations: 1.75 MB / 391.7 MB, free: 4.441 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001838/0.0361, allocations: 0.6587 MB / 392.4 MB, free: 3.781 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.006453/0.04255, allocations: 3.75 MB / 396.2 MB, free: 24 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004142/0.0467, allocations: 2.45 MB / 398.6 MB, free: 13.52 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003663/0.05036, allocations: 1.894 MB / 400.5 MB, free: 11.62 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003297/0.05365, allocations: 1.82 MB / 402.3 MB, free: 9.797 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005596/0.05421, allocations: 260 kB / 402.6 MB, free: 9.543 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002185/0.0564, allocations: 0.9711 MB / 403.5 MB, free: 8.57 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001922/0.05832, allocations: 1.667 MB / 405.2 MB, free: 6.898 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001648/0.05997, allocations: 1.032 MB / 406.2 MB, free: 5.863 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008625/0.06859, allocations: 5.813 MB / 412.1 MB, free: 32 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.0686, allocations: 0 / 412.1 MB, free: 32 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.0686, allocations: 0 / 412.1 MB, free: 32 kB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001831/0.06879, allocations: 0 / 412.1 MB, free: 32 kB / 378.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.01014/0.07893, allocations: 4.053 MB / 416.1 MB, free: 11.92 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.07898, allocations: 8.031 kB / 416.1 MB, free: 11.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007661/0.08664, allocations: 2.249 MB / 418.4 MB, free: 9.66 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0044/0.09104, allocations: 1.872 MB / 420.2 MB, free: 7.742 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002034/0.09125, allocations: 197.2 kB / 420.4 MB, free: 7.547 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006121/0.09186, allocations: 256.2 kB / 420.7 MB, free: 7.297 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01719/0.109, allocations: 8.498 MB / 429.2 MB, free: 14.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001106/0.1092, allocations: 39.64 kB / 429.2 MB, free: 14.08 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003779/0.1095, allocations: 127.9 kB / 429.3 MB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00328/0.1128, allocations: 1.695 MB / 431 MB, free: 12.26 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01575/0.1286, allocations: 7.082 MB / 438.1 MB, free: 5.164 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2096/0.3381, allocations: 32.29 MB / 470.4 MB, free: 75.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006582/0.3447, allocations: 2.831 MB / 473.2 MB, free: 74.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00153/0.3463, allocations: 1.36 MB / 474.6 MB, free: 73.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005464/0.3517, allocations: 3.47 MB / 478.1 MB, free: 72.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.3517, allocations: 45.69 kB / 478.1 MB, free: 71.97 MB / 410.7 MB Notification: Performance of pre-optimization done (n=121): time 3.567e-06/0.3518, allocations: 0.9688 kB / 478.1 MB, free: 71.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=129): time 0.02683/0.3786, allocations: 11.94 MB / 490.1 MB, free: 67.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.698e-05/0.3787, allocations: 168.8 kB / 490.2 MB, free: 67.47 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004423/0.3831, allocations: 3.514 MB / 493.7 MB, free: 66.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002149/0.3833, allocations: 42.05 kB / 493.8 MB, free: 66.17 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001345/0.3846, allocations: 2.85 MB / 496.6 MB, free: 64.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005669/0.3852, allocations: 0.5332 MB / 497.2 MB, free: 63.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001241/0.3865, allocations: 1.07 MB / 498.2 MB, free: 63.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.587e-05/0.3865, allocations: 310.1 kB / 498.5 MB, free: 62.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002394/0.3889, allocations: 1.709 MB / 0.4885 GB, free: 62.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003495/0.3924, allocations: 5.16 MB / 0.4936 GB, free: 57.03 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006041/0.3984, allocations: 7.418 MB / 0.5008 GB, free: 50.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.895e-05/0.3985, allocations: 36.03 kB / 0.5008 GB, free: 50.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01031/0.4088, allocations: 7.001 MB / 0.5077 GB, free: 46.78 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.591e-05/0.4089, allocations: 65.5 kB / 0.5077 GB, free: 46.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001323/0.409, allocations: 120 kB / 0.5078 GB, free: 46.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008187/0.4099, allocations: 407.1 kB / 0.5082 GB, free: 46.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003533/0.4134, allocations: 1.251 MB / 0.5095 GB, free: 45.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00219/0.4156, allocations: 2.365 MB / 0.5118 GB, free: 42.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004252/0.4198, allocations: 322.1 kB / 0.5121 GB, free: 42.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006261/0.4205, allocations: 332.4 kB / 0.5124 GB, free: 42.31 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.002811/0.4233, allocations: 1.792 MB / 0.5141 GB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006902/0.424, allocations: 318.1 kB / 0.5144 GB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006053/0.43, allocations: 2.334 MB / 0.5167 GB, free: 38.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.143e-05/0.43, allocations: 16 kB / 0.5167 GB, free: 38.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/0.4301, allocations: 4 kB / 0.5167 GB, free: 38.58 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/0.4301, allocations: 3.75 kB / 0.5167 GB, free: 38.58 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009555/0.4396, allocations: 5.181 MB / 0.5218 GB, free: 34.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.267e-06/0.4396, allocations: 0 / 0.5218 GB, free: 34.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007755/0.4404, allocations: 177.5 kB / 0.522 GB, free: 34.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001992/0.4424, allocations: 0.7311 MB / 0.5227 GB, free: 33.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.664e-05/0.4425, allocations: 20 kB / 0.5227 GB, free: 33.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004613/0.4471, allocations: 4.72 MB / 0.5273 GB, free: 28.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.4471, allocations: 4 kB / 0.5273 GB, free: 28.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005529/0.4526, allocations: 4.34 MB / 0.5316 GB, free: 24.37 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007137/0.4533, allocations: 278 kB / 0.5318 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000283/0.4536, allocations: 16 kB / 0.5318 GB, free: 24.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/0.4547, allocations: 99.84 kB / 0.5319 GB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001947/0.4549, allocations: 81.2 kB / 0.532 GB, free: 23.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.497e-05/0.455, allocations: 32 kB / 0.532 GB, free: 23.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002214/0.4572, allocations: 2.034 MB / 0.534 GB, free: 21.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4572, allocations: 0 / 0.534 GB, free: 21.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003978/0.4612, allocations: 0.871 MB / 0.5349 GB, free: 20.97 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.0003556/0.4616, allocations: 162 kB / 0.535 GB, free: 20.81 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004825/0.4664, allocations: 3.904 MB / 0.5388 GB, free: 16.92 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.4664, allocations: 0 / 0.5388 GB, free: 16.92 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001141/0.4675, allocations: 1.042 MB / 0.5399 GB, free: 15.87 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00199/0.4695, allocations: 361.7 kB / 0.5402 GB, free: 15.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009305/0.4788, allocations: 7.415 MB / 0.5475 GB, free: 8.062 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002007/0.4808, allocations: 2.233 MB / 0.5496 GB, free: 5.805 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00299/0.4838, allocations: 1.611 MB / 0.5512 GB, free: 4.188 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005438/0.4844, allocations: 204.5 kB / 0.5514 GB, free: 3.988 MB / 410.7 MB Notification: Performance of SimCode: time 1.193e-06/0.4844, allocations: 0 / 0.5514 GB, free: 3.988 MB / 410.7 MB Notification: Performance of Templates: time 0.05731/0.5417, allocations: 25.81 MB / 0.5766 GB, free: 10.67 MB / 442.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 480] 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.524987287004478]