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.0009247/0.0009247, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001297/0.002222, allocations: 449.7 kB / 10.37 MB, free: 324 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.0009006/0.0009006, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001226/0.002126, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.9504/0.9504, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08513/1.036, allocations: 53.87 MB / 243.7 MB, free: 14.91 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.2606/0.2606, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03165/0.2922, allocations: 13.23 MB / 292.6 MB, free: 6.465 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.493e-06/1.493e-06, allocations: 0 / 293.8 MB, free: 5.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.847e-05/1.996e-05, allocations: 6.516 kB / 293.9 MB, free: 5.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01659/0.01661, allocations: 15.19 MB / 309 MB, free: 5.941 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01349/0.0301, allocations: 5.599 MB / 314.6 MB, free: 324 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002936/0.03303, allocations: 131.3 kB / 314.8 MB, free: 192 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007828/0.04086, allocations: 5.182 MB / 320 MB, free: 10.99 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007595/0.04846, allocations: 2.749 MB / 322.7 MB, free: 8.227 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003317/0.05177, allocations: 1.439 MB / 324.1 MB, free: 6.785 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.009959/0.06173, allocations: 8.576 MB / 332.7 MB, free: 14.2 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004275/0.06601, allocations: 5.577 MB / 338.3 MB, free: 8.512 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005235/0.07124, allocations: 5.44 MB / 343.7 MB, free: 3.047 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003972/0.07521, allocations: 4.026 MB / 347.8 MB, free: 15.01 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007325/0.07595, allocations: 0.6484 MB / 348.4 MB, free: 14.36 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00222/0.07817, allocations: 1.775 MB / 350.2 MB, free: 12.59 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001884/0.08005, allocations: 3.204 MB / 353.4 MB, free: 9.375 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001917/0.08197, allocations: 1.827 MB / 355.2 MB, free: 7.543 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006119/0.08809, allocations: 6.988 MB / 362.2 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.625e-05/0.0881, allocations: 0 / 362.2 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.0881, allocations: 0 / 362.2 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.224e-05/0.0882, allocations: 0 / 362.2 MB, free: 0.5312 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: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.009074/0.09727, allocations: 8.755 MB / 371 MB, free: 7.688 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.09731, allocations: 8.922 kB / 371 MB, free: 7.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004646/0.102, allocations: 1.585 MB / 372.6 MB, free: 6.094 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003946/0.1059, allocations: 3.475 MB / 376 MB, free: 2.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004677/0.1064, allocations: 382.2 kB / 376.4 MB, free: 2.145 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005488/0.1069, allocations: 0.5042 MB / 376.9 MB, free: 1.641 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008365/0.1153, allocations: 7.428 MB / 384.3 MB, free: 9.281 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001146/0.1154, allocations: 59.5 kB / 384.4 MB, free: 9.223 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003744/0.1158, allocations: 235.8 kB / 384.6 MB, free: 8.992 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001779/0.1176, allocations: 2.31 MB / 386.9 MB, free: 6.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00585/0.1234, allocations: 3.753 MB / 390.7 MB, free: 2.875 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03563/0.159, allocations: 43.03 MB / 433.7 MB, free: 6.426 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005706/0.1647, allocations: 2.702 MB / 436.4 MB, free: 3.688 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007834/0.1655, allocations: 0.6511 MB / 437.1 MB, free: 3.027 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2005/0.366, allocations: 6.621 MB / 443.7 MB, free: 100.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.646e-05/0.366, allocations: 61.62 kB / 443.8 MB, free: 100.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=229): time 5.921e-06/0.366, allocations: 0 / 443.8 MB, free: 100.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=313): time 0.0321/0.3982, allocations: 12.45 MB / 456.2 MB, free: 99.65 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.925e-05/0.3982, allocations: 165.4 kB / 456.4 MB, free: 99.49 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0051/0.4033, allocations: 4.429 MB / 460.8 MB, free: 98.86 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006286/0.4039, allocations: 74.55 kB / 460.9 MB, free: 98.83 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001756/0.4057, allocations: 4.174 MB / 465 MB, free: 96.15 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00124/0.4069, allocations: 1.202 MB / 466.2 MB, free: 95.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001581/0.4085, allocations: 1.597 MB / 467.8 MB, free: 95.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.825e-05/0.4086, allocations: 301.1 kB / 468.1 MB, free: 94.95 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001804/0.4104, allocations: 1.15 MB / 469.3 MB, free: 94.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002932/0.4133, allocations: 5.706 MB / 475 MB, free: 88.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0052/0.4185, allocations: 7.526 MB / 482.5 MB, free: 80.91 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001062/0.4186, allocations: 48 kB / 482.6 MB, free: 80.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.009891/0.4285, allocations: 6.358 MB / 488.9 MB, free: 75.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.36e-05/0.4286, allocations: 76 kB / 489 MB, free: 75.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001261/0.4287, allocations: 168.9 kB / 489.2 MB, free: 75.53 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003532/0.4322, allocations: 1.441 MB / 490.6 MB, free: 74.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003891/0.4361, allocations: 2.045 MB / 492.6 MB, free: 72.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005646/0.4418, allocations: 4.678 MB / 497.3 MB, free: 67.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004531/0.4463, allocations: 359.4 kB / 497.7 MB, free: 67.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007285/0.447, allocations: 412 kB / 498.1 MB, free: 67.07 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.002039/0.4491, allocations: 0.7804 MB / 498.9 MB, free: 66.28 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008074/0.4499, allocations: 359.6 kB / 499.2 MB, free: 65.93 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003728/0.4536, allocations: 2.456 MB / 0.4899 GB, free: 63.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.092e-05/0.4536, allocations: 34.5 kB / 0.4899 GB, free: 63.39 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/0.4536, allocations: 8 kB / 0.4899 GB, free: 63.39 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.528e-05/0.4536, allocations: 15.95 kB / 0.49 GB, free: 63.37 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01182/0.4655, allocations: 8.265 MB / 0.498 GB, free: 55.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.682e-05/0.4655, allocations: 12 kB / 0.498 GB, free: 55.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001845/0.4673, allocations: 0.4884 MB / 0.4985 GB, free: 55.27 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001906/0.4692, allocations: 492.7 kB / 0.499 GB, free: 54.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003978/0.4732, allocations: 1.435 MB / 0.5004 GB, free: 53.36 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003789/0.4736, allocations: 67.98 kB / 0.5005 GB, free: 53.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004414/0.478, allocations: 3.551 MB / 0.5039 GB, free: 49.69 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.386e-06/0.478, allocations: 19.94 kB / 0.5039 GB, free: 49.67 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004816/0.4828, allocations: 3.86 MB / 0.5077 GB, free: 45.53 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007008/0.4835, allocations: 63.98 kB / 0.5078 GB, free: 45.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/0.4847, allocations: 75.92 kB / 0.5078 GB, free: 45.39 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002463/0.4849, allocations: 229.3 kB / 0.5081 GB, free: 45.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001191/0.485, allocations: 72 kB / 0.5081 GB, free: 45.09 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001605/0.4866, allocations: 1.723 MB / 0.5098 GB, free: 43.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4866, allocations: 0 / 0.5098 GB, free: 43.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004342/0.491, allocations: 1.75 MB / 0.5115 GB, free: 41.84 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.0004076/0.4914, allocations: 268 kB / 0.5118 GB, free: 41.58 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003436/0.4948, allocations: 3.837 MB / 0.5155 GB, free: 37.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001808/0.495, allocations: 140 kB / 0.5157 GB, free: 37.69 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009025/0.4959, allocations: 1.131 MB / 0.5168 GB, free: 36.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002637/0.4985, allocations: 1.365 MB / 0.5181 GB, free: 35.22 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01551/0.514, allocations: 12.3 MB / 0.5301 GB, free: 22.73 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001713/0.5158, allocations: 1.976 MB / 0.532 GB, free: 20.73 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00201/0.5178, allocations: 0.7169 MB / 0.5327 GB, free: 20.01 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001314/0.5191, allocations: 0.8056 MB / 0.5335 GB, free: 19.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.974e-06/0.5191, allocations: 0 / 0.5335 GB, free: 19.2 MB / 426.7 MB Notification: Performance of Templates: time 0.07619/0.5953, allocations: 63.2 MB / 0.5952 GB, free: 4.617 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.58783554751426]