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.001241/0.001241, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001288/0.001288, allocations: 163.4 kB / 24.91 MB, free: 8.715 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.9841/0.9841, allocations: 177 MB / 205.2 MB, free: 5.059 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.2795/0.2795, allocations: 34.86 MB / 296.6 MB, free: 416 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 1.433e-06/1.433e-06, allocations: 0 / 325.9 MB, free: 7.121 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.279e-05/2.423e-05, allocations: 6.609 kB / 325.9 MB, free: 7.117 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01103/0.01106, allocations: 15.09 MB / 341 MB, free: 7.957 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01001/0.02107, allocations: 5.548 MB / 346.6 MB, free: 2.391 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002427/0.0235, allocations: 131.3 kB / 346.7 MB, free: 2.262 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00533/0.02883, allocations: 5.408 MB / 352.1 MB, free: 12.84 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005/0.03383, allocations: 2.768 MB / 354.9 MB, free: 10.05 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002139/0.03597, allocations: 1.556 MB / 356.4 MB, free: 8.496 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00805/0.04402, allocations: 9.33 MB / 365.8 MB, free: 15.16 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007863/0.05188, allocations: 5.951 MB / 371.7 MB, free: 9.086 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008464/0.06034, allocations: 5.634 MB / 377.4 MB, free: 3.441 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005515/0.06586, allocations: 4.057 MB / 381.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001526/0.06738, allocations: 0.6445 MB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002965/0.07035, allocations: 1.791 MB / 383.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00323/0.07358, allocations: 3.597 MB / 387.5 MB, free: 9.332 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003867/0.07745, allocations: 2.263 MB / 389.7 MB, free: 7.062 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008979/0.08643, allocations: 7.561 MB / 397.3 MB, free: 15.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.894e-06/0.08643, allocations: 0 / 397.3 MB, free: 15.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.08643, allocations: 0 / 397.3 MB, free: 15.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002841/0.08672, allocations: 0 / 397.3 MB, free: 15.48 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.01166/0.09838, allocations: 7.312 MB / 404.6 MB, free: 8.094 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.09842, allocations: 12.03 kB / 404.6 MB, free: 8.082 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005225/0.1036, allocations: 1.608 MB / 406.2 MB, free: 6.473 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004947/0.1086, allocations: 3.451 MB / 409.7 MB, free: 2.922 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002407/0.1088, allocations: 382.2 kB / 410 MB, free: 2.547 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007424/0.1096, allocations: 0.5158 MB / 410.5 MB, free: 2.031 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01016/0.1197, allocations: 7.428 MB / 418 MB, free: 9.672 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001177/0.1199, allocations: 63.45 kB / 418 MB, free: 9.609 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003757/0.1202, allocations: 235.8 kB / 418.3 MB, free: 9.379 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00181/0.122, allocations: 2.318 MB / 420.6 MB, free: 7.059 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008545/0.1306, allocations: 3.748 MB / 424.3 MB, free: 3.254 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1914/0.322, allocations: 43 MB / 467.3 MB, free: 77.83 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006135/0.3281, allocations: 2.737 MB / 470.1 MB, free: 77.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009928/0.3291, allocations: 0.6439 MB / 470.7 MB, free: 77.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008838/0.338, allocations: 6.658 MB / 477.4 MB, free: 76.72 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.338, allocations: 66.58 kB / 477.4 MB, free: 76.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=229): time 3.647e-06/0.338, allocations: 0 / 477.4 MB, free: 76.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=313): time 0.03184/0.3698, allocations: 12.74 MB / 490.2 MB, free: 67.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.344e-05/0.3699, allocations: 243.3 kB / 490.4 MB, free: 67.33 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004401/0.3743, allocations: 4.423 MB / 494.8 MB, free: 63.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000296/0.3746, allocations: 73.69 kB / 494.9 MB, free: 63.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001347/0.3759, allocations: 4.181 MB / 499.1 MB, free: 59.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00077/0.3767, allocations: 1.197 MB / 0.4886 GB, free: 58.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001248/0.378, allocations: 1.593 MB / 0.4901 GB, free: 56.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.569e-05/0.378, allocations: 309.1 kB / 0.4904 GB, free: 56.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001713/0.3797, allocations: 1.145 MB / 0.4915 GB, free: 55.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00261/0.3823, allocations: 5.711 MB / 0.4971 GB, free: 47.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005013/0.3873, allocations: 7.53 MB / 0.5045 GB, free: 37.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001399/0.3875, allocations: 48 kB / 0.5045 GB, free: 37.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.009631/0.3971, allocations: 6.344 MB / 0.5107 GB, free: 31.42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.575e-05/0.3972, allocations: 80.03 kB / 0.5108 GB, free: 31.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001478/0.3973, allocations: 160 kB / 0.5109 GB, free: 31.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003779/0.4011, allocations: 1.45 MB / 0.5123 GB, free: 29.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003585/0.4047, allocations: 1.915 MB / 0.5142 GB, free: 27.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005785/0.4105, allocations: 4.687 MB / 0.5188 GB, free: 23.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004373/0.4148, allocations: 347.7 kB / 0.5191 GB, free: 22.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006937/0.4155, allocations: 416 kB / 0.5195 GB, free: 22.29 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.002205/0.4177, allocations: 0.7742 MB / 0.5203 GB, free: 21.51 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008706/0.4186, allocations: 363.6 kB / 0.5206 GB, free: 21.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003896/0.4225, allocations: 2.444 MB / 0.523 GB, free: 18.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.165e-05/0.4225, allocations: 39.92 kB / 0.523 GB, free: 18.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/0.4226, allocations: 12 kB / 0.5231 GB, free: 18.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.55e-05/0.4226, allocations: 15.95 kB / 0.5231 GB, free: 18.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01186/0.4344, allocations: 8.267 MB / 0.5311 GB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.417e-05/0.4344, allocations: 12 kB / 0.5312 GB, free: 10.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/0.4355, allocations: 472 kB / 0.5316 GB, free: 9.566 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003384/0.4389, allocations: 1.437 MB / 0.533 GB, free: 8.125 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002797/0.4391, allocations: 63.98 kB / 0.5331 GB, free: 8.062 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005051/0.4442, allocations: 3.538 MB / 0.5365 GB, free: 4.426 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/0.4442, allocations: 15.94 kB / 0.5365 GB, free: 4.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0055/0.4497, allocations: 3.876 MB / 0.5403 GB, free: 200 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001377/0.4511, allocations: 496.5 kB / 0.5408 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007149/0.4518, allocations: 60 kB / 0.5409 GB, free: 15.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001318/0.4531, allocations: 67.98 kB / 0.5409 GB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004473/0.4536, allocations: 237 kB / 0.5412 GB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000154/0.4537, allocations: 72 kB / 0.5412 GB, free: 15.28 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002307/0.456, allocations: 1.724 MB / 0.5429 GB, free: 13.57 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.456, allocations: 0 / 0.5429 GB, free: 13.57 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006777/0.4628, allocations: 1.746 MB / 0.5446 GB, free: 11.82 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.0007006/0.4635, allocations: 247.7 kB / 0.5448 GB, free: 11.57 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006089/0.4696, allocations: 3.847 MB / 0.5486 GB, free: 7.715 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0003668/0.47, allocations: 118 kB / 0.5487 GB, free: 7.594 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001629/0.4716, allocations: 1.122 MB / 0.5498 GB, free: 6.457 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004659/0.4762, allocations: 1 MB / 0.5508 GB, free: 5.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01814/0.4944, allocations: 11.99 MB / 0.5625 GB, free: 9.215 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002469/0.4968, allocations: 1.963 MB / 0.5644 GB, free: 7.223 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002302/0.4991, allocations: 0.7169 MB / 0.5651 GB, free: 6.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001445/0.5006, allocations: 0.8018 MB / 0.5659 GB, free: 5.695 MB / 442.7 MB Notification: Performance of SimCode: time 2.986e-06/0.5006, allocations: 0 / 0.5659 GB, free: 5.695 MB / 442.7 MB Notification: Performance of Templates: time 0.2362/0.7368, allocations: 62.03 MB / 0.6265 GB, free: 169.6 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 -s gbode -gbm=radauIIA3 -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.877204299904406]