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.001473/0.001473, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001867/0.001867, allocations: 168.8 kB / 24.82 MB, free: 9.27 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.994/0.994, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.3361/0.3361, allocations: 34.26 MB / 296.1 MB, free: 0.707 MB / 266.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.944e-06/1.944e-06, allocations: 0 / 378.5 MB, free: 2.387 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.915e-05/0.0001011, allocations: 5.547 kB / 378.5 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.008418/0.008519, allocations: 9.7 MB / 388.2 MB, free: 8.629 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006428/0.01495, allocations: 3.697 MB / 391.9 MB, free: 4.918 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008659/0.01581, allocations: 71.62 kB / 392 MB, free: 4.848 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002213/0.01803, allocations: 2.052 MB / 394 MB, free: 2.789 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002535/0.02056, allocations: 1.75 MB / 395.8 MB, free: 1.031 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009193/0.02148, allocations: 0.6625 MB / 396.4 MB, free: 376 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003209/0.02469, allocations: 3.758 MB / 400.2 MB, free: 12.6 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001975/0.02666, allocations: 2.462 MB / 402.7 MB, free: 10.09 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001803/0.02847, allocations: 1.941 MB / 404.6 MB, free: 8.141 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001628/0.0301, allocations: 1.839 MB / 406.4 MB, free: 6.297 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003201/0.03042, allocations: 256 kB / 406.7 MB, free: 6.047 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001215/0.03163, allocations: 0.9633 MB / 407.7 MB, free: 5.082 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009706/0.0326, allocations: 1.671 MB / 409.3 MB, free: 3.406 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008054/0.03341, allocations: 1.036 MB / 410.4 MB, free: 2.367 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004918/0.03832, allocations: 3.802 MB / 414.2 MB, free: 14.55 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.03833, allocations: 0 / 414.2 MB, free: 14.55 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.03833, allocations: 0 / 414.2 MB, free: 14.55 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001458/0.03848, allocations: 4 kB / 414.2 MB, free: 14.55 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.005106/0.04358, allocations: 4.261 MB / 418.4 MB, free: 10.22 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.04363, allocations: 8.031 kB / 418.4 MB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002912/0.04654, allocations: 1.286 MB / 419.7 MB, free: 8.926 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001926/0.04847, allocations: 1.597 MB / 421.3 MB, free: 7.281 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.91e-05/0.04857, allocations: 189.2 kB / 421.5 MB, free: 7.094 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002969/0.04886, allocations: 260.2 kB / 421.8 MB, free: 6.84 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005209/0.05407, allocations: 4.805 MB / 426.6 MB, free: 1.117 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.701e-05/0.05414, allocations: 51.55 kB / 426.6 MB, free: 1.066 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001937/0.05433, allocations: 127.9 kB / 426.7 MB, free: 0.9414 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001174/0.05551, allocations: 1.458 MB / 428.2 MB, free: 15.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003744/0.05925, allocations: 2.081 MB / 430.3 MB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.183/0.2423, allocations: 38.43 MB / 468.7 MB, free: 60.87 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002841/0.2451, allocations: 1.336 MB / 470 MB, free: 60.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004452/0.2455, allocations: 335.3 kB / 470.4 MB, free: 60.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004291/0.2498, allocations: 3.241 MB / 473.6 MB, free: 59.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/0.2499, allocations: 50.14 kB / 473.7 MB, free: 59.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=103): time 3.146e-06/0.2499, allocations: 3.391 kB / 473.7 MB, free: 59.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=104): time 0.007433/0.2573, allocations: 3.121 MB / 476.8 MB, free: 58.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/0.2574, allocations: 170.3 kB / 477 MB, free: 58.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003087/0.2605, allocations: 3.24 MB / 480.2 MB, free: 58.08 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.42e-05/0.2605, allocations: 40.92 kB / 480.2 MB, free: 58.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001319/0.2618, allocations: 3.106 MB / 483.3 MB, free: 55.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003342/0.2622, allocations: 479.7 kB / 483.8 MB, free: 55.58 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009185/0.2631, allocations: 1.199 MB / 485 MB, free: 54.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.106e-05/0.2631, allocations: 476.8 kB / 485.5 MB, free: 54.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007168/0.2639, allocations: 450.4 kB / 485.9 MB, free: 54.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00233/0.2662, allocations: 5.736 MB / 491.6 MB, free: 47.17 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004333/0.2705, allocations: 6.764 MB / 498.4 MB, free: 39.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.324e-05/0.2706, allocations: 34.25 kB / 498.4 MB, free: 39.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.005288/0.2759, allocations: 4.226 MB / 0.4909 GB, free: 37.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.215e-05/0.2759, allocations: 60.44 kB / 0.4909 GB, free: 37.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001484/0.2761, allocations: 125.6 kB / 0.4911 GB, free: 37.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001558/0.2763, allocations: 164 kB / 0.4912 GB, free: 37.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002356/0.2786, allocations: 1.213 MB / 0.4924 GB, free: 37.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002216/0.2788, allocations: 247 kB / 0.4926 GB, free: 37.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003163/0.282, allocations: 245.2 kB / 0.4929 GB, free: 37.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005398/0.2825, allocations: 290.4 kB / 0.4932 GB, free: 37.62 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.001296/0.2838, allocations: 0.6142 MB / 0.4938 GB, free: 37.13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004538/0.2843, allocations: 320 kB / 0.4941 GB, free: 36.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008069/0.2851, allocations: 0.5517 MB / 0.4946 GB, free: 36.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-05/0.2851, allocations: 12.75 kB / 0.4946 GB, free: 36.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.2851, allocations: 1.156 kB / 0.4946 GB, free: 36.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.928e-06/0.2851, allocations: 8.453 kB / 0.4946 GB, free: 36.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003934/0.2891, allocations: 2.377 MB / 0.4969 GB, free: 35.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/0.2891, allocations: 2.875 kB / 0.4969 GB, free: 35.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003632/0.2894, allocations: 125.2 kB / 0.4971 GB, free: 35.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002007/0.2896, allocations: 59.55 kB / 0.4971 GB, free: 35.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.552e-05/0.2897, allocations: 19.28 kB / 0.4971 GB, free: 35.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008667/0.2905, allocations: 1.79 MB / 0.4989 GB, free: 33.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.247e-06/0.2905, allocations: 7 kB / 0.4989 GB, free: 33.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001524/0.2921, allocations: 1.457 MB / 0.5003 GB, free: 32.81 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005198/0.2926, allocations: 261.8 kB / 0.5006 GB, free: 32.63 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003497/0.2929, allocations: 14.03 kB / 0.5006 GB, free: 32.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005921/0.2935, allocations: 19.97 kB / 0.5006 GB, free: 32.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.2936, allocations: 61.73 kB / 0.5007 GB, free: 32.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.212e-05/0.2937, allocations: 22.25 kB / 0.5007 GB, free: 32.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001874/0.2956, allocations: 1.284 MB / 0.5019 GB, free: 32.15 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2956, allocations: 4.031 kB / 0.5019 GB, free: 32.15 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004304/0.2999, allocations: 0.7851 MB / 0.5027 GB, free: 32.05 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.0004716/0.3003, allocations: 153.2 kB / 0.5028 GB, free: 31.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003305/0.3036, allocations: 2.101 MB / 0.5049 GB, free: 31.26 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.3037, allocations: 448 / 0.5049 GB, free: 31.26 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004918/0.3041, allocations: 452.1 kB / 0.5053 GB, free: 31.01 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001545/0.3057, allocations: 338.7 kB / 0.5057 GB, free: 30.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008723/0.3144, allocations: 5.786 MB / 0.5113 GB, free: 27.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009813/0.3154, allocations: 0.9918 MB / 0.5123 GB, free: 27.58 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001191/0.3166, allocations: 429.6 kB / 0.5127 GB, free: 27.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007045/0.3173, allocations: 0.4993 MB / 0.5132 GB, free: 27.38 MB / 410.7 MB Notification: Performance of SimCode: time 2.605e-06/0.3173, allocations: 4 kB / 0.5132 GB, free: 27.38 MB / 410.7 MB Notification: Performance of Templates: time 0.03633/0.3536, allocations: 21.99 MB / 0.5347 GB, free: 11.32 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.242745369672775]