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.0009034/0.0009034, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 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.0009145/0.0009145, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 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.9161/0.9161, allocations: 177 MB / 205.2 MB, free: 5.043 MB / 186.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.2658/0.2658, allocations: 34.86 MB / 296.6 MB, free: 456 kB / 266.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 6.21e-07/6.21e-07, allocations: 0 / 325.9 MB, free: 7.172 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.404e-06/8.025e-06, allocations: 2.312 kB / 325.9 MB, free: 7.168 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01085/0.01086, allocations: 15.05 MB / 340.9 MB, free: 8.055 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008038/0.0189, allocations: 5.544 MB / 346.5 MB, free: 2.492 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/0.01997, allocations: 135.3 kB / 346.6 MB, free: 2.359 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004467/0.02444, allocations: 5.494 MB / 352.1 MB, free: 12.85 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0032/0.02764, allocations: 2.795 MB / 354.9 MB, free: 10.04 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001687/0.02932, allocations: 1.583 MB / 356.5 MB, free: 8.453 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005968/0.03529, allocations: 9.328 MB / 365.8 MB, free: 15.11 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004051/0.03934, allocations: 6.287 MB / 372.1 MB, free: 8.703 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004493/0.04384, allocations: 5.724 MB / 377.8 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003093/0.04693, allocations: 4.057 MB / 381.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005591/0.04749, allocations: 0.6445 MB / 382.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001911/0.0494, allocations: 1.728 MB / 384.3 MB, free: 12.53 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001972/0.05137, allocations: 3.604 MB / 387.9 MB, free: 8.918 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001654/0.05303, allocations: 2.271 MB / 390.1 MB, free: 6.641 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00569/0.05872, allocations: 7.557 MB / 397.7 MB, free: 15.06 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.05872, allocations: 0 / 397.7 MB, free: 15.06 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.05872, allocations: 0 / 397.7 MB, free: 15.06 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.292e-05/0.05877, allocations: 0 / 397.7 MB, free: 15.06 MB / 378.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.007181/0.06595, allocations: 7.32 MB / 405 MB, free: 7.668 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.06598, allocations: 12.03 kB / 405 MB, free: 7.656 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003597/0.06958, allocations: 1.604 MB / 406.6 MB, free: 6.051 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003523/0.0731, allocations: 3.459 MB / 410.1 MB, free: 2.492 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001701/0.07327, allocations: 378.2 kB / 410.5 MB, free: 2.121 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005384/0.07381, allocations: 0.512 MB / 411 MB, free: 1.609 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007742/0.08155, allocations: 7.424 MB / 418.4 MB, free: 9.254 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001035/0.08166, allocations: 63.45 kB / 418.5 MB, free: 9.191 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000375/0.08203, allocations: 239.8 kB / 418.7 MB, free: 8.957 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001774/0.08381, allocations: 2.306 MB / 421 MB, free: 6.648 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005842/0.08965, allocations: 3.757 MB / 424.8 MB, free: 2.836 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1925/0.2822, allocations: 42.99 MB / 467.7 MB, free: 58.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006472/0.2887, allocations: 2.749 MB / 470.5 MB, free: 58.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001139/0.2898, allocations: 0.6389 MB / 471.1 MB, free: 58.65 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01009/0.2999, allocations: 6.664 MB / 477.8 MB, free: 57.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.2999, allocations: 66.05 kB / 477.9 MB, free: 57.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=229): time 4.468e-06/0.2999, allocations: 0 / 477.9 MB, free: 57.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=313): time 0.031/0.3309, allocations: 12.72 MB / 490.6 MB, free: 54.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.713e-05/0.331, allocations: 246.2 kB / 490.8 MB, free: 54.31 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003879/0.3349, allocations: 4.421 MB / 495.2 MB, free: 51.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002083/0.3351, allocations: 73.94 kB / 495.3 MB, free: 51.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001266/0.3364, allocations: 4.176 MB / 499.5 MB, free: 47.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006071/0.337, allocations: 1.201 MB / 0.489 GB, free: 46.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001156/0.3381, allocations: 1.603 MB / 0.4905 GB, free: 45.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.791e-05/0.3382, allocations: 305.1 kB / 0.4908 GB, free: 45.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001676/0.3398, allocations: 1.141 MB / 0.4919 GB, free: 44.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002675/0.3425, allocations: 5.711 MB / 0.4975 GB, free: 36.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004904/0.3474, allocations: 7.511 MB / 0.5048 GB, free: 27.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.223e-05/0.3475, allocations: 48 kB / 0.5049 GB, free: 27.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.009365/0.3569, allocations: 6.358 MB / 0.5111 GB, free: 22.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.533e-05/0.3569, allocations: 72 kB / 0.5112 GB, free: 21.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001334/0.357, allocations: 165.1 kB / 0.5113 GB, free: 21.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00356/0.3606, allocations: 1.449 MB / 0.5127 GB, free: 20.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003434/0.364, allocations: 1.825 MB / 0.5145 GB, free: 18.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006926/0.371, allocations: 4.676 MB / 0.5191 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00478/0.3757, allocations: 351.6 kB / 0.5194 GB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006144/0.3764, allocations: 415.8 kB / 0.5198 GB, free: 13.08 MB / 410.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.002059/0.3784, allocations: 0.7818 MB / 0.5206 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007876/0.3792, allocations: 363.6 kB / 0.5209 GB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004779/0.384, allocations: 2.455 MB / 0.5233 GB, free: 9.434 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.633e-05/0.384, allocations: 32 kB / 0.5234 GB, free: 9.402 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.258e-05/0.384, allocations: 8 kB / 0.5234 GB, free: 9.395 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-05/0.384, allocations: 15.95 kB / 0.5234 GB, free: 9.379 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01359/0.3976, allocations: 8.265 MB / 0.5315 GB, free: 1.777 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.789e-05/0.3977, allocations: 12 kB / 0.5315 GB, free: 1.766 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001264/0.3989, allocations: 427.4 kB / 0.5319 GB, free: 1.348 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00451/0.4034, allocations: 1.437 MB / 0.5333 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002439/0.4037, allocations: 64 kB / 0.5333 GB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006568/0.4102, allocations: 3.521 MB / 0.5368 GB, free: 12.28 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.3e-05/0.4103, allocations: 19.94 kB / 0.5368 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007069/0.4173, allocations: 3.87 MB / 0.5406 GB, free: 8.113 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001825/0.4192, allocations: 499.3 kB / 0.541 GB, free: 7.633 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005919/0.4197, allocations: 67.98 kB / 0.5411 GB, free: 7.566 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/0.4209, allocations: 64 kB / 0.5412 GB, free: 7.504 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004414/0.4214, allocations: 236.6 kB / 0.5414 GB, free: 7.273 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001616/0.4216, allocations: 84.02 kB / 0.5415 GB, free: 7.191 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002506/0.4241, allocations: 1.719 MB / 0.5432 GB, free: 5.691 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.4241, allocations: 0 / 0.5432 GB, free: 5.691 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006605/0.4307, allocations: 1.742 MB / 0.5449 GB, free: 3.945 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.0005688/0.4312, allocations: 264.3 kB / 0.5451 GB, free: 3.684 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004959/0.4362, allocations: 3.833 MB / 0.5489 GB, free: 15.93 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002048/0.4364, allocations: 116.3 kB / 0.549 GB, free: 15.81 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001404/0.4378, allocations: 1.138 MB / 0.5501 GB, free: 14.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003849/0.4416, allocations: 0.9892 MB / 0.551 GB, free: 13.73 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01837/0.46, allocations: 11.97 MB / 0.5627 GB, free: 1.551 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002347/0.4624, allocations: 1.969 MB / 0.5647 GB, free: 15.55 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002237/0.4646, allocations: 0.713 MB / 0.5654 GB, free: 14.84 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001468/0.4661, allocations: 0.8057 MB / 0.5661 GB, free: 14.03 MB / 458.7 MB Notification: Performance of SimCode: time 1.784e-06/0.4661, allocations: 0 / 0.5661 GB, free: 14.03 MB / 458.7 MB Notification: Performance of Templates: time 0.2383/0.7044, allocations: 62.02 MB / 0.6267 GB, free: 151.1 MB / 490.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 -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.638089346233755]