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.001159/0.001159, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002007/0.003167, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001241/0.001241, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001611/0.002851, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.103/1.103, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1227/1.226, allocations: 53.65 MB / 243.4 MB, free: 15.51 MB / 250.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.363/0.363, allocations: 34.25 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02816/0.3911, allocations: 13.11 MB / 291.5 MB, free: 7.332 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 2.114e-06/2.114e-06, allocations: 0 / 292.8 MB, free: 6.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.575e-05/1.786e-05, allocations: 8.969 kB / 292.9 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01028/0.0103, allocations: 9.832 MB / 302.7 MB, free: 12.31 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008191/0.01849, allocations: 3.868 MB / 306.6 MB, free: 8.434 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001358/0.01985, allocations: 67.69 kB / 306.6 MB, free: 8.367 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002526/0.02237, allocations: 1.985 MB / 308.6 MB, free: 6.375 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003305/0.02568, allocations: 1.707 MB / 310.3 MB, free: 4.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001255/0.02693, allocations: 0.6197 MB / 310.9 MB, free: 4.039 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004632/0.03156, allocations: 3.662 MB / 314.6 MB, free: 376 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002783/0.03435, allocations: 2.244 MB / 316.8 MB, free: 14.05 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003178/0.03753, allocations: 2.037 MB / 318.9 MB, free: 12.01 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002383/0.03991, allocations: 1.742 MB / 320.6 MB, free: 10.27 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004844/0.04039, allocations: 256 kB / 320.9 MB, free: 10.02 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001683/0.04208, allocations: 0.9867 MB / 321.9 MB, free: 9.027 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001206/0.04328, allocations: 1.508 MB / 323.4 MB, free: 7.516 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001047/0.04433, allocations: 0.8489 MB / 324.2 MB, free: 6.664 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003964/0.04829, allocations: 3.545 MB / 327.8 MB, free: 3.105 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.088e-05/0.0483, allocations: 0 / 327.8 MB, free: 3.105 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.0483, allocations: 0 / 327.8 MB, free: 3.105 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.449e-05/0.04839, allocations: 0 / 327.8 MB, free: 3.105 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.00539/0.05378, allocations: 4.546 MB / 332.3 MB, free: 14.49 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.05382, allocations: 12.03 kB / 332.3 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003361/0.05718, allocations: 0.9333 MB / 333.2 MB, free: 13.55 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002064/0.05924, allocations: 1.476 MB / 334.7 MB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/0.05937, allocations: 189.2 kB / 334.9 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003773/0.05975, allocations: 260.2 kB / 335.2 MB, free: 11.58 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004958/0.0647, allocations: 4.255 MB / 339.4 MB, free: 6.645 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.095e-05/0.06476, allocations: 43.67 kB / 339.5 MB, free: 6.602 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002065/0.06497, allocations: 127.9 kB / 339.6 MB, free: 6.477 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001484/0.06645, allocations: 1.372 MB / 341 MB, free: 5.105 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003054/0.06951, allocations: 2.107 MB / 343.1 MB, free: 2.969 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02473/0.09424, allocations: 27.41 MB / 370.5 MB, free: 6.496 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002616/0.09685, allocations: 1.272 MB / 371.7 MB, free: 5.176 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003165/0.09717, allocations: 277.2 kB / 372 MB, free: 4.895 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00407/0.1012, allocations: 2.981 MB / 375 MB, free: 1.883 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.1013, allocations: 47 kB / 375 MB, free: 1.828 MB / 362.7 MB Notification: Performance of pre-optimization done (n=103): time 2.264e-06/0.1013, allocations: 0 / 375 MB, free: 1.828 MB / 362.7 MB Notification: Performance of matching and sorting (n=104): time 0.006166/0.1074, allocations: 2.642 MB / 377.7 MB, free: 15.14 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.79e-05/0.1075, allocations: 144.9 kB / 377.8 MB, free: 14.97 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002336/0.1098, allocations: 2.899 MB / 380.7 MB, free: 12.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.011e-05/0.1099, allocations: 45.7 kB / 380.8 MB, free: 12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001794/0.1117, allocations: 2.766 MB / 383.5 MB, free: 9.207 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002838/0.112, allocations: 460.6 kB / 384 MB, free: 8.754 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008029/0.1128, allocations: 1.009 MB / 385 MB, free: 7.734 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.63e-05/0.1129, allocations: 305.1 kB / 385.3 MB, free: 7.434 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008289/0.1137, allocations: 0.6152 MB / 385.9 MB, free: 6.812 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002979/0.1167, allocations: 4.037 MB / 389.9 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004667/0.1213, allocations: 5.524 MB / 395.5 MB, free: 9.68 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.75e-05/0.1214, allocations: 36 kB / 395.5 MB, free: 9.645 MB / 394.7 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.004317/0.1257, allocations: 3.592 MB / 399.1 MB, free: 6.043 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.917e-05/0.1258, allocations: 60.91 kB / 399.2 MB, free: 5.984 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001075/0.1259, allocations: 132 kB / 399.3 MB, free: 5.855 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001154/0.126, allocations: 172 kB / 399.5 MB, free: 5.688 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002141/0.1281, allocations: 1.353 MB / 400.8 MB, free: 4.332 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001224/0.1282, allocations: 247 kB / 401 MB, free: 4.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001898/0.1301, allocations: 239.7 kB / 401.3 MB, free: 3.855 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002592/0.1304, allocations: 296 kB / 401.6 MB, free: 3.566 MB / 394.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.001025/0.1314, allocations: 0.5679 MB / 402.1 MB, free: 2.984 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000246/0.1317, allocations: 167.8 kB / 402.3 MB, free: 2.82 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006354/0.1323, allocations: 0.5012 MB / 402.8 MB, free: 2.309 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.1323, allocations: 8 kB / 402.8 MB, free: 2.301 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.1323, allocations: 4 kB / 402.8 MB, free: 2.297 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.1323, allocations: 3.984 kB / 402.8 MB, free: 2.293 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002905/0.1352, allocations: 2.2 MB / 405 MB, free: 32 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.481e-05/0.1352, allocations: 11.98 kB / 405 MB, free: 20 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003578/0.1356, allocations: 143.8 kB / 405.2 MB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002477/0.1359, allocations: 258 kB / 405.4 MB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001699/0.136, allocations: 39.64 kB / 405.5 MB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.15e-05/0.1361, allocations: 23.98 kB / 405.5 MB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001264/0.1373, allocations: 1.418 MB / 406.9 MB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.88e-06/0.1373, allocations: 7.922 kB / 406.9 MB, free: 14.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009921/0.1383, allocations: 1.215 MB / 408.1 MB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/0.1385, allocations: 19.92 kB / 408.1 MB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003987/0.1389, allocations: 32 kB / 408.2 MB, free: 12.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.457e-05/0.1389, allocations: 43.91 kB / 408.2 MB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-05/0.139, allocations: 31.98 kB / 408.2 MB, free: 12.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007958/0.1398, allocations: 1.032 MB / 409.3 MB, free: 11.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1398, allocations: 3.938 kB / 409.3 MB, free: 11.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00214/0.1419, allocations: 0.7811 MB / 410.1 MB, free: 10.83 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.0002725/0.1422, allocations: 148.1 kB / 410.2 MB, free: 10.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001987/0.1442, allocations: 2.045 MB / 412.3 MB, free: 8.656 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001473/0.1443, allocations: 96.16 kB / 412.4 MB, free: 8.555 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004486/0.1448, allocations: 399.1 kB / 412.7 MB, free: 8.152 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002472/0.1472, allocations: 2.649 MB / 415.4 MB, free: 5.125 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009783/0.157, allocations: 5.889 MB / 421.3 MB, free: 15.15 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007973/0.1578, allocations: 0.9864 MB / 422.3 MB, free: 14.15 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009162/0.1587, allocations: 423.1 kB / 422.7 MB, free: 13.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005728/0.1593, allocations: 465.1 kB / 423.1 MB, free: 13.27 MB / 426.7 MB Notification: Performance of SimCode: time 2.034e-06/0.1593, allocations: 0 / 423.1 MB, free: 13.27 MB / 426.7 MB Notification: Performance of Templates: time 0.2452/0.4045, allocations: 20.92 MB / 444 MB, free: 108.8 MB / 426.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8753875149413943]