Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 174.3 kB / 24.91 MB, free: 8.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.988/0.988, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2666/0.2666, allocations: 32.8 MB / 294.6 MB, free: 1.184 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 323.3 MB, free: 9.633 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.266e-05/1.399e-05, allocations: 3.188 kB / 323.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01483/0.01484, allocations: 15.08 MB / 338.3 MB, free: 10.48 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009799/0.02464, allocations: 5.551 MB / 343.9 MB, free: 4.906 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001988/0.02663, allocations: 131.3 kB / 344 MB, free: 4.777 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00505/0.03168, allocations: 5.404 MB / 349.4 MB, free: 15.36 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004287/0.03597, allocations: 2.764 MB / 352.2 MB, free: 12.58 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002282/0.03825, allocations: 1.56 MB / 353.7 MB, free: 11.02 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007243/0.04549, allocations: 9.33 MB / 363.1 MB, free: 1.676 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00439/0.04988, allocations: 5.962 MB / 369 MB, free: 11.59 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004885/0.05477, allocations: 5.634 MB / 374.7 MB, free: 5.945 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004134/0.0589, allocations: 4.057 MB / 378.7 MB, free: 1.879 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009614/0.05986, allocations: 0.6445 MB / 379.4 MB, free: 1.234 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002148/0.06201, allocations: 1.779 MB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002393/0.0644, allocations: 3.608 MB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001784/0.06619, allocations: 2.267 MB / 387 MB, free: 9.562 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006285/0.07247, allocations: 7.553 MB / 394.6 MB, free: 1.984 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.07248, allocations: 0 / 394.6 MB, free: 1.984 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.07248, allocations: 0 / 394.6 MB, free: 1.984 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001425/0.07262, allocations: 0 / 394.6 MB, free: 1.984 MB / 362.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.008241/0.08086, allocations: 7.313 MB / 401.9 MB, free: 10.6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.0809, allocations: 8.031 kB / 401.9 MB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003993/0.0849, allocations: 1.608 MB / 403.5 MB, free: 8.984 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003713/0.08861, allocations: 3.463 MB / 407 MB, free: 5.422 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001759/0.08879, allocations: 378.2 kB / 407.3 MB, free: 5.051 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005591/0.08934, allocations: 0.5081 MB / 407.9 MB, free: 4.543 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008331/0.09768, allocations: 7.432 MB / 415.3 MB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001098/0.09779, allocations: 67.41 kB / 415.4 MB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000356/0.09814, allocations: 235.8 kB / 415.6 MB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001974/0.1001, allocations: 2.314 MB / 417.9 MB, free: 9.566 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005976/0.1061, allocations: 3.753 MB / 421.6 MB, free: 5.758 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1962/0.3023, allocations: 42.99 MB / 464.6 MB, free: 60.87 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005579/0.3079, allocations: 2.733 MB / 467.4 MB, free: 60.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007434/0.3086, allocations: 0.6523 MB / 468 MB, free: 60.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00828/0.3169, allocations: 6.653 MB / 474.7 MB, free: 59.83 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.3169, allocations: 63.25 kB / 474.7 MB, free: 59.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=229): time 3.507e-06/0.3169, allocations: 0 / 474.7 MB, free: 59.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=313): time 0.03029/0.3472, allocations: 12.74 MB / 487.5 MB, free: 57.33 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.15e-05/0.3473, allocations: 242.6 kB / 487.7 MB, free: 57.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004121/0.3514, allocations: 4.431 MB / 492.2 MB, free: 53.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001598/0.3516, allocations: 69.2 kB / 492.2 MB, free: 53.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001407/0.353, allocations: 4.174 MB / 496.4 MB, free: 50.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006211/0.3536, allocations: 1.207 MB / 497.6 MB, free: 49.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001196/0.3548, allocations: 1.588 MB / 499.2 MB, free: 48.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.142e-05/0.3548, allocations: 304.6 kB / 499.5 MB, free: 48.22 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00166/0.3565, allocations: 1.143 MB / 0.4889 GB, free: 47.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002545/0.359, allocations: 5.711 MB / 0.4945 GB, free: 39.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004129/0.3631, allocations: 7.529 MB / 0.5018 GB, free: 30.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.189e-05/0.3632, allocations: 44 kB / 0.5019 GB, free: 30.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.007293/0.3705, allocations: 6.361 MB / 0.5081 GB, free: 25.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.929e-05/0.3705, allocations: 72.97 kB / 0.5081 GB, free: 25.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.374e-05/0.3706, allocations: 164 kB / 0.5083 GB, free: 25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003349/0.374, allocations: 1.445 MB / 0.5097 GB, free: 23.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002815/0.3768, allocations: 1.922 MB / 0.5116 GB, free: 21.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005325/0.3821, allocations: 4.673 MB / 0.5162 GB, free: 16.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003095/0.3852, allocations: 347.7 kB / 0.5165 GB, free: 16.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003491/0.3855, allocations: 414.4 kB / 0.5169 GB, free: 16.18 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.001576/0.3871, allocations: 0.778 MB / 0.5176 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005213/0.3876, allocations: 365.2 kB / 0.518 GB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003805/0.3914, allocations: 2.448 MB / 0.5204 GB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.456e-05/0.3915, allocations: 35.88 kB / 0.5204 GB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.3915, allocations: 8 kB / 0.5204 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.168e-05/0.3915, allocations: 19.94 kB / 0.5204 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01029/0.4018, allocations: 8.27 MB / 0.5285 GB, free: 4.875 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/0.4018, allocations: 12 kB / 0.5285 GB, free: 4.863 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009578/0.4028, allocations: 467.6 kB / 0.529 GB, free: 4.406 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003176/0.4059, allocations: 1.437 MB / 0.5304 GB, free: 2.973 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001414/0.4061, allocations: 67.98 kB / 0.5304 GB, free: 2.906 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004539/0.4106, allocations: 3.542 MB / 0.5339 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-05/0.4106, allocations: 25.77 kB / 0.5339 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005388/0.416, allocations: 3.866 MB / 0.5377 GB, free: 11.15 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006409/0.4167, allocations: 485.1 kB / 0.5382 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003782/0.417, allocations: 79.95 kB / 0.5382 GB, free: 10.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/0.4181, allocations: 70.17 kB / 0.5383 GB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003399/0.4184, allocations: 229.3 kB / 0.5385 GB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001317/0.4185, allocations: 79.94 kB / 0.5386 GB, free: 10.23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001561/0.4201, allocations: 1.719 MB / 0.5403 GB, free: 8.727 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4201, allocations: 0 / 0.5403 GB, free: 8.727 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005413/0.4255, allocations: 1.742 MB / 0.542 GB, free: 6.984 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.0005342/0.4261, allocations: 260.2 kB / 0.5422 GB, free: 6.727 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004858/0.4309, allocations: 3.848 MB / 0.546 GB, free: 2.969 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001789/0.4311, allocations: 116.2 kB / 0.5461 GB, free: 2.844 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001165/0.4323, allocations: 1.127 MB / 0.5472 GB, free: 1.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002639/0.4349, allocations: 0.9987 MB / 0.5482 GB, free: 0.7617 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01421/0.4491, allocations: 11.98 MB / 0.5599 GB, free: 4.566 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00172/0.4508, allocations: 1.963 MB / 0.5618 GB, free: 2.574 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001763/0.4526, allocations: 0.717 MB / 0.5625 GB, free: 1.852 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001306/0.4539, allocations: 0.8057 MB / 0.5633 GB, free: 1.043 MB / 442.7 MB Notification: Performance of SimCode: time 1.393e-06/0.4539, allocations: 0 / 0.5633 GB, free: 1.043 MB / 442.7 MB Notification: Performance of Templates: time 0.2352/0.6891, allocations: 62.03 MB / 0.6239 GB, free: 153.2 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.833597545977682]