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.001284/0.001284, allocations: 75.75 kB / 21.69 MB, free: 2.859 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.001812/0.001812, allocations: 166.2 kB / 24.99 MB, free: 9.289 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.9832/0.9832, allocations: 177.1 MB / 205.3 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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.2776/0.2776, allocations: 32.8 MB / 294.6 MB, free: 1.301 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.963e-06/1.963e-06, allocations: 0 / 376 MB, free: 5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.813e-05/3.01e-05, allocations: 2.312 kB / 376 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01025/0.01028, allocations: 9.919 MB / 385.9 MB, free: 11.02 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007396/0.01767, allocations: 3.72 MB / 389.6 MB, free: 7.293 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001625/0.0193, allocations: 63.69 kB / 389.7 MB, free: 7.23 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003269/0.02257, allocations: 2.075 MB / 391.8 MB, free: 5.148 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003826/0.02639, allocations: 1.746 MB / 393.5 MB, free: 3.395 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001255/0.02765, allocations: 0.6587 MB / 394.2 MB, free: 2.734 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004163/0.03181, allocations: 3.747 MB / 397.9 MB, free: 14.98 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003032/0.03484, allocations: 2.462 MB / 400.4 MB, free: 12.46 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002417/0.03726, allocations: 1.898 MB / 402.3 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001901/0.03916, allocations: 1.863 MB / 404.2 MB, free: 8.691 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00045/0.03961, allocations: 260 kB / 404.4 MB, free: 8.438 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001729/0.04134, allocations: 0.9788 MB / 405.4 MB, free: 7.457 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001289/0.04263, allocations: 1.679 MB / 407.1 MB, free: 5.773 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001139/0.04377, allocations: 1.036 MB / 408.1 MB, free: 4.734 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004554/0.04832, allocations: 3.814 MB / 411.9 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.04832, allocations: 0 / 411.9 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.04833, allocations: 0 / 411.9 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.895e-05/0.04842, allocations: 0 / 411.9 MB, free: 0.9062 MB / 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.005253/0.05368, allocations: 4.375 MB / 416.3 MB, free: 12.46 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.05372, allocations: 12.03 kB / 416.3 MB, free: 12.45 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003873/0.05759, allocations: 2.191 MB / 418.5 MB, free: 10.26 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002298/0.05989, allocations: 1.718 MB / 420.2 MB, free: 8.492 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/0.06, allocations: 189.2 kB / 420.4 MB, free: 8.305 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003886/0.06039, allocations: 264.2 kB / 420.7 MB, free: 8.047 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006739/0.06713, allocations: 5.302 MB / 426 MB, free: 1.828 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.6e-05/0.0672, allocations: 39.64 kB / 426 MB, free: 1.789 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002413/0.06744, allocations: 131.9 kB / 426.1 MB, free: 1.66 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001729/0.06917, allocations: 1.695 MB / 427.8 MB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005618/0.07479, allocations: 2.764 MB / 430.6 MB, free: 13.19 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1684/0.2432, allocations: 38.6 MB / 469.2 MB, free: 68.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003642/0.2468, allocations: 1.616 MB / 470.8 MB, free: 68.49 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007089/0.2475, allocations: 499.7 kB / 471.3 MB, free: 68.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00342/0.251, allocations: 3.164 MB / 474.4 MB, free: 66.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.251, allocations: 55.34 kB / 474.5 MB, free: 66.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=121): time 3.997e-06/0.251, allocations: 0 / 474.5 MB, free: 66.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=129): time 0.01509/0.2661, allocations: 8.489 MB / 483 MB, free: 63.51 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.2661, allocations: 167.7 kB / 483.2 MB, free: 63.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002934/0.2691, allocations: 3.18 MB / 486.3 MB, free: 62.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001036/0.2692, allocations: 44.45 kB / 486.4 MB, free: 61.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001195/0.2704, allocations: 3.015 MB / 489.4 MB, free: 59.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004101/0.2708, allocations: 0.5533 MB / 489.9 MB, free: 59.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008854/0.2716, allocations: 1.165 MB / 491.1 MB, free: 58.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.754e-05/0.2717, allocations: 480.2 kB / 491.6 MB, free: 58.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009254/0.2726, allocations: 0.5568 MB / 492.1 MB, free: 58.13 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002195/0.2748, allocations: 5.649 MB / 497.8 MB, free: 51.17 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004221/0.279, allocations: 6.821 MB / 0.4928 GB, free: 43.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001044/0.2791, allocations: 34.41 kB / 0.4928 GB, free: 43.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.006644/0.2858, allocations: 4.663 MB / 0.4974 GB, free: 41.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.971e-05/0.2858, allocations: 57.91 kB / 0.4974 GB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001461/0.286, allocations: 128.8 kB / 0.4975 GB, free: 41.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005829/0.2866, allocations: 338.3 kB / 0.4979 GB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002309/0.2889, allocations: 1.247 MB / 0.4991 GB, free: 41.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001442/0.2903, allocations: 2.433 MB / 0.5015 GB, free: 39.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002636/0.293, allocations: 324.4 kB / 0.5018 GB, free: 39.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003985/0.2934, allocations: 333.8 kB / 0.5021 GB, free: 39.16 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.001031/0.2944, allocations: 0.6054 MB / 0.5027 GB, free: 38.67 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003875/0.2948, allocations: 327 kB / 0.503 GB, free: 38.49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001873/0.2966, allocations: 1.315 MB / 0.5043 GB, free: 38.11 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/0.2967, allocations: 14.22 kB / 0.5043 GB, free: 38.11 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.148e-06/0.2967, allocations: 3.062 kB / 0.5043 GB, free: 38.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.916e-06/0.2967, allocations: 3.047 kB / 0.5043 GB, free: 38.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005588/0.3023, allocations: 4.205 MB / 0.5084 GB, free: 36.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.3023, allocations: 0 / 0.5084 GB, free: 36.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004539/0.3027, allocations: 174.1 kB / 0.5086 GB, free: 36.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001037/0.3038, allocations: 444.6 kB / 0.509 GB, free: 36.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.397e-05/0.3038, allocations: 25.48 kB / 0.509 GB, free: 36.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002268/0.3061, allocations: 2.912 MB / 0.5119 GB, free: 34.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3061, allocations: 0 / 0.5119 GB, free: 34.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003138/0.3092, allocations: 2.277 MB / 0.5141 GB, free: 33.01 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005459/0.3098, allocations: 273.9 kB / 0.5143 GB, free: 32.83 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002423/0.31, allocations: 24.42 kB / 0.5144 GB, free: 32.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006567/0.3107, allocations: 105 kB / 0.5145 GB, free: 32.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/0.3109, allocations: 76.81 kB / 0.5145 GB, free: 32.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.545e-05/0.3109, allocations: 30.84 kB / 0.5146 GB, free: 32.78 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001783/0.3127, allocations: 1.356 MB / 0.5159 GB, free: 31.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.3127, allocations: 0 / 0.5159 GB, free: 31.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003165/0.3159, allocations: 0.8718 MB / 0.5167 GB, free: 31.04 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.0003782/0.3162, allocations: 163.4 kB / 0.5169 GB, free: 30.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00352/0.3198, allocations: 2.557 MB / 0.5194 GB, free: 28.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3198, allocations: 0 / 0.5194 GB, free: 28.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006415/0.3204, allocations: 0.6305 MB / 0.52 GB, free: 28.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/0.3216, allocations: 354.2 kB / 0.5204 GB, free: 27.74 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006884/0.3285, allocations: 5.945 MB / 0.5262 GB, free: 22.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008104/0.3293, allocations: 1.014 MB / 0.5271 GB, free: 21.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00186/0.3312, allocations: 1.391 MB / 0.5285 GB, free: 20.69 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000371/0.3315, allocations: 199.9 kB / 0.5287 GB, free: 20.5 MB / 410.7 MB Notification: Performance of SimCode: time 2.184e-06/0.3315, allocations: 0 / 0.5287 GB, free: 20.5 MB / 410.7 MB Notification: Performance of Templates: time 0.03359/0.3651, allocations: 25.83 MB / 0.5539 GB, free: 12.04 MB / 426.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 240] 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","",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.193027989007533]