Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.0008566/0.0008566, allocations: 76.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001284/0.002141, allocations: 457.8 kB / 10.45 MB, free: 240 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.000791/0.000791, allocations: 162 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001138/0.001929, allocations: 475.6 kB / 11.82 MB, free: 2.344 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.9938/0.9938, allocations: 177.5 MB / 190 MB, free: 4.801 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09341/1.087, allocations: 53.87 MB / 243.9 MB, free: 14.86 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.2837/0.2837, allocations: 34.88 MB / 279.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02986/0.3135, allocations: 13.24 MB / 292.8 MB, free: 6.398 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.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 294.1 MB, free: 5.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.612e-05/2.769e-05, allocations: 3.516 kB / 294.1 MB, free: 5.105 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01302/0.01305, allocations: 15.2 MB / 309.3 MB, free: 5.844 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01126/0.02431, allocations: 5.601 MB / 314.9 MB, free: 232 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003205/0.02751, allocations: 131.3 kB / 315 MB, free: 100 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006358/0.03387, allocations: 5.186 MB / 320.2 MB, free: 10.89 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007315/0.04118, allocations: 2.745 MB / 322.9 MB, free: 8.137 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003294/0.04448, allocations: 1.439 MB / 324.4 MB, free: 6.695 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01002/0.0545, allocations: 8.573 MB / 333 MB, free: 14.12 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007489/0.06199, allocations: 5.573 MB / 338.5 MB, free: 8.426 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01195/0.07394, allocations: 5.436 MB / 344 MB, free: 2.965 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005906/0.07985, allocations: 4.03 MB / 348 MB, free: 14.93 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00217/0.08202, allocations: 0.6445 MB / 348.6 MB, free: 14.28 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004017/0.08604, allocations: 1.779 MB / 350.4 MB, free: 12.5 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003289/0.08932, allocations: 3.204 MB / 353.6 MB, free: 9.289 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002894/0.09222, allocations: 1.831 MB / 355.5 MB, free: 7.453 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008661/0.1009, allocations: 6.98 MB / 362.4 MB, free: 460 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.486e-05/0.1009, allocations: 0 / 362.4 MB, free: 460 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1009, allocations: 0 / 362.4 MB, free: 460 kB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000435/0.1013, allocations: 0 / 362.4 MB, free: 460 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.01406/0.1154, allocations: 8.748 MB / 371.2 MB, free: 7.613 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.1154, allocations: 8.922 kB / 371.2 MB, free: 7.605 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004149/0.1196, allocations: 1.597 MB / 372.8 MB, free: 6.008 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006027/0.1256, allocations: 3.455 MB / 376.2 MB, free: 2.453 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002352/0.1258, allocations: 382.2 kB / 376.6 MB, free: 2.078 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001043/0.1269, allocations: 0.5042 MB / 377.1 MB, free: 1.574 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01359/0.1405, allocations: 7.44 MB / 384.6 MB, free: 9.203 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001928/0.1407, allocations: 59.52 kB / 384.6 MB, free: 9.145 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005197/0.1412, allocations: 231.8 kB / 384.8 MB, free: 8.918 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002122/0.1433, allocations: 2.185 MB / 387 MB, free: 6.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009552/0.1529, allocations: 3.742 MB / 390.8 MB, free: 2.938 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04237/0.1952, allocations: 43.04 MB / 433.8 MB, free: 6.484 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006134/0.2014, allocations: 2.684 MB / 436.5 MB, free: 3.758 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008453/0.2022, allocations: 0.6474 MB / 437.1 MB, free: 3.102 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1831/0.3853, allocations: 6.638 MB / 443.8 MB, free: 117.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.367e-05/0.3853, allocations: 56.34 kB / 443.8 MB, free: 117.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=229): time 5.19e-06/0.3853, allocations: 0 / 443.8 MB, free: 117.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=313): time 0.03273/0.418, allocations: 12.71 MB / 456.5 MB, free: 117.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.4181, allocations: 160.5 kB / 456.7 MB, free: 117.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004133/0.4222, allocations: 4.429 MB / 461.1 MB, free: 116 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005863/0.4228, allocations: 77.66 kB / 461.2 MB, free: 116 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002085/0.4249, allocations: 4.173 MB / 465.4 MB, free: 112.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001058/0.426, allocations: 1.204 MB / 466.6 MB, free: 111.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001672/0.4276, allocations: 1.599 MB / 468.2 MB, free: 110.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.404e-05/0.4277, allocations: 308.5 kB / 468.5 MB, free: 110.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002147/0.4298, allocations: 1.141 MB / 469.6 MB, free: 109 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003206/0.433, allocations: 5.706 MB / 475.3 MB, free: 101.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006027/0.439, allocations: 8.082 MB / 483.4 MB, free: 91.21 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001048/0.4391, allocations: 44 kB / 483.5 MB, free: 91.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01085/0.45, allocations: 6.352 MB / 489.8 MB, free: 84.75 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.756e-05/0.4501, allocations: 72 kB / 489.9 MB, free: 84.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001513/0.4502, allocations: 174.2 kB / 490.1 MB, free: 84.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004573/0.4548, allocations: 1.466 MB / 491.5 MB, free: 83.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004759/0.4596, allocations: 2.047 MB / 493.6 MB, free: 81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006849/0.4664, allocations: 4.681 MB / 498.2 MB, free: 76.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004946/0.4713, allocations: 347.7 kB / 498.6 MB, free: 75.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007293/0.4721, allocations: 412 kB / 499 MB, free: 75.48 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 738 * Number of states: 0 () * Number of discrete variables: 46 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (1031): * Single equations (assignments): 1027 * 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,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002041/0.4741, allocations: 0.7844 MB / 499.8 MB, free: 74.69 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007562/0.4749, allocations: 358.3 kB / 0.4884 GB, free: 74.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004485/0.4794, allocations: 2.464 MB / 0.4908 GB, free: 71.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.459e-05/0.4794, allocations: 28 kB / 0.4908 GB, free: 71.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.646e-05/0.4794, allocations: 8 kB / 0.4908 GB, free: 71.79 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.422e-05/0.4794, allocations: 15.95 kB / 0.4909 GB, free: 71.77 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01306/0.4925, allocations: 8.274 MB / 0.4989 GB, free: 63.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.14e-05/0.4925, allocations: 20 kB / 0.499 GB, free: 63.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/0.4935, allocations: 495.3 kB / 0.4994 GB, free: 62.72 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009414/0.4945, allocations: 492.4 kB / 0.4999 GB, free: 62.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003146/0.4976, allocations: 1.45 MB / 0.5013 GB, free: 60.78 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001207/0.4977, allocations: 69.31 kB / 0.5014 GB, free: 60.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004181/0.5019, allocations: 3.542 MB / 0.5048 GB, free: 57.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.263e-06/0.5019, allocations: 19.94 kB / 0.5049 GB, free: 57.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004247/0.5062, allocations: 3.867 MB / 0.5086 GB, free: 52.84 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004748/0.5067, allocations: 72.02 kB / 0.5087 GB, free: 52.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/0.5077, allocations: 75.92 kB / 0.5088 GB, free: 52.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000264/0.5079, allocations: 229.3 kB / 0.509 GB, free: 52.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/0.5081, allocations: 72 kB / 0.5091 GB, free: 52.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001187/0.5092, allocations: 1.724 MB / 0.5107 GB, free: 50.69 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5092, allocations: 0 / 0.5107 GB, free: 50.69 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004906/0.5142, allocations: 1.75 MB / 0.5125 GB, free: 48.94 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * Number of states: 2 (revolute.phi,revolute.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 (251): * Single equations (assignments): 247 * 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,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005305/0.5147, allocations: 263.6 kB / 0.5127 GB, free: 48.67 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004328/0.519, allocations: 3.991 MB / 0.5166 GB, free: 44.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002143/0.5192, allocations: 148 kB / 0.5167 GB, free: 44.65 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001952/0.5212, allocations: 1.924 MB / 0.5186 GB, free: 42.69 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002766/0.5239, allocations: 4.64 MB / 0.5232 GB, free: 37.37 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01399/0.5379, allocations: 12.28 MB / 0.5352 GB, free: 24.83 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001274/0.5392, allocations: 1.976 MB / 0.5371 GB, free: 22.82 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001518/0.5407, allocations: 0.7091 MB / 0.5378 GB, free: 22.11 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001064/0.5418, allocations: 0.7823 MB / 0.5385 GB, free: 21.33 MB / 426.7 MB Notification: Performance of SimCode: time 1.173e-06/0.5418, allocations: 0 / 0.5385 GB, free: 21.33 MB / 426.7 MB Notification: Performance of Templates: time 0.2292/0.771, allocations: 62.44 MB / 0.5995 GB, free: 147.5 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.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.54113688506186]