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.002481/0.002481, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002013/0.002013, allocations: 169.6 kB / 24.28 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.592/1.592, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.3568/0.3568, allocations: 34.27 MB / 295.3 MB, free: 0.6914 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 2.204e-06/2.204e-06, allocations: 0 / 377.3 MB, free: 2.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.045e-05/4.265e-05, allocations: 2.312 kB / 377.3 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01468/0.01472, allocations: 9.876 MB / 387.2 MB, free: 9.039 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00847/0.02319, allocations: 3.709 MB / 390.9 MB, free: 5.316 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001439/0.02463, allocations: 63.69 kB / 390.9 MB, free: 5.254 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004646/0.02928, allocations: 2.083 MB / 393 MB, free: 3.164 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004967/0.03424, allocations: 1.742 MB / 394.8 MB, free: 1.414 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001857/0.0361, allocations: 0.6625 MB / 395.4 MB, free: 0.75 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005816/0.04192, allocations: 3.75 MB / 399.2 MB, free: 12.99 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003816/0.04573, allocations: 2.466 MB / 401.6 MB, free: 10.47 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003354/0.04909, allocations: 1.906 MB / 403.6 MB, free: 8.562 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003069/0.05216, allocations: 1.859 MB / 405.4 MB, free: 6.699 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005645/0.05272, allocations: 260 kB / 405.7 MB, free: 6.445 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002003/0.05472, allocations: 0.9673 MB / 406.6 MB, free: 5.477 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002079/0.0568, allocations: 1.679 MB / 408.3 MB, free: 3.793 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001616/0.05842, allocations: 1.04 MB / 409.3 MB, free: 2.75 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007689/0.06611, allocations: 5.825 MB / 415.2 MB, free: 12.9 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.06612, allocations: 4 kB / 415.2 MB, free: 12.9 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.06612, allocations: 0 / 415.2 MB, free: 12.9 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001303/0.06625, allocations: 4 kB / 415.2 MB, free: 12.89 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.0102/0.07645, allocations: 4.738 MB / 419.9 MB, free: 8.094 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.07649, allocations: 12.03 kB / 419.9 MB, free: 8.082 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007403/0.0839, allocations: 2.19 MB / 422.1 MB, free: 5.887 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005136/0.08903, allocations: 1.734 MB / 423.9 MB, free: 4.105 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002087/0.08924, allocations: 189.2 kB / 424 MB, free: 3.918 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005682/0.08981, allocations: 256.1 kB / 424.3 MB, free: 3.668 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01422/0.104, allocations: 5.68 MB / 430 MB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001208/0.1041, allocations: 39.7 kB / 430 MB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000377/0.1045, allocations: 119.9 kB / 430.1 MB, free: 12.92 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003336/0.1079, allocations: 1.695 MB / 431.8 MB, free: 11.22 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01086/0.1187, allocations: 3.053 MB / 434.9 MB, free: 8.156 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1953/0.314, allocations: 41.71 MB / 476.6 MB, free: 62.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009116/0.3231, allocations: 1.673 MB / 478.3 MB, free: 62.15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00124/0.3244, allocations: 0.5145 MB / 478.8 MB, free: 62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008024/0.3324, allocations: 3.221 MB / 482 MB, free: 60.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.3324, allocations: 51.8 kB / 482 MB, free: 60.06 MB / 410.7 MB Notification: Performance of pre-optimization done (n=121): time 4.969e-06/0.3324, allocations: 0 / 482 MB, free: 60.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=129): time 0.0357/0.3681, allocations: 8.635 MB / 490.7 MB, free: 57.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/0.3682, allocations: 171.9 kB / 490.8 MB, free: 56.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005883/0.3741, allocations: 3.982 MB / 494.8 MB, free: 55.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002846/0.3743, allocations: 40.52 kB / 494.9 MB, free: 55.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002104/0.3765, allocations: 3.197 MB / 498.1 MB, free: 52.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008557/0.3773, allocations: 0.5842 MB / 498.6 MB, free: 52.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00166/0.379, allocations: 1.364 MB / 0.4883 GB, free: 51.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.581e-05/0.379, allocations: 481.9 kB / 0.4888 GB, free: 51.08 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001392/0.3804, allocations: 0.6073 MB / 0.4893 GB, free: 50.97 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003445/0.3839, allocations: 5.877 MB / 0.4951 GB, free: 43.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006574/0.3905, allocations: 7.107 MB / 0.502 GB, free: 35.92 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002325/0.3907, allocations: 37.53 kB / 0.5021 GB, free: 35.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01093/0.4016, allocations: 4.771 MB / 0.5067 GB, free: 34.08 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.786e-05/0.4017, allocations: 59.47 kB / 0.5068 GB, free: 34.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001328/0.4018, allocations: 121.8 kB / 0.5069 GB, free: 34.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007978/0.4026, allocations: 344.3 kB / 0.5072 GB, free: 34.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003533/0.4062, allocations: 1.247 MB / 0.5084 GB, free: 33.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001868/0.408, allocations: 2.473 MB / 0.5109 GB, free: 31.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004061/0.4121, allocations: 324.8 kB / 0.5112 GB, free: 31.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005644/0.4127, allocations: 331.8 kB / 0.5115 GB, free: 31.61 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.00151/0.4142, allocations: 0.6929 MB / 0.5122 GB, free: 31.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000607/0.4148, allocations: 327.8 kB / 0.5125 GB, free: 30.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00332/0.4181, allocations: 1.352 MB / 0.5138 GB, free: 30.49 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.183e-05/0.4181, allocations: 13.38 kB / 0.5138 GB, free: 30.49 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-05/0.4181, allocations: 3.375 kB / 0.5138 GB, free: 30.49 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.4181, allocations: 10.05 kB / 0.5138 GB, free: 30.49 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009712/0.4279, allocations: 4.985 MB / 0.5187 GB, free: 28.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.4279, allocations: 7.516 kB / 0.5187 GB, free: 28.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007715/0.4286, allocations: 167.2 kB / 0.5188 GB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001868/0.4305, allocations: 458.5 kB / 0.5193 GB, free: 27.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/0.4306, allocations: 21.22 kB / 0.5193 GB, free: 27.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003585/0.4342, allocations: 3.021 MB / 0.5223 GB, free: 24.92 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.4342, allocations: 4.031 kB / 0.5223 GB, free: 24.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004535/0.4387, allocations: 2.402 MB / 0.5246 GB, free: 22.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008047/0.4395, allocations: 280.6 kB / 0.5249 GB, free: 22.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002987/0.4398, allocations: 16.66 kB / 0.5249 GB, free: 22.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/0.441, allocations: 99.55 kB / 0.525 GB, free: 22.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002093/0.4412, allocations: 74.75 kB / 0.5251 GB, free: 22.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.222e-05/0.4412, allocations: 41.69 kB / 0.5251 GB, free: 22.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002511/0.4438, allocations: 1.607 MB / 0.5267 GB, free: 21.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4438, allocations: 0 / 0.5267 GB, free: 21.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004322/0.4481, allocations: 0.8763 MB / 0.5275 GB, free: 20.15 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.0004248/0.4485, allocations: 166.9 kB / 0.5277 GB, free: 19.99 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004691/0.4532, allocations: 2.828 MB / 0.5304 GB, free: 17.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.4532, allocations: 4 kB / 0.5304 GB, free: 17.44 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009647/0.4542, allocations: 0.6733 MB / 0.5311 GB, free: 16.81 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001838/0.456, allocations: 351.5 kB / 0.5314 GB, free: 16.53 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008165/0.4642, allocations: 6.022 MB / 0.5373 GB, free: 10.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001849/0.466, allocations: 2.032 MB / 0.5393 GB, free: 9.465 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00273/0.4687, allocations: 1.397 MB / 0.5407 GB, free: 8.668 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004882/0.4692, allocations: 195.8 kB / 0.5409 GB, free: 8.484 MB / 410.7 MB Notification: Performance of SimCode: time 1.573e-06/0.4692, allocations: 0 / 0.5409 GB, free: 8.484 MB / 410.7 MB Notification: Performance of Templates: time 0.05388/0.5231, allocations: 25.79 MB / 0.566 GB, free: 15.43 MB / 442.7 MB " [Timeout remaining time 659] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.694800327997655]