Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001055/0.001055, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.0009372/0.0009372, allocations: 169 kB / 24.14 MB, free: 364 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8246/0.8246, allocations: 158.6 MB / 186 MB, free: 2.727 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1349/0.1349, allocations: 32.38 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 299.1 MB, free: 2.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.437e-05/1.59e-05, allocations: 2.312 kB / 299.1 MB, free: 2.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.1324/0.1324, allocations: 15.16 MB / 314.3 MB, free: 11.74 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01073/0.1431, allocations: 5.539 MB / 319.8 MB, free: 8.059 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003129/0.1462, allocations: 132.7 kB / 319.9 MB, free: 8.016 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005293/0.1515, allocations: 5.433 MB / 325.4 MB, free: 3.887 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00581/0.1573, allocations: 2.809 MB / 328.2 MB, free: 1.066 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002485/0.1598, allocations: 1.567 MB / 329.7 MB, free: 15.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.008434/0.1683, allocations: 8.571 MB / 338.3 MB, free: 6.914 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006504/0.1748, allocations: 5.983 MB / 344.3 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006859/0.1816, allocations: 5.127 MB / 349.4 MB, free: 11.68 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005073/0.1867, allocations: 4.073 MB / 353.5 MB, free: 7.594 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001592/0.1883, allocations: 0.6484 MB / 354.1 MB, free: 6.945 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002709/0.191, allocations: 1.791 MB / 355.9 MB, free: 5.152 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002657/0.1936, allocations: 3.643 MB / 359.6 MB, free: 1.5 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003106/0.1968, allocations: 2.283 MB / 361.9 MB, free: 15.21 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009131/0.2059, allocations: 7.627 MB / 369.5 MB, free: 7.559 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.2059, allocations: 0 / 369.5 MB, free: 7.559 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2059, allocations: 0 / 369.5 MB, free: 7.559 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004659/0.2064, allocations: 4 kB / 369.5 MB, free: 7.555 MB / 330.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.01391/0.2203, allocations: 7.347 MB / 376.8 MB, free: 140 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.2203, allocations: 8.031 kB / 376.8 MB, free: 132 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004556/0.2249, allocations: 1.608 MB / 378.4 MB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005171/0.23, allocations: 3.516 MB / 382 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002348/0.2303, allocations: 378.2 kB / 382.3 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008374/0.2311, allocations: 0.5158 MB / 382.9 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01318/0.2443, allocations: 7.413 MB / 390.3 MB, free: 1.676 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002734/0.2446, allocations: 67.5 kB / 390.3 MB, free: 1.609 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007088/0.2453, allocations: 239.8 kB / 390.6 MB, free: 1.375 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002025/0.2473, allocations: 2.306 MB / 392.9 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009014/0.2563, allocations: 3.753 MB / 396.6 MB, free: 11.28 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04552/0.3018, allocations: 43.02 MB / 439.6 MB, free: 14.87 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006884/0.3087, allocations: 2.744 MB / 442.4 MB, free: 12.08 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001235/0.31, allocations: 0.6465 MB / 443 MB, free: 11.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01078/0.3207, allocations: 6.683 MB / 449.7 MB, free: 4.719 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.742e-05/0.3208, allocations: 60.5 kB / 449.8 MB, free: 4.652 MB / 410.7 MB Notification: Performance of pre-optimization done (n=229): time 4.919e-06/0.3208, allocations: 0 / 449.8 MB, free: 4.652 MB / 410.7 MB Notification: Performance of matching and sorting (n=313): time 0.179/0.4998, allocations: 12.76 MB / 462.5 MB, free: 122.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.667e-05/0.4998, allocations: 244.9 kB / 462.8 MB, free: 122.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004819/0.5046, allocations: 4.461 MB / 467.2 MB, free: 121.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003405/0.505, allocations: 75.81 kB / 467.3 MB, free: 121.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001487/0.5065, allocations: 4.189 MB / 471.5 MB, free: 119.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008761/0.5073, allocations: 1.2 MB / 472.7 MB, free: 118.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001555/0.5089, allocations: 1.598 MB / 474.3 MB, free: 118.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.235e-05/0.5089, allocations: 304.9 kB / 474.6 MB, free: 118 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001891/0.5108, allocations: 1.141 MB / 475.7 MB, free: 117.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002823/0.5136, allocations: 5.705 MB / 481.4 MB, free: 111.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005009/0.5187, allocations: 7.525 MB / 489 MB, free: 105.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.622e-05/0.5188, allocations: 49.22 kB / 489 MB, free: 105.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.008887/0.5276, allocations: 6.349 MB / 495.4 MB, free: 100.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.151e-05/0.5277, allocations: 76 kB / 495.4 MB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001164/0.5278, allocations: 160 kB / 495.6 MB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003445/0.5313, allocations: 1.452 MB / 497 MB, free: 98.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003515/0.5348, allocations: 1.918 MB / 499 MB, free: 96.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005706/0.5405, allocations: 4.682 MB / 0.4918 GB, free: 92.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004375/0.5449, allocations: 345.5 kB / 0.4922 GB, free: 91.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006379/0.5455, allocations: 412 kB / 0.4926 GB, free: 91.39 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.002103/0.5476, allocations: 0.782 MB / 0.4933 GB, free: 90.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009289/0.5485, allocations: 359.6 kB / 0.4937 GB, free: 90.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003955/0.5525, allocations: 2.464 MB / 0.4961 GB, free: 87.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.688e-05/0.5525, allocations: 32 kB / 0.4961 GB, free: 87.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.447e-05/0.5525, allocations: 9.359 kB / 0.4961 GB, free: 87.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.612e-05/0.5525, allocations: 19.94 kB / 0.4961 GB, free: 87.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01278/0.5653, allocations: 8.293 MB / 0.5042 GB, free: 79.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.982e-05/0.5653, allocations: 22.14 kB / 0.5043 GB, free: 79.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/0.5665, allocations: 471.3 kB / 0.5047 GB, free: 78.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003677/0.5701, allocations: 1.441 MB / 0.5061 GB, free: 77.17 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002602/0.5704, allocations: 67.94 kB / 0.5062 GB, free: 77.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004654/0.5751, allocations: 3.535 MB / 0.5096 GB, free: 73.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.697e-06/0.5751, allocations: 27.19 kB / 0.5097 GB, free: 73.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005487/0.5806, allocations: 3.863 MB / 0.5134 GB, free: 69.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001833/0.5824, allocations: 0.7473 MB / 0.5142 GB, free: 68.51 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005355/0.5829, allocations: 67.98 kB / 0.5142 GB, free: 68.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/0.5841, allocations: 71.97 kB / 0.5143 GB, free: 68.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004323/0.5845, allocations: 233.2 kB / 0.5145 GB, free: 68.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/0.5846, allocations: 72 kB / 0.5146 GB, free: 68.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001866/0.5865, allocations: 1.748 MB / 0.5163 GB, free: 66.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.5865, allocations: 4.031 kB / 0.5163 GB, free: 66.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005423/0.5919, allocations: 1.781 MB / 0.518 GB, free: 64.55 MB / 410.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.0006117/0.5925, allocations: 283.2 kB / 0.5183 GB, free: 64.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004725/0.5973, allocations: 3.824 MB / 0.522 GB, free: 60.44 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000209/0.5975, allocations: 116.2 kB / 0.5221 GB, free: 60.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001273/0.5988, allocations: 1.128 MB / 0.5232 GB, free: 59.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003545/0.6023, allocations: 1.01 MB / 0.5242 GB, free: 58.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01483/0.6171, allocations: 12.02 MB / 0.536 GB, free: 45.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001725/0.6189, allocations: 1.976 MB / 0.5379 GB, free: 43.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002085/0.6209, allocations: 0.7121 MB / 0.5386 GB, free: 43.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001269/0.6222, allocations: 0.8096 MB / 0.5394 GB, free: 42.39 MB / 410.7 MB Notification: Performance of SimCode: time 2.295e-06/0.6222, allocations: 0 / 0.5394 GB, free: 42.39 MB / 410.7 MB Notification: Performance of Templates: time 0.2015/0.8237, allocations: 63.06 MB / 0.601 GB, free: 139.2 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.742801720742136]