Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009235/0.0009235, allocations: 80.41 kB / 22.21 MB, free: 2.285 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.001776/0.001776, allocations: 166.4 kB / 25.61 MB, free: 8.594 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.9488/0.9488, allocations: 177.1 MB / 206 MB, free: 4.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1694/0.1694, allocations: 34.26 MB / 296.8 MB, free: 13.95 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 379.3 MB, free: 23.47 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.032e-05/2.22e-05, allocations: 6.25 kB / 379.3 MB, free: 23.46 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.009405/0.009427, allocations: 15.03 MB / 394.3 MB, free: 8.359 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008408/0.01783, allocations: 5.325 MB / 399.6 MB, free: 3.016 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002082/0.01992, allocations: 131.3 kB / 399.8 MB, free: 2.887 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005164/0.02508, allocations: 5.424 MB / 405.2 MB, free: 13.45 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005533/0.03061, allocations: 2.772 MB / 408 MB, free: 10.66 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002443/0.03306, allocations: 1.571 MB / 409.5 MB, free: 9.082 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0102/0.04326, allocations: 9.365 MB / 418.9 MB, free: 15.7 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007294/0.05056, allocations: 6.15 MB / 425 MB, free: 9.457 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008866/0.05942, allocations: 5.794 MB / 430.8 MB, free: 3.652 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005767/0.06519, allocations: 4.225 MB / 435.1 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001776/0.06696, allocations: 0.6445 MB / 435.7 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003059/0.07002, allocations: 1.732 MB / 437.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00351/0.07353, allocations: 3.604 MB / 441 MB, free: 9.426 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003842/0.07737, allocations: 2.263 MB / 443.3 MB, free: 7.156 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00901/0.08638, allocations: 7.561 MB / 450.9 MB, free: 15.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.08639, allocations: 0 / 450.9 MB, free: 15.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.08639, allocations: 0 / 450.9 MB, free: 15.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001963/0.08659, allocations: 0 / 450.9 MB, free: 15.57 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.01249/0.09908, allocations: 8.11 MB / 459 MB, free: 7.379 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.09912, allocations: 8.031 kB / 459 MB, free: 7.371 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007432/0.1065, allocations: 2.705 MB / 461.7 MB, free: 4.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006171/0.1127, allocations: 3.732 MB / 465.4 MB, free: 0.8438 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002458/0.113, allocations: 378.2 kB / 465.8 MB, free: 484 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001104/0.1141, allocations: 0.5159 MB / 466.3 MB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01461/0.1287, allocations: 8.24 MB / 474.5 MB, free: 6.473 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002075/0.1289, allocations: 63.45 kB / 474.6 MB, free: 6.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007821/0.1297, allocations: 231.8 kB / 474.8 MB, free: 6.184 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0023/0.132, allocations: 2.314 MB / 477.1 MB, free: 3.863 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00988/0.1418, allocations: 3.822 MB / 481 MB, free: 0 / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.191/0.3329, allocations: 58.8 MB / 0.5271 GB, free: 61.74 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006794/0.3397, allocations: 2.893 MB / 0.5299 GB, free: 61.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001123/0.3408, allocations: 0.8017 MB / 0.5307 GB, free: 61.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009338/0.3501, allocations: 7.102 MB / 0.5377 GB, free: 59.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/0.3502, allocations: 66.11 kB / 0.5377 GB, free: 58.99 MB / 410.7 MB Notification: Performance of pre-optimization done (n=229): time 5.039e-06/0.3502, allocations: 0 / 0.5377 GB, free: 58.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=313): time 0.0429/0.3931, allocations: 14.24 MB / 0.5516 GB, free: 46.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.3931, allocations: 239.7 kB / 0.5519 GB, free: 46.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004679/0.3978, allocations: 4.908 MB / 0.5567 GB, free: 41.78 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002452/0.398, allocations: 73.7 kB / 0.5567 GB, free: 41.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002052/0.4001, allocations: 4.815 MB / 0.5614 GB, free: 37.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009008/0.401, allocations: 1.244 MB / 0.5626 GB, free: 35.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001824/0.4028, allocations: 1.834 MB / 0.5644 GB, free: 34.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.741e-05/0.4029, allocations: 476.8 kB / 0.5649 GB, free: 33.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001792/0.4046, allocations: 0.9496 MB / 0.5658 GB, free: 32.65 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003655/0.4083, allocations: 7.948 MB / 0.5736 GB, free: 21.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006324/0.4146, allocations: 9.628 MB / 0.583 GB, free: 9.141 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.979e-05/0.4147, allocations: 48 kB / 0.583 GB, free: 9.094 MB / 410.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01064/0.4254, allocations: 7.442 MB / 0.5903 GB, free: 1.605 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.161e-05/0.4254, allocations: 72.22 kB / 0.5904 GB, free: 1.535 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.259e-05/0.4255, allocations: 168 kB / 0.5905 GB, free: 1.371 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003554/0.4291, allocations: 1.473 MB / 0.592 GB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00307/0.4321, allocations: 1.825 MB / 0.5937 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006725/0.4389, allocations: 5.464 MB / 0.5991 GB, free: 8.492 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003841/0.4427, allocations: 351.7 kB / 0.5994 GB, free: 8.148 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004653/0.4432, allocations: 416 kB / 0.5998 GB, free: 7.742 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.001762/0.4449, allocations: 0.8169 MB / 0.6006 GB, free: 6.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008752/0.4458, allocations: 0.5826 MB / 0.6012 GB, free: 6.324 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004942/0.4507, allocations: 2.788 MB / 0.6039 GB, free: 3.469 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.302e-05/0.4508, allocations: 39.92 kB / 0.6039 GB, free: 3.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/0.4508, allocations: 12 kB / 0.6039 GB, free: 3.418 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.772e-05/0.4508, allocations: 11.95 kB / 0.604 GB, free: 3.406 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01565/0.4665, allocations: 9.553 MB / 0.6133 GB, free: 9.562 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.56e-05/0.4665, allocations: 20.03 kB / 0.6133 GB, free: 9.543 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/0.4675, allocations: 423.4 kB / 0.6137 GB, free: 9.129 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003869/0.4714, allocations: 1.235 MB / 0.6149 GB, free: 7.891 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001978/0.4716, allocations: 71.81 kB / 0.615 GB, free: 7.824 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005574/0.4772, allocations: 4.27 MB / 0.6192 GB, free: 3.445 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.214e-05/0.4772, allocations: 23.88 kB / 0.6192 GB, free: 3.422 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007081/0.4842, allocations: 4.48 MB / 0.6236 GB, free: 14.57 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001261/0.4855, allocations: 0.5082 MB / 0.624 GB, free: 14.05 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005097/0.486, allocations: 67.98 kB / 0.6241 GB, free: 13.99 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001219/0.4872, allocations: 67.98 kB / 0.6242 GB, free: 13.92 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003412/0.4876, allocations: 237.2 kB / 0.6244 GB, free: 13.69 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000125/0.4877, allocations: 72 kB / 0.6245 GB, free: 13.62 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002406/0.4901, allocations: 2.05 MB / 0.6265 GB, free: 11.58 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.4901, allocations: 0 / 0.6265 GB, free: 11.58 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005362/0.4955, allocations: 1.742 MB / 0.6282 GB, free: 9.84 MB / 458.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.0006167/0.4961, allocations: 282.4 kB / 0.6284 GB, free: 9.551 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005811/0.5019, allocations: 4.224 MB / 0.6326 GB, free: 5.324 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/0.5019, allocations: 0 / 0.6326 GB, free: 5.324 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001495/0.5034, allocations: 1.32 MB / 0.6339 GB, free: 3.977 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002844/0.5062, allocations: 0.6751 MB / 0.6345 GB, free: 3.32 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01618/0.5224, allocations: 12.18 MB / 0.6464 GB, free: 6.801 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001986/0.5244, allocations: 1.986 MB / 0.6484 GB, free: 4.793 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002097/0.5265, allocations: 0.7092 MB / 0.649 GB, free: 4.078 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001553/0.5281, allocations: 0.8612 MB / 0.6499 GB, free: 3.215 MB / 474.7 MB Notification: Performance of SimCode: time 1.974e-06/0.5281, allocations: 4 kB / 0.6499 GB, free: 3.211 MB / 474.7 MB Notification: Performance of Templates: time 0.2031/0.7312, allocations: 63.56 MB / 0.712 GB, free: 141.5 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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: 5.217209049034864]