Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001491/0.001491, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001296/0.001296, allocations: 168.5 kB / 25.61 MB, free: 8.582 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.9843/0.9843, allocations: 177.1 MB / 206 MB, free: 4.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1471/0.1471, allocations: 34.27 MB / 296.9 MB, free: 13.91 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.311e-05/2.464e-05, allocations: 2.312 kB / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.008355/0.008379, allocations: 9.696 MB / 389 MB, free: 13.65 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005594/0.01397, allocations: 3.683 MB / 392.7 MB, free: 9.953 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001224/0.0152, allocations: 67.62 kB / 392.7 MB, free: 9.887 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002129/0.01733, allocations: 2.067 MB / 394.8 MB, free: 7.812 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003318/0.02064, allocations: 1.738 MB / 396.6 MB, free: 6.066 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.0219, allocations: 0.6664 MB / 397.2 MB, free: 5.398 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003253/0.02515, allocations: 3.761 MB / 401 MB, free: 1.629 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002108/0.02726, allocations: 2.446 MB / 403.4 MB, free: 15.12 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002349/0.02961, allocations: 1.953 MB / 405.4 MB, free: 13.17 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002207/0.03181, allocations: 1.839 MB / 407.2 MB, free: 11.32 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005276/0.03234, allocations: 256 kB / 407.5 MB, free: 11.07 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001394/0.03373, allocations: 0.9711 MB / 408.4 MB, free: 10.1 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001132/0.03487, allocations: 1.667 MB / 410.1 MB, free: 8.426 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001223/0.03609, allocations: 1.032 MB / 411.1 MB, free: 7.391 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004226/0.04032, allocations: 3.806 MB / 414.9 MB, free: 3.57 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.04032, allocations: 0 / 414.9 MB, free: 3.57 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.04032, allocations: 0 / 414.9 MB, free: 3.57 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001214/0.04044, allocations: 4 kB / 414.9 MB, free: 3.566 MB / 330.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.0052/0.04564, allocations: 4.25 MB / 419.2 MB, free: 15.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.04568, allocations: 16.03 kB / 419.2 MB, free: 15.23 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003006/0.04869, allocations: 1.282 MB / 420.5 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002226/0.05092, allocations: 1.593 MB / 422.1 MB, free: 12.31 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.05102, allocations: 197.2 kB / 422.3 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003079/0.05133, allocations: 252.2 kB / 422.5 MB, free: 11.87 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005922/0.05725, allocations: 4.809 MB / 427.3 MB, free: 6.145 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.441e-05/0.05735, allocations: 43.58 kB / 427.4 MB, free: 6.102 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002392/0.05759, allocations: 123.9 kB / 427.5 MB, free: 5.98 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001348/0.05893, allocations: 1.473 MB / 429 MB, free: 4.508 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004881/0.06382, allocations: 2.07 MB / 431 MB, free: 2.422 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02769/0.09151, allocations: 38.44 MB / 469.5 MB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002908/0.09441, allocations: 1.355 MB / 470.8 MB, free: 9.262 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003863/0.0948, allocations: 334.8 kB / 471.2 MB, free: 8.918 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004253/0.09905, allocations: 3.231 MB / 474.4 MB, free: 5.652 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/0.09909, allocations: 53.83 kB / 474.4 MB, free: 5.59 MB / 394.7 MB Notification: Performance of pre-optimization done (n=103): time 4.187e-06/0.0991, allocations: 0 / 474.4 MB, free: 5.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=104): time 0.006983/0.1061, allocations: 3.113 MB / 477.6 MB, free: 2.434 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.376e-05/0.1061, allocations: 170.7 kB / 477.7 MB, free: 2.23 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002874/0.109, allocations: 3.245 MB / 481 MB, free: 14.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.056e-05/0.1091, allocations: 41.69 kB / 481 MB, free: 14.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001472/0.1105, allocations: 3.099 MB / 484.1 MB, free: 11.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000373/0.1109, allocations: 480.6 kB / 484.6 MB, free: 11.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001047/0.112, allocations: 1.191 MB / 485.8 MB, free: 10.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1121, allocations: 480.8 kB / 486.2 MB, free: 9.637 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008103/0.1129, allocations: 446.2 kB / 486.7 MB, free: 9.195 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003492/0.1164, allocations: 5.742 MB / 492.4 MB, free: 1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1678/0.2842, allocations: 6.761 MB / 499.2 MB, free: 97.92 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001233/0.2843, allocations: 38.81 kB / 499.2 MB, free: 97.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.00781/0.2921, allocations: 4.215 MB / 0.4916 GB, free: 96.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.22e-05/0.2922, allocations: 61.06 kB / 0.4917 GB, free: 96.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001165/0.2923, allocations: 128.6 kB / 0.4918 GB, free: 96.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001066/0.2924, allocations: 165.5 kB / 0.492 GB, free: 96.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002038/0.2945, allocations: 1.221 MB / 0.4932 GB, free: 96.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001111/0.2946, allocations: 244.4 kB / 0.4934 GB, free: 96.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002207/0.2968, allocations: 242 kB / 0.4936 GB, free: 96.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002801/0.2971, allocations: 298.1 kB / 0.4939 GB, free: 96.82 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 575 * 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 (667): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001041/0.2981, allocations: 0.6108 MB / 0.4945 GB, free: 96.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003743/0.2985, allocations: 317.9 kB / 0.4948 GB, free: 96.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008179/0.2993, allocations: 0.5559 MB / 0.4954 GB, free: 96.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.72e-05/0.2993, allocations: 11.56 kB / 0.4954 GB, free: 96.44 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/0.2993, allocations: 0.7969 kB / 0.4954 GB, free: 96.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.365e-05/0.2993, allocations: 7.781 kB / 0.4954 GB, free: 96.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003608/0.3029, allocations: 2.374 MB / 0.4977 GB, free: 96.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.303, allocations: 2.781 kB / 0.4977 GB, free: 96.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003176/0.3033, allocations: 129.5 kB / 0.4978 GB, free: 96.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001737/0.3034, allocations: 53.17 kB / 0.4979 GB, free: 95.99 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.083e-05/0.3035, allocations: 19.02 kB / 0.4979 GB, free: 95.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007379/0.3042, allocations: 1.79 MB / 0.4996 GB, free: 94.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3042, allocations: 13.73 kB / 0.4997 GB, free: 94.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009776/0.3052, allocations: 1.456 MB / 0.5011 GB, free: 93.15 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002298/0.3054, allocations: 257.2 kB / 0.5013 GB, free: 92.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001602/0.3056, allocations: 24.38 kB / 0.5013 GB, free: 92.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004215/0.306, allocations: 15.75 kB / 0.5014 GB, free: 92.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.877e-05/0.3061, allocations: 60.3 kB / 0.5014 GB, free: 92.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.653e-05/0.3061, allocations: 26.98 kB / 0.5014 GB, free: 92.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009009/0.307, allocations: 1.281 MB / 0.5027 GB, free: 92.08 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.307, allocations: 4.031 kB / 0.5027 GB, free: 92.08 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002508/0.3095, allocations: 0.7855 MB / 0.5035 GB, free: 91.39 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (rev.w,damper.phi_rel) * 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 (78): * Single equations (assignments): 74 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002763/0.3098, allocations: 153.8 kB / 0.5036 GB, free: 91.26 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002004/0.3118, allocations: 2.09 MB / 0.5056 GB, free: 89.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3118, allocations: 0 / 0.5056 GB, free: 89.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004008/0.3122, allocations: 451.8 kB / 0.5061 GB, free: 89.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.3133, allocations: 336.7 kB / 0.5064 GB, free: 89.15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006282/0.3196, allocations: 5.793 MB / 0.5121 GB, free: 84.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006834/0.3202, allocations: 0.9929 MB / 0.513 GB, free: 83.37 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009778/0.3212, allocations: 430.3 kB / 0.5134 GB, free: 83.06 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006269/0.3218, allocations: 0.5006 MB / 0.5139 GB, free: 82.6 MB / 410.7 MB Notification: Performance of SimCode: time 2.325e-06/0.3218, allocations: 7.938 kB / 0.5139 GB, free: 82.59 MB / 410.7 MB Notification: Performance of Templates: time 0.03427/0.3561, allocations: 22.48 MB / 0.5359 GB, free: 60.99 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.062095973175019]