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.001485/0.001485, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001844/0.001844, allocations: 161 kB / 24.56 MB, free: 16 kB / 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 1.032/1.032, allocations: 177.1 MB / 205 MB, free: 5.602 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.2668/0.2668, allocations: 34.25 MB / 295.7 MB, free: 0.7031 MB / 266.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.523e-06/1.523e-06, allocations: 0 / 378 MB, free: 2.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.967e-05/2.119e-05, allocations: 5.688 kB / 378 MB, free: 2.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01193/0.01195, allocations: 15.43 MB / 393.5 MB, free: 3.148 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007764/0.01972, allocations: 5.374 MB / 398.8 MB, free: 13.76 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001175/0.02089, allocations: 131.3 kB / 399 MB, free: 13.63 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005207/0.0261, allocations: 5.51 MB / 404.5 MB, free: 8.102 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004396/0.03049, allocations: 2.768 MB / 407.2 MB, free: 5.32 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002187/0.03268, allocations: 1.575 MB / 408.8 MB, free: 3.742 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007602/0.04028, allocations: 9.341 MB / 418.1 MB, free: 10.39 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00436/0.04464, allocations: 6.162 MB / 424.3 MB, free: 4.133 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003216/0.04786, allocations: 4.261 MB / 428.6 MB, free: 15.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003484/0.05134, allocations: 4.264 MB / 432.8 MB, free: 11.59 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005891/0.05193, allocations: 0.6484 MB / 433.5 MB, free: 10.94 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001797/0.05373, allocations: 1.748 MB / 435.2 MB, free: 9.191 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002107/0.05584, allocations: 3.612 MB / 438.8 MB, free: 5.57 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001542/0.05738, allocations: 2.271 MB / 441.1 MB, free: 3.293 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1461/0.2034, allocations: 7.569 MB / 448.7 MB, free: 67.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2034, allocations: 0 / 448.7 MB, free: 67.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2034, allocations: 0 / 448.7 MB, free: 67.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002155/0.2037, allocations: 0 / 448.7 MB, free: 67.57 MB / 410.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.009591/0.2133, allocations: 8.597 MB / 457.3 MB, free: 64.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.2133, allocations: 9.125 kB / 457.3 MB, free: 64.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007714/0.221, allocations: 3.763 MB / 461.1 MB, free: 64.03 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005421/0.2264, allocations: 4.454 MB / 465.5 MB, free: 63.13 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000158/0.2266, allocations: 381 kB / 465.9 MB, free: 63.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005917/0.2272, allocations: 0.5061 MB / 466.4 MB, free: 63.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01053/0.2377, allocations: 9.47 MB / 475.9 MB, free: 59.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001192/0.2378, allocations: 66.39 kB / 475.9 MB, free: 59.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003925/0.2382, allocations: 237.1 kB / 476.2 MB, free: 59.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002324/0.2405, allocations: 2.546 MB / 478.7 MB, free: 58.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01131/0.2519, allocations: 5.292 MB / 484 MB, free: 58.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03664/0.2885, allocations: 59.37 MB / 0.5306 GB, free: 27.41 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007864/0.2964, allocations: 4.046 MB / 0.5346 GB, free: 26.83 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001273/0.2976, allocations: 1.11 MB / 0.5357 GB, free: 26.1 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007589/0.3052, allocations: 6.948 MB / 0.5424 GB, free: 19.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.3053, allocations: 67.38 kB / 0.5425 GB, free: 19.83 MB / 426.7 MB Notification: Performance of pre-optimization done (n=248): time 3.757e-06/0.3053, allocations: 0 / 0.5425 GB, free: 19.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=343): time 0.05803/0.3633, allocations: 28.08 MB / 0.5699 GB, free: 7.945 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.041e-05/0.3634, allocations: 247.2 kB / 0.5702 GB, free: 7.656 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004667/0.368, allocations: 4.879 MB / 0.5749 GB, free: 2.785 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001842/0.3682, allocations: 77.7 kB / 0.575 GB, free: 2.703 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002635/0.3709, allocations: 4.71 MB / 0.5796 GB, free: 14.03 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009358/0.3718, allocations: 1.352 MB / 0.5809 GB, free: 12.7 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001772/0.3736, allocations: 1.826 MB / 0.5827 GB, free: 10.85 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.301e-05/0.3737, allocations: 480.7 kB / 0.5832 GB, free: 10.38 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002311/0.376, allocations: 1.34 MB / 0.5845 GB, free: 9.031 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005204/0.3812, allocations: 8.154 MB / 0.5924 GB, free: 13.88 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008957/0.3901, allocations: 10.54 MB / 0.6027 GB, free: 0.6953 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.818e-05/0.3902, allocations: 44 kB / 0.6028 GB, free: 0.6523 MB / 474.7 MB Notification: Performance of matching and sorting (n=1128) (initialization): time 0.1775/0.5677, allocations: 10.19 MB / 0.6127 GB, free: 133.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.803e-05/0.5678, allocations: 74.25 kB / 0.6128 GB, free: 133.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001159/0.5679, allocations: 159.4 kB / 0.6129 GB, free: 133.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007371/0.5752, allocations: 3.183 MB / 0.6161 GB, free: 133.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003117/0.5784, allocations: 1.889 MB / 0.6179 GB, free: 133.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01177/0.5901, allocations: 8.322 MB / 0.626 GB, free: 131.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004405/0.5945, allocations: 0.5871 MB / 0.6266 GB, free: 131.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006484/0.5952, allocations: 481.8 kB / 0.6271 GB, free: 131.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 720 * 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 (1027): * Single equations (assignments): 1023 * 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,77,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002168/0.5974, allocations: 0.8118 MB / 0.6279 GB, free: 130.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008166/0.5982, allocations: 0.6091 MB / 0.6284 GB, free: 130.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009706/0.6079, allocations: 5.411 MB / 0.6337 GB, free: 130.4 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.782e-05/0.6079, allocations: 38.98 kB / 0.6338 GB, free: 130.4 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.671e-05/0.6079, allocations: 13.34 kB / 0.6338 GB, free: 130.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.496e-05/0.608, allocations: 17.12 kB / 0.6338 GB, free: 130.4 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01889/0.6268, allocations: 12.67 MB / 0.6462 GB, free: 125.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/0.6269, allocations: 6.719 kB / 0.6462 GB, free: 125.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/0.628, allocations: 0.4949 MB / 0.6467 GB, free: 125.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006768/0.6348, allocations: 2.791 MB / 0.6494 GB, free: 125.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001944/0.635, allocations: 63.72 kB / 0.6494 GB, free: 125.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009196/0.6442, allocations: 6.742 MB / 0.656 GB, free: 121.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.6442, allocations: 11.94 kB / 0.656 GB, free: 121.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0101/0.6543, allocations: 6.987 MB / 0.6629 GB, free: 115 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007219/0.655, allocations: 0.5265 MB / 0.6634 GB, free: 114.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003986/0.6554, allocations: 63.73 kB / 0.6634 GB, free: 114.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0015/0.6569, allocations: 299.5 kB / 0.6637 GB, free: 114.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003635/0.6573, allocations: 242.1 kB / 0.664 GB, free: 113.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000171/0.6574, allocations: 91.98 kB / 0.664 GB, free: 113.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002433/0.6599, allocations: 2.197 MB / 0.6662 GB, free: 111.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 2e-07/0.6599, allocations: 0 / 0.6662 GB, free: 111.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005591/0.6655, allocations: 1.965 MB / 0.6681 GB, free: 109.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (261): * Single equations (assignments): 257 * 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,64,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005499/0.666, allocations: 274.7 kB / 0.6684 GB, free: 109.4 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00654/0.6726, allocations: 5.349 MB / 0.6736 GB, free: 104.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.6726, allocations: 0 / 0.6736 GB, free: 104.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002008/0.6746, allocations: 1.885 MB / 0.6754 GB, free: 102.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002197/0.6768, allocations: 0.6856 MB / 0.6761 GB, free: 101.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01282/0.6896, allocations: 12.71 MB / 0.6885 GB, free: 88.58 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001367/0.691, allocations: 2.008 MB / 0.6905 GB, free: 86.55 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002639/0.6936, allocations: 2.12 MB / 0.6926 GB, free: 84.43 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007153/0.6943, allocations: 336.4 kB / 0.6929 GB, free: 84.1 MB / 474.7 MB Notification: Performance of SimCode: time 8.42e-07/0.6943, allocations: 4 kB / 0.6929 GB, free: 84.09 MB / 474.7 MB Notification: Performance of Templates: time 0.07382/0.7681, allocations: 74.33 MB / 0.7655 GB, free: 10.43 MB / 474.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.774619624018669]