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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 104.2 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 242.2 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2032/0.2032, allocations: 44.17 MB / 336.6 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 64.81 kB / 408.4 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1327, allocations: 60.82 MB / 469.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01627/0.149, allocations: 15.99 MB / 485.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01231/0.1614, allocations: 5.452 MB / 490.7 MB, free: 8.848 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004302/0.1657, allocations: 115.6 kB / 490.8 MB, free: 8.734 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009802/0.1755, allocations: 5.132 MB / 495.9 MB, free: 3.586 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009367/0.185, allocations: 2.618 MB / 498.6 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003571/0.1886, allocations: 1.4 MB / 500 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01218/0.2008, allocations: 8.093 MB / 0.4961 GB, free: 7.453 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00976/0.2106, allocations: 7.055 MB / 0.503 GB, free: 316 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2848/0.4954, allocations: 2.758 MB / 0.5057 GB, free: 19.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007299/0.5028, allocations: 3.738 MB / 0.5094 GB, free: 19.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002397/0.5052, allocations: 0.6327 MB / 0.51 GB, free: 19.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004966/0.5102, allocations: 1.786 MB / 0.5117 GB, free: 19.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00503/0.5152, allocations: 3.34 MB / 0.515 GB, free: 18.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005384/0.5206, allocations: 3.71 MB / 0.5186 GB, free: 17.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01327/0.5339, allocations: 11.69 MB / 0.53 GB, free: 13.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.5339, allocations: 0 / 0.53 GB, free: 13.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.534, allocations: 4.719 kB / 0.53 GB, free: 13.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004316/0.5344, allocations: 0 / 0.53 GB, free: 13.08 MB / 382.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.0245/0.5589, allocations: 7.909 MB / 0.5378 GB, free: 7.918 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.559, allocations: 7.719 kB / 0.5378 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01523/0.5742, allocations: 3.048 MB / 0.5407 GB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01323/0.5875, allocations: 5.021 MB / 0.5456 GB, free: 3.484 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003768/0.5879, allocations: 381.1 kB / 0.546 GB, free: 3.285 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002533/0.5904, allocations: 0.5147 MB / 0.5465 GB, free: 2.816 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03644/0.6269, allocations: 15.51 MB / 0.5617 GB, free: 2.648 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004142/0.6274, allocations: 69.06 kB / 0.5617 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002304/0.6297, allocations: 238.2 kB / 0.562 GB, free: 2.422 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004789/0.6345, allocations: 2.541 MB / 0.5644 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03057/0.6651, allocations: 13.1 MB / 0.5772 GB, free: 3.035 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09067/0.7558, allocations: 57.6 MB / 0.6335 GB, free: 8.672 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01785/0.7737, allocations: 6.37 MB / 0.6397 GB, free: 2.164 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005651/0.7794, allocations: 3.448 MB / 0.6431 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02262/0.8021, allocations: 11.58 MB / 0.6544 GB, free: 2.766 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.589e-05/0.8022, allocations: 64.03 kB / 0.6544 GB, free: 2.699 MB / 494.1 MB Notification: Performance of pre-optimization done (n=248): time 9.458e-06/0.8022, allocations: 0 / 0.6544 GB, free: 2.699 MB / 494.1 MB Notification: Performance of matching and sorting (n=343): time 0.141/0.9432, allocations: 39.53 MB / 0.693 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001829/0.9434, allocations: 243.9 kB / 0.6933 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01376/0.9572, allocations: 5.707 MB / 0.6988 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001524/0.9588, allocations: 77.7 kB / 0.6989 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004216/0.963, allocations: 4.352 MB / 0.7032 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.2498/1.213, allocations: 1.254 MB / 0.7044 GB, free: 182.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004124/1.217, allocations: 1.747 MB / 0.7061 GB, free: 182.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.421e-05/1.217, allocations: 304.5 kB / 0.7064 GB, free: 181.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006766/1.224, allocations: 4.087 MB / 0.7104 GB, free: 180.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01036/1.234, allocations: 8.67 MB / 0.7188 GB, free: 173.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01902/1.253, allocations: 13.56 MB / 0.7321 GB, free: 163 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003053/1.254, allocations: 45.34 kB / 0.7321 GB, free: 163 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.03409/1.288, allocations: 16.39 MB / 0.7481 GB, free: 157.4 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001811/1.288, allocations: 76.62 kB / 0.7482 GB, free: 157.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003006/1.288, allocations: 156.9 kB / 0.7484 GB, free: 157.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01287/1.301, allocations: 4.29 MB / 0.7525 GB, free: 155.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006316/1.307, allocations: 1.908 MB / 0.7544 GB, free: 153.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02633/1.334, allocations: 21.54 MB / 0.7754 GB, free: 134.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009304/1.343, allocations: 0.5063 MB / 0.7759 GB, free: 133.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002305/1.345, allocations: 484 kB / 0.7764 GB, free: 133.1 MB / 0.5294 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.006068/1.352, allocations: 3.127 MB / 0.7795 GB, free: 130.1 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001042/1.353, allocations: 0.5197 MB / 0.78 GB, free: 129.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01781/1.37, allocations: 10.1 MB / 0.7898 GB, free: 119.7 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.978e-05/1.371, allocations: 39.94 kB / 0.7899 GB, free: 119.6 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.321e-05/1.371, allocations: 18.73 kB / 0.7899 GB, free: 119.6 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.657e-05/1.371, allocations: 15.94 kB / 0.7899 GB, free: 119.6 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03606/1.407, allocations: 20.15 MB / 0.8096 GB, free: 99.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.984e-05/1.407, allocations: 8 kB / 0.8096 GB, free: 99.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002326/1.409, allocations: 0.4979 MB / 0.8101 GB, free: 98.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01129/1.42, allocations: 3.85 MB / 0.8138 GB, free: 94.94 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006196/1.421, allocations: 64.86 kB / 0.8139 GB, free: 94.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02194/1.443, allocations: 19.11 MB / 0.8326 GB, free: 75.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.376e-06/1.443, allocations: 8 kB / 0.8326 GB, free: 75.61 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0234/1.466, allocations: 14.9 MB / 0.8471 GB, free: 60.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002046/1.469, allocations: 0.5733 MB / 0.8477 GB, free: 59.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001485/1.47, allocations: 61.31 kB / 0.8477 GB, free: 59.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002854/1.473, allocations: 227.7 kB / 0.848 GB, free: 59.62 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007652/1.474, allocations: 230.2 kB / 0.8482 GB, free: 59.39 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002569/1.474, allocations: 98.8 kB / 0.8483 GB, free: 59.3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005079/1.479, allocations: 3.604 MB / 0.8518 GB, free: 55.72 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/1.479, allocations: 0 / 0.8518 GB, free: 55.72 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007845/1.487, allocations: 1.785 MB / 0.8535 GB, free: 53.95 MB / 0.5294 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.0008031/1.488, allocations: 260.9 kB / 0.8538 GB, free: 53.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01918/1.507, allocations: 13.29 MB / 0.8668 GB, free: 40.44 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.291e-05/1.507, allocations: 4 kB / 0.8668 GB, free: 40.44 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00492/1.512, allocations: 3.794 MB / 0.8705 GB, free: 36.62 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006199/1.518, allocations: 0.7209 MB / 0.8712 GB, free: 35.92 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02534/1.544, allocations: 16.05 MB / 0.8868 GB, free: 19.75 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004639/1.548, allocations: 4.833 MB / 0.8916 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006892/1.555, allocations: 2.579 MB / 0.8941 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001612/1.557, allocations: 351.4 kB / 0.8944 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of SimCode: time 2.325e-06/1.557, allocations: 0 / 0.8944 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of Templates: time 0.3195/1.876, allocations: 78.93 MB / 0.9715 GB, free: 120.4 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches