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.001095/0.001095, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.001036/0.001036, allocations: 165.3 kB / 23.8 MB, free: 0.7773 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 0.9707/0.9707, allocations: 158.6 MB / 185.7 MB, free: 2.934 MB / 170.7 MB " [Timeout remaining time 179] 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.1449/0.1449, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.323e-06/1.323e-06, allocations: 0 / 347.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.831e-05/1.963e-05, allocations: 6.25 kB / 347.7 MB, free: 9.426 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.006707/0.006726, allocations: 9.994 MB / 357.7 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005703/0.01243, allocations: 3.717 MB / 361.4 MB, free: 11.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008339/0.01326, allocations: 67.62 kB / 361.5 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002188/0.01545, allocations: 2.094 MB / 363.6 MB, free: 9.488 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002543/0.01799, allocations: 1.773 MB / 365.3 MB, free: 7.707 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.01907, allocations: 0.6664 MB / 366 MB, free: 7.039 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00339/0.02246, allocations: 3.696 MB / 369.7 MB, free: 3.332 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002423/0.02488, allocations: 2.469 MB / 372.2 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002626/0.02751, allocations: 1.96 MB / 374.1 MB, free: 14.84 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003777/0.03128, allocations: 1.851 MB / 376 MB, free: 12.98 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001162/0.03244, allocations: 256 kB / 376.2 MB, free: 12.73 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002342/0.03479, allocations: 0.975 MB / 377.2 MB, free: 11.76 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001803/0.03659, allocations: 1.702 MB / 378.9 MB, free: 10.05 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002146/0.03874, allocations: 1.051 MB / 380 MB, free: 8.996 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005902/0.04464, allocations: 3.853 MB / 383.8 MB, free: 5.129 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.383e-06/0.04465, allocations: 0 / 383.8 MB, free: 5.129 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.04465, allocations: 0 / 383.8 MB, free: 5.129 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001819/0.04483, allocations: 8 kB / 383.8 MB, free: 5.121 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.007644/0.05247, allocations: 4.394 MB / 388.2 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.05252, allocations: 16.03 kB / 388.2 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005577/0.0581, allocations: 2.191 MB / 390.4 MB, free: 14.45 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003395/0.06149, allocations: 1.781 MB / 392.2 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001564/0.06165, allocations: 189.2 kB / 392.4 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004925/0.06214, allocations: 252.2 kB / 392.6 MB, free: 12.19 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00937/0.07151, allocations: 5.27 MB / 397.9 MB, free: 6.008 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001252/0.07164, allocations: 47.61 kB / 397.9 MB, free: 5.961 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003674/0.072, allocations: 123.9 kB / 398.1 MB, free: 5.84 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002135/0.07414, allocations: 1.633 MB / 399.7 MB, free: 4.207 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008757/0.08289, allocations: 2.651 MB / 402.3 MB, free: 1.551 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0379/0.1208, allocations: 38.81 MB / 441.2 MB, free: 9.441 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004668/0.1255, allocations: 1.463 MB / 442.6 MB, free: 7.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008439/0.1263, allocations: 407.7 kB / 443 MB, free: 7.492 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005363/0.1317, allocations: 3.371 MB / 446.4 MB, free: 4.086 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.1317, allocations: 49.89 kB / 446.4 MB, free: 4.027 MB / 378.7 MB Notification: Performance of pre-optimization done (n=103): time 2.976e-06/0.1317, allocations: 0 / 446.4 MB, free: 4.027 MB / 378.7 MB Notification: Performance of matching and sorting (n=104): time 0.1531/0.2848, allocations: 5.65 MB / 452.1 MB, free: 99.31 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.2848, allocations: 168.2 kB / 452.3 MB, free: 99.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003686/0.2885, allocations: 3.277 MB / 455.5 MB, free: 98.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001699/0.2887, allocations: 41.48 kB / 455.6 MB, free: 98.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001618/0.2903, allocations: 3.079 MB / 458.7 MB, free: 97.08 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004786/0.2908, allocations: 482.5 kB / 459.1 MB, free: 96.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001273/0.2921, allocations: 1.166 MB / 460.3 MB, free: 96.71 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.703e-05/0.2921, allocations: 478.2 kB / 460.8 MB, free: 96.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/0.2933, allocations: 0.4913 MB / 461.2 MB, free: 96.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002324/0.2956, allocations: 5.761 MB / 467 MB, free: 89.37 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004065/0.2997, allocations: 6.863 MB / 473.9 MB, free: 82.05 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-05/0.2998, allocations: 37.38 kB / 473.9 MB, free: 82.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.005803/0.3056, allocations: 4.512 MB / 478.4 MB, free: 80.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.665e-05/0.3057, allocations: 63.86 kB / 478.5 MB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000106/0.3058, allocations: 129.3 kB / 478.6 MB, free: 80.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001061/0.3059, allocations: 164 kB / 478.8 MB, free: 80.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001892/0.3078, allocations: 1.245 MB / 480 MB, free: 78.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.697e-05/0.3079, allocations: 246.5 kB / 480.3 MB, free: 78.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002487/0.3103, allocations: 320.8 kB / 480.6 MB, free: 78.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000231/0.3106, allocations: 343.7 kB / 480.9 MB, free: 78.11 MB / 378.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.0009575/0.3115, allocations: 0.6093 MB / 481.5 MB, free: 77.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000355/0.3119, allocations: 314 kB / 481.8 MB, free: 77.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007736/0.3127, allocations: 0.6023 MB / 482.4 MB, free: 76.67 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/0.3127, allocations: 15.94 kB / 482.4 MB, free: 76.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.3127, allocations: 0 / 482.4 MB, free: 76.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.3127, allocations: 3.938 kB / 482.4 MB, free: 76.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00393/0.3166, allocations: 3.247 MB / 485.7 MB, free: 73.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.3166, allocations: 4 kB / 485.7 MB, free: 73.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003314/0.317, allocations: 146.6 kB / 485.8 MB, free: 73.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002054/0.3172, allocations: 56.41 kB / 485.9 MB, free: 73.65 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.047e-05/0.3172, allocations: 23.67 kB / 485.9 MB, free: 73.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000854/0.3181, allocations: 1.822 MB / 487.7 MB, free: 71.74 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3181, allocations: 0 / 487.7 MB, free: 71.74 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.3193, allocations: 1.56 MB / 489.3 MB, free: 70.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005261/0.3198, allocations: 367.5 kB / 489.7 MB, free: 69.87 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001792/0.32, allocations: 19.61 kB / 489.7 MB, free: 69.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004916/0.3205, allocations: 69.59 kB / 489.7 MB, free: 69.81 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.898e-05/0.3206, allocations: 62 kB / 489.8 MB, free: 69.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.739e-05/0.3206, allocations: 27.44 kB / 489.8 MB, free: 69.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001235/0.3218, allocations: 1.399 MB / 491.2 MB, free: 68.61 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3218, allocations: 0 / 491.2 MB, free: 68.61 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002686/0.3245, allocations: 0.8121 MB / 492 MB, free: 67.8 MB / 378.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.0003638/0.3249, allocations: 161.1 kB / 492.2 MB, free: 67.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002901/0.3278, allocations: 2.218 MB / 494.4 MB, free: 65.69 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.259e-06/0.3278, allocations: 0 / 494.4 MB, free: 65.69 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005656/0.3284, allocations: 476.2 kB / 494.9 MB, free: 65.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/0.3297, allocations: 338.4 kB / 495.2 MB, free: 64.97 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006531/0.3362, allocations: 5.816 MB / 0.4893 GB, free: 59.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006223/0.3368, allocations: 0.9989 MB / 0.4903 GB, free: 58.19 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001811/0.3386, allocations: 1.442 MB / 0.4917 GB, free: 56.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003219/0.3389, allocations: 188.5 kB / 0.4918 GB, free: 56.56 MB / 378.7 MB Notification: Performance of SimCode: time 2.725e-06/0.3389, allocations: 4 kB / 0.4918 GB, free: 56.56 MB / 378.7 MB Notification: Performance of Templates: time 0.03198/0.3709, allocations: 20.85 MB / 0.5122 GB, free: 35.93 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 240] 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","",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.035617038141936]