Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.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.001568/0.001568, allocations: 88.23 kB / 20.2 MB, free: 4.227 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.001581/0.001581, allocations: 157.7 kB / 23.51 MB, free: 0.9219 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 1.507/1.507, allocations: 158.6 MB / 185.3 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] 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.2208/0.2208, allocations: 32.37 MB / 270 MB, free: 14.77 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.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar") translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 346.9 MB, free: 9.801 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.572e-05/2.736e-05, allocations: 2.312 kB / 346.9 MB, free: 9.797 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01235/0.01237, allocations: 13.69 MB / 360.6 MB, free: 12.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01075/0.02312, allocations: 4.307 MB / 364.9 MB, free: 7.723 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002758/0.02588, allocations: 95.62 kB / 365 MB, free: 7.629 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005412/0.03129, allocations: 2.351 MB / 367.4 MB, free: 5.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006138/0.03743, allocations: 2.228 MB / 369.6 MB, free: 3.027 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001838/0.03927, allocations: 0.6821 MB / 370.3 MB, free: 2.344 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006901/0.04617, allocations: 4.806 MB / 375.1 MB, free: 13.53 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005018/0.05119, allocations: 3.118 MB / 378.2 MB, free: 10.36 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004521/0.05571, allocations: 2.549 MB / 380.8 MB, free: 7.801 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004139/0.05984, allocations: 2.463 MB / 383.2 MB, free: 5.332 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007387/0.06058, allocations: 352 kB / 383.6 MB, free: 4.988 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002219/0.0628, allocations: 1.022 MB / 384.6 MB, free: 3.965 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002388/0.06519, allocations: 2.189 MB / 386.8 MB, free: 1.77 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002132/0.06732, allocations: 1.378 MB / 388.2 MB, free: 396 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0114/0.07872, allocations: 8.043 MB / 396.2 MB, free: 8.316 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.538e-06/0.07873, allocations: 7.938 kB / 396.2 MB, free: 8.309 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.07873, allocations: 0 / 396.2 MB, free: 8.309 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002407/0.07897, allocations: 0 / 396.2 MB, free: 8.309 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1914 * Number of variables: 1914 Notification: Performance of Generate backend data structure: time 0.01264/0.09162, allocations: 5.325 MB / 401.5 MB, free: 2.922 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.09167, allocations: 12.03 kB / 401.6 MB, free: 2.91 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01595/0.1076, allocations: 3.995 MB / 405.5 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009727/0.1173, allocations: 2.434 MB / 408 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004507/0.1178, allocations: 266.9 kB / 408.2 MB, free: 12.17 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001875/0.1197, allocations: 344.1 kB / 408.6 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03704/0.1567, allocations: 12.65 MB / 421.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001792/0.1569, allocations: 31.7 kB / 421.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008763/0.1578, allocations: 159.8 kB / 421.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008565/0.1663, allocations: 2.997 MB / 424.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03139/0.1977, allocations: 11.29 MB / 435.7 MB, free: 160 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2516/0.4494, allocations: 38.94 MB / 474.6 MB, free: 56.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008488/0.4578, allocations: 3.737 MB / 478.4 MB, free: 52.78 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002925/0.4608, allocations: 2.274 MB / 480.7 MB, free: 50.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00081/0.4616, allocations: 451.3 kB / 481.1 MB, free: 50.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/0.4616, allocations: 64.48 kB / 481.2 MB, free: 50 MB / 362.7 MB Notification: Performance of pre-optimization done (n=250): time 5.811e-06/0.4616, allocations: 4 kB / 481.2 MB, free: 49.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=268): time 0.04588/0.5075, allocations: 20.04 MB / 0.4895 GB, free: 30.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.786e-05/0.5076, allocations: 103.1 kB / 0.4896 GB, free: 30.06 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004012/0.5116, allocations: 3.269 MB / 0.4927 GB, free: 26.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003334/0.5119, allocations: 60.75 kB / 0.4928 GB, free: 26.83 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001394/0.5133, allocations: 3.409 MB / 0.4961 GB, free: 23.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008231/0.5141, allocations: 0.9973 MB / 0.4971 GB, free: 22.44 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001353/0.5155, allocations: 1.207 MB / 0.4983 GB, free: 21.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.475e-05/0.5156, allocations: 309 kB / 0.4986 GB, free: 20.92 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002774/0.5183, allocations: 2.491 MB / 0.501 GB, free: 18.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004043/0.5224, allocations: 5.896 MB / 0.5068 GB, free: 10.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008461/0.5308, allocations: 9.196 MB / 0.5157 GB, free: 4 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001571/0.531, allocations: 39.98 kB / 0.5158 GB, free: 15.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=813) (initialization): time 0.02206/0.5531, allocations: 9.47 MB / 0.525 GB, free: 6.477 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002006/0.5533, allocations: 56 kB / 0.5251 GB, free: 6.422 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000302/0.5536, allocations: 116 kB / 0.5252 GB, free: 6.309 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003995/0.5576, allocations: 1.116 MB / 0.5263 GB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00566/0.5632, allocations: 1.4 MB / 0.5277 GB, free: 3.789 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009286/0.5725, allocations: 5.394 MB / 0.5329 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00534/0.5778, allocations: 359.9 kB / 0.5333 GB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001224/0.5791, allocations: 352 kB / 0.5336 GB, free: 13.6 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 539 * Number of states: 0 () * Number of discrete variables: 42 (axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (751): * Single equations (assignments): 744 * Array equations: 6 * 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 {(4,11,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006125/0.5852, allocations: 2.493 MB / 0.536 GB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001135/0.5863, allocations: 381.9 kB / 0.5364 GB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01096/0.5973, allocations: 5.354 MB / 0.5416 GB, free: 5.309 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.042e-05/0.5974, allocations: 44 kB / 0.5417 GB, free: 5.266 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/0.5974, allocations: 8 kB / 0.5417 GB, free: 5.258 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.499e-05/0.5974, allocations: 11.95 kB / 0.5417 GB, free: 5.246 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02483/0.6222, allocations: 11.64 MB / 0.5531 GB, free: 9.449 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.5e-05/0.6223, allocations: 12 kB / 0.5531 GB, free: 9.438 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001869/0.6241, allocations: 427.5 kB / 0.5535 GB, free: 9.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003236/0.6274, allocations: 0.9409 MB / 0.5544 GB, free: 8.074 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002336/0.6276, allocations: 55.98 kB / 0.5544 GB, free: 8.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007878/0.6355, allocations: 4.7 MB / 0.559 GB, free: 3.219 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.116e-05/0.6355, allocations: 15.94 kB / 0.5591 GB, free: 3.203 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01497/0.6505, allocations: 8.064 MB / 0.5669 GB, free: 10.92 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002287/0.6528, allocations: 0.6696 MB / 0.5676 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005469/0.6533, allocations: 56.11 kB / 0.5676 GB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001568/0.6549, allocations: 184.5 kB / 0.5678 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004575/0.6553, allocations: 177.4 kB / 0.568 GB, free: 9.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002119/0.6555, allocations: 83.19 kB / 0.5681 GB, free: 9.762 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00331/0.6589, allocations: 1.869 MB / 0.5699 GB, free: 7.891 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.6589, allocations: 0 / 0.5699 GB, free: 7.891 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005925/0.6648, allocations: 1.187 MB / 0.571 GB, free: 6.703 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.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 (209): * Single equations (assignments): 202 * Array equations: 6 * 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 {(3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006674/0.6654, allocations: 222 kB / 0.5713 GB, free: 6.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01114/0.6766, allocations: 5.864 MB / 0.577 GB, free: 0.6328 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.18e-05/0.6766, allocations: 0 / 0.577 GB, free: 0.6328 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004212/0.6808, allocations: 2.101 MB / 0.579 GB, free: 14.52 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002797/0.6836, allocations: 358 kB / 0.5794 GB, free: 14.18 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0248/0.7084, allocations: 11.9 MB / 0.591 GB, free: 2.062 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1748/0.8832, allocations: 3.303 MB / 0.5942 GB, free: 148 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005172/0.8884, allocations: 2.165 MB / 0.5963 GB, free: 147.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008164/0.8892, allocations: 231 kB / 0.5966 GB, free: 147.9 MB / 442.7 MB Notification: Performance of SimCode: time 2.986e-06/0.8892, allocations: 3.125 kB / 0.5966 GB, free: 147.9 MB / 442.7 MB Notification: Performance of Templates: time 0.05543/0.9446, allocations: 30.61 MB / 0.6265 GB, free: 131.5 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.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: 7.285184375941753]