Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008026/0.0008026, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001221/0.002023, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007688/0.0007688, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001104/0.001873, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9925/0.9925, allocations: 177.5 MB / 190 MB, free: 4.781 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09114/1.084, allocations: 53.88 MB / 243.9 MB, free: 14.83 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2792/0.2792, allocations: 34.88 MB / 279.5 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02918/0.3084, allocations: 13.24 MB / 292.8 MB, free: 6.371 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2") translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 294.1 MB, free: 5.059 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.324e-05/3.535e-05, allocations: 2.312 kB / 294.1 MB, free: 5.055 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.0139/0.01394, allocations: 17.2 MB / 311.3 MB, free: 3.789 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01019/0.02412, allocations: 5.462 MB / 316.8 MB, free: 14.3 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00214/0.02626, allocations: 131.4 kB / 316.9 MB, free: 14.18 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003558/0.02982, allocations: 3.129 MB / 320 MB, free: 11.04 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004407/0.03423, allocations: 2.694 MB / 322.7 MB, free: 8.328 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001662/0.03589, allocations: 1.064 MB / 323.8 MB, free: 7.262 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006974/0.04286, allocations: 8.599 MB / 332.4 MB, free: 14.66 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003637/0.0465, allocations: 3.985 MB / 336.4 MB, free: 10.61 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004151/0.05065, allocations: 4.129 MB / 340.5 MB, free: 6.461 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003376/0.05403, allocations: 3.636 MB / 344.1 MB, free: 2.816 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000689/0.05471, allocations: 460 kB / 344.6 MB, free: 2.367 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001793/0.05651, allocations: 1.319 MB / 345.9 MB, free: 1.047 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0019/0.05841, allocations: 2.696 MB / 348.6 MB, free: 14.34 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002811/0.06122, allocations: 1.503 MB / 350.1 MB, free: 12.84 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007166/0.06838, allocations: 6.168 MB / 356.3 MB, free: 6.645 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.174e-05/0.0684, allocations: 0 / 356.3 MB, free: 6.645 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.0684, allocations: 4 kB / 356.3 MB, free: 6.641 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002206/0.06862, allocations: 0 / 356.3 MB, free: 6.641 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2169 * Number of variables: 2169 Notification: Performance of Generate backend data structure: time 0.00977/0.07839, allocations: 7.907 MB / 364.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.07843, allocations: 12.03 kB / 364.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005376/0.0838, allocations: 1.885 MB / 366.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005251/0.08905, allocations: 2.875 MB / 369 MB, free: 9.816 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002122/0.08927, allocations: 324.4 kB / 369.3 MB, free: 9.496 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001027/0.09029, allocations: 428 kB / 369.7 MB, free: 9.078 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01094/0.1012, allocations: 6.964 MB / 376.7 MB, free: 1.367 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001595/0.1014, allocations: 55.52 kB / 376.7 MB, free: 1.312 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005397/0.1019, allocations: 199.8 kB / 376.9 MB, free: 1.117 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002506/0.1044, allocations: 2.627 MB / 379.5 MB, free: 14.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01002/0.1145, allocations: 3.867 MB / 383.4 MB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05055/0.165, allocations: 40.39 MB / 423.8 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006727/0.1717, allocations: 2.557 MB / 426.3 MB, free: 14.22 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001269/0.173, allocations: 0.6438 MB / 427 MB, free: 13.57 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01108/0.1841, allocations: 6.294 MB / 433.3 MB, free: 7.242 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.635e-05/0.1841, allocations: 52.56 kB / 433.3 MB, free: 7.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=256): time 7.595e-06/0.1841, allocations: 0 / 433.3 MB, free: 7.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=272): time 0.2012/0.3854, allocations: 9.984 MB / 443.3 MB, free: 121.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.3854, allocations: 79.88 kB / 443.4 MB, free: 121.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004117/0.3895, allocations: 3.846 MB / 447.2 MB, free: 121.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002749/0.3898, allocations: 58.89 kB / 447.3 MB, free: 121 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001345/0.3911, allocations: 3.99 MB / 451.3 MB, free: 118.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008058/0.3919, allocations: 1.047 MB / 452.3 MB, free: 117.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001328/0.3933, allocations: 1.397 MB / 453.7 MB, free: 117.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.586e-05/0.3933, allocations: 304.8 kB / 454 MB, free: 117.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001482/0.3948, allocations: 0.9684 MB / 455 MB, free: 117.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002717/0.3975, allocations: 5.039 MB / 460 MB, free: 112 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005305/0.4028, allocations: 7.144 MB / 467.2 MB, free: 106.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001341/0.4029, allocations: 39.19 kB / 467.2 MB, free: 106.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=994) (initialization): time 0.006957/0.4099, allocations: 5.112 MB / 472.3 MB, free: 104 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.468e-05/0.41, allocations: 70.19 kB / 472.4 MB, free: 103.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001582/0.4101, allocations: 164.8 kB / 472.6 MB, free: 103.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009124/0.411, allocations: 425.7 kB / 473 MB, free: 103.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003914/0.4149, allocations: 1.833 MB / 474.8 MB, free: 101.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002868/0.4178, allocations: 3.443 MB / 478.3 MB, free: 98.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005011/0.4228, allocations: 279.5 kB / 478.5 MB, free: 98.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006853/0.4235, allocations: 373.7 kB / 478.9 MB, free: 98.09 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 672 * Number of states: 0 () * Number of discrete variables: 50 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.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 (935): * Single equations (assignments): 927 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,8,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00219/0.4257, allocations: 0.7218 MB / 479.6 MB, free: 97.36 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007909/0.4265, allocations: 293.5 kB / 479.9 MB, free: 97.15 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002628/0.4291, allocations: 1.614 MB / 481.5 MB, free: 95.85 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.949e-05/0.4291, allocations: 24 kB / 481.5 MB, free: 95.83 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.4292, allocations: 4 kB / 481.5 MB, free: 95.82 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.744e-05/0.4292, allocations: 11.95 kB / 481.6 MB, free: 95.81 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009572/0.4387, allocations: 6.021 MB / 487.6 MB, free: 89.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.303e-05/0.4388, allocations: 24.2 kB / 487.6 MB, free: 89.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001321/0.4401, allocations: 429 kB / 488 MB, free: 89.15 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001147/0.4412, allocations: 425 kB / 488.4 MB, free: 88.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009639/0.4422, allocations: 407.6 kB / 488.8 MB, free: 88.32 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001556/0.4424, allocations: 51.98 kB / 488.9 MB, free: 88.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002112/0.4445, allocations: 3.101 MB / 492 MB, free: 84.98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.246e-05/0.4445, allocations: 23.67 kB / 492 MB, free: 84.96 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003169/0.4477, allocations: 2.273 MB / 494.3 MB, free: 82.47 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007475/0.4484, allocations: 59.94 kB / 494.3 MB, free: 82.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001285/0.4497, allocations: 55.97 kB / 494.4 MB, free: 82.36 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002841/0.45, allocations: 183.7 kB / 494.6 MB, free: 82.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001328/0.4501, allocations: 63.98 kB / 494.6 MB, free: 82.12 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001599/0.4517, allocations: 1.452 MB / 496.1 MB, free: 80.66 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4517, allocations: 0 / 496.1 MB, free: 80.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005267/0.457, allocations: 1.5 MB / 497.6 MB, free: 79.16 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * Number of states: 7 (revolute.phi,revolute.w,revolute1.phi,revolute2.phi,revolute2.w,revolute3.phi,revolute3.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 (220): * Single equations (assignments): 212 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004644/0.4574, allocations: 191.8 kB / 497.8 MB, free: 78.96 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004809/0.4622, allocations: 3.407 MB / 0.4894 GB, free: 75.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002546/0.4625, allocations: 132.1 kB / 0.4896 GB, free: 75.52 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001339/0.4638, allocations: 1.075 MB / 0.4906 GB, free: 74.42 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007602/0.4714, allocations: 4.354 MB / 0.4949 GB, free: 69.46 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01849/0.4899, allocations: 11.26 MB / 0.5059 GB, free: 57.98 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001822/0.4918, allocations: 1.766 MB / 0.5076 GB, free: 56.18 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001866/0.4936, allocations: 0.6089 MB / 0.5082 GB, free: 55.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001032/0.4947, allocations: 0.7002 MB / 0.5089 GB, free: 54.87 MB / 426.7 MB Notification: Performance of SimCode: time 1.844e-06/0.4947, allocations: 0 / 0.5089 GB, free: 54.87 MB / 426.7 MB Notification: Performance of Templates: time 0.06355/0.5582, allocations: 43.82 MB / 0.5517 GB, free: 11.37 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Revolute2/Revolute2.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: 4.084345021285117]