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.001762/0.001762, allocations: 115.8 kB / 20.43 MB, free: 1.449 MB / 14.72 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.002243/0.002243, allocations: 216.6 kB / 23.74 MB, free: 4.656 MB / 14.72 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.501/1.501, allocations: 230.6 MB / 257.5 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] 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.2413/0.2413, allocations: 46.93 MB / 360.8 MB, free: 4.312 MB / 286.1 MB " [Timeout remaining time 179] 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 0.003425/0.003425, allocations: 63.91 kB / 0.4966 GB, free: 7.457 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4409/0.4444, allocations: 66.04 MB / 0.5611 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.02002/0.4644, allocations: 16.09 MB / 0.5768 GB, free: 4.297 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01327/0.4776, allocations: 5.499 MB / 0.5822 GB, free: 14.79 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003717/0.4814, allocations: 135.3 kB / 0.5823 GB, free: 14.65 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01196/0.4933, allocations: 5.195 MB / 0.5874 GB, free: 9.441 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01076/0.5041, allocations: 2.673 MB / 0.59 GB, free: 6.758 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004468/0.5086, allocations: 1.392 MB / 0.5914 GB, free: 5.363 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01584/0.5244, allocations: 8.259 MB / 0.5994 GB, free: 13.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01047/0.5349, allocations: 5.207 MB / 0.6045 GB, free: 7.793 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008855/0.5437, allocations: 2.816 MB / 0.6073 GB, free: 4.969 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007596/0.5513, allocations: 4.023 MB / 0.6112 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002532/0.5539, allocations: 0.6328 MB / 0.6118 GB, free: 308 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005399/0.5593, allocations: 1.83 MB / 0.6136 GB, free: 14.46 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006145/0.5654, allocations: 3.421 MB / 0.6169 GB, free: 11.04 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009063/0.5745, allocations: 3.691 MB / 0.6205 GB, free: 7.324 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02228/0.5967, allocations: 11.97 MB / 0.6322 GB, free: 11.31 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.5967, allocations: 3.938 kB / 0.6322 GB, free: 11.3 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.5967, allocations: 0 / 0.6322 GB, free: 11.3 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0005375/0.5973, allocations: 3.938 kB / 0.6322 GB, free: 11.3 MB / 478.1 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.02602/0.6233, allocations: 8.012 MB / 0.6401 GB, free: 3.215 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.6234, allocations: 8.031 kB / 0.6401 GB, free: 3.207 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01588/0.6392, allocations: 3.097 MB / 0.6431 GB, free: 104 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01361/0.6528, allocations: 4.963 MB / 0.6479 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004361/0.6533, allocations: 382.2 kB / 0.6483 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002319/0.6556, allocations: 0.5114 MB / 0.6488 GB, free: 10.16 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03757/0.6932, allocations: 15.52 MB / 0.664 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002831/0.6934, allocations: 63.52 kB / 0.664 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001329/0.6948, allocations: 239.8 kB / 0.6643 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004379/0.6992, allocations: 2.54 MB / 0.6667 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03069/0.7298, allocations: 13.12 MB / 0.6795 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4169/1.147, allocations: 57.24 MB / 0.7354 GB, free: 139.3 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01791/1.165, allocations: 5.712 MB / 0.741 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005192/1.17, allocations: 3.233 MB / 0.7442 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01655/1.186, allocations: 10.02 MB / 0.754 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.076e-05/1.186, allocations: 58.53 kB / 0.754 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=248): time 4.839e-06/1.187, allocations: 0 / 0.754 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=343): time 0.1248/1.311, allocations: 39.07 MB / 0.7922 GB, free: 105 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.691e-05/1.311, allocations: 247.4 kB / 0.7924 GB, free: 104.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007347/1.319, allocations: 5.712 MB / 0.798 GB, free: 99.07 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009396/1.32, allocations: 82.92 kB / 0.7981 GB, free: 98.98 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002216/1.322, allocations: 4.503 MB / 0.8025 GB, free: 94.81 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001481/1.323, allocations: 1.327 MB / 0.8038 GB, free: 93.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002197/1.326, allocations: 1.762 MB / 0.8055 GB, free: 91.72 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.894e-05/1.326, allocations: 301.1 kB / 0.8058 GB, free: 91.43 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004714/1.33, allocations: 4.085 MB / 0.8098 GB, free: 87.33 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006948/1.337, allocations: 8.672 MB / 0.8182 GB, free: 76.48 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01394/1.351, allocations: 13.56 MB / 0.8315 GB, free: 60.74 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001232/1.351, allocations: 48 kB / 0.8315 GB, free: 60.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.03072/1.382, allocations: 16.36 MB / 0.8475 GB, free: 44.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.846e-05/1.382, allocations: 75.94 kB / 0.8476 GB, free: 44.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001579/1.382, allocations: 161.2 kB / 0.8477 GB, free: 44.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01279/1.395, allocations: 4.283 MB / 0.8519 GB, free: 39.78 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00606/1.401, allocations: 1.899 MB / 0.8538 GB, free: 37.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02734/1.429, allocations: 21.46 MB / 0.8747 GB, free: 16.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008489/1.437, allocations: 0.4994 MB / 0.8752 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001594/1.439, allocations: 484 kB / 0.8757 GB, free: 15.34 MB / 0.5606 GB 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 (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,77,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005604/1.444, allocations: 3.13 MB / 0.8787 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001209/1.445, allocations: 0.5433 MB / 0.8792 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01886/1.464, allocations: 10.05 MB / 0.8891 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.895e-05/1.464, allocations: 36 kB / 0.8891 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.113e-05/1.464, allocations: 16 kB / 0.8891 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.254e-05/1.464, allocations: 19.88 kB / 0.8891 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04508/1.509, allocations: 19.97 MB / 0.9086 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.958e-05/1.51, allocations: 8.469 kB / 0.9086 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002742/1.512, allocations: 0.4961 MB / 0.9091 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01419/1.526, allocations: 3.842 MB / 0.9129 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009553/1.527, allocations: 63.94 kB / 0.9129 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03409/1.562, allocations: 19 MB / 0.9315 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.938e-06/1.562, allocations: 19.94 kB / 0.9315 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03338/1.595, allocations: 14.89 MB / 0.9461 GB, free: 6.672 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00252/1.597, allocations: 0.5353 MB / 0.9466 GB, free: 6.133 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002301/1.6, allocations: 64 kB / 0.9466 GB, free: 6.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003513/1.603, allocations: 227.7 kB / 0.9469 GB, free: 5.848 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008923/1.604, allocations: 249 kB / 0.9471 GB, free: 5.605 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002992/1.604, allocations: 92 kB / 0.9472 GB, free: 5.516 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.006517/1.611, allocations: 3.596 MB / 0.9507 GB, free: 1.945 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/1.611, allocations: 0 / 0.9507 GB, free: 1.945 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00895/1.62, allocations: 1.769 MB / 0.9524 GB, free: 180 kB / 0.6231 GB 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.0009044/1.621, allocations: 253.3 kB / 0.9527 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01845/1.639, allocations: 9.359 MB / 0.9618 GB, free: 6.559 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-05/1.639, allocations: 1.812 kB / 0.9618 GB, free: 6.559 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.006703/1.646, allocations: 3.433 MB / 0.9652 GB, free: 3.105 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005133/1.651, allocations: 0.7244 MB / 0.9659 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3143/1.965, allocations: 16.24 MB / 0.9817 GB, free: 225 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00566/1.971, allocations: 4.823 MB / 0.9864 GB, free: 224.1 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.005497/1.977, allocations: 2.57 MB / 0.9889 GB, free: 224.1 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001267/1.978, allocations: 358.9 kB / 0.9893 GB, free: 224.1 MB / 0.6544 GB Notification: Performance of SimCode: time 7.91e-07/1.978, allocations: 0 / 0.9893 GB, free: 224.1 MB / 0.6544 GB Notification: Performance of Templates: time 0.1151/2.093, allocations: 77.81 MB / 1.065 GB, free: 159.7 MB / 0.6544 GB " [Timeout remaining time 658] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.714376204879954]