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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 179.4 kB / 18.09 MB, free: 3.629 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 223.3 MB / 242.1 MB, free: 11.62 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007653/0.0007654, allocations: 92.61 kB / 293.3 MB, free: 10.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.315/0.315, allocations: 44.15 MB / 388.5 MB, free: 38.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.0003529, allocations: 12 kB / 461.1 MB, free: 1.352 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3083, allocations: 61.87 MB / 0.5107 GB, free: 38.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1435/0.4519, allocations: 117.6 MB / 0.6256 GB, free: 9.449 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/0.4522, allocations: 91.88 kB / 0.6256 GB, free: 9.363 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5501/1.002, allocations: 142.5 MB / 0.7648 GB, free: 81.84 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.683e-06/1.002, allocations: 4 kB / 0.7648 GB, free: 81.84 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004092/1.003, allocations: 135.2 kB / 0.765 GB, free: 81.83 MB / 490.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.01985/1.023, allocations: 7.021 MB / 0.7718 GB, free: 76.12 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/1.023, allocations: 8.031 kB / 0.7718 GB, free: 76.12 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02606/1.049, allocations: 6.863 MB / 0.7785 GB, free: 69.23 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01477/1.064, allocations: 7.459 MB / 0.7858 GB, free: 61.69 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003332/1.064, allocations: 489 kB / 0.7863 GB, free: 61.21 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002202/1.066, allocations: 0.6251 MB / 0.7869 GB, free: 60.59 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02909/1.095, allocations: 15.47 MB / 0.802 GB, free: 43.92 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002665/1.096, allocations: 91.17 kB / 0.8021 GB, free: 43.83 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001006/1.097, allocations: 299.9 kB / 0.8024 GB, free: 43.54 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001457/1.098, allocations: 1.393 MB / 0.8037 GB, free: 42.14 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02158/1.12, allocations: 12.67 MB / 0.8161 GB, free: 29.44 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.324/1.444, allocations: 64.28 MB / 0.8789 GB, free: 67.59 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0153/1.459, allocations: 6.181 MB / 0.8849 GB, free: 66.92 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003666/1.463, allocations: 3.153 MB / 0.888 GB, free: 66.88 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01411/1.477, allocations: 11.05 MB / 0.8988 GB, free: 64.12 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.37e-05/1.477, allocations: 68.75 kB / 0.8988 GB, free: 64.08 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=245): time 5.57e-06/1.477, allocations: 2.344 kB / 0.8988 GB, free: 64.08 MB / 0.5105 GB Notification: Performance of matching and sorting (n=337): time 0.1099/1.587, allocations: 36.65 MB / 0.9346 GB, free: 60 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.403e-05/1.587, allocations: 236.3 kB / 0.9349 GB, free: 59.75 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007025/1.594, allocations: 5.589 MB / 0.9403 GB, free: 59.25 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007587/1.595, allocations: 76.52 kB / 0.9404 GB, free: 59.18 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002167/1.597, allocations: 4.46 MB / 0.9448 GB, free: 55.82 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001246/1.598, allocations: 1.241 MB / 0.946 GB, free: 54.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003862/1.599, allocations: 165.3 kB / 0.9461 GB, free: 54.78 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003089/1.599, allocations: 0.6502 MB / 0.9468 GB, free: 54.32 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004319/1.603, allocations: 3.604 MB / 0.9503 GB, free: 52.99 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006334/1.61, allocations: 8.178 MB / 0.9583 GB, free: 45.59 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0128/1.622, allocations: 12.74 MB / 0.9707 GB, free: 36.35 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001489/1.623, allocations: 46.88 kB / 0.9707 GB, free: 36.35 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1073) (initialization): time 0.02941/1.652, allocations: 14.74 MB / 0.9851 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001005/1.652, allocations: 78.72 kB / 0.9852 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002145/1.652, allocations: 156 kB / 0.9854 GB, free: 26.83 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01078/1.663, allocations: 3.571 MB / 0.9889 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005672/1.669, allocations: 1.794 MB / 0.9906 GB, free: 22.81 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02205/1.691, allocations: 18.01 MB / 1.008 GB, free: 7.402 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007081/1.698, allocations: 479.9 kB / 1.009 GB, free: 7.004 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001735/1.7, allocations: 467.4 kB / 1.009 GB, free: 6.551 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 724 * 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 (972): * Single equations (assignments): 968 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 77} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006772/1.707, allocations: 3.123 MB / 1.012 GB, free: 3.805 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001193/1.708, allocations: 0.5283 MB / 1.013 GB, free: 3.27 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02648/1.734, allocations: 9.57 MB / 1.022 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-05/1.734, allocations: 34.11 kB / 1.022 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-05/1.735, allocations: 19.94 kB / 1.022 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.017e-05/1.735, allocations: 15.95 kB / 1.022 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03751/1.772, allocations: 18.65 MB / 1.04 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.14e-05/1.772, allocations: 8 kB / 1.04 GB, free: 10.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002324/1.775, allocations: 488 kB / 1.041 GB, free: 9.922 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01055/1.785, allocations: 3.13 MB / 1.044 GB, free: 6.789 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006923/1.786, allocations: 63.98 kB / 1.044 GB, free: 6.727 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0232/1.809, allocations: 15.68 MB / 1.059 GB, free: 6.91 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/1.809, allocations: 4 kB / 1.059 GB, free: 6.906 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02368/1.833, allocations: 13.26 MB / 1.072 GB, free: 9.465 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001529/1.834, allocations: 0.5566 MB / 1.073 GB, free: 8.883 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009215/1.835, allocations: 58.25 kB / 1.073 GB, free: 8.828 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002346/1.838, allocations: 211.7 kB / 1.073 GB, free: 8.621 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006388/1.838, allocations: 218.3 kB / 1.073 GB, free: 8.402 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002584/1.839, allocations: 91.94 kB / 1.073 GB, free: 8.312 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.005572/1.844, allocations: 3.518 MB / 1.077 GB, free: 4.824 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.71e-07/1.844, allocations: 0 / 1.077 GB, free: 4.824 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.007095/1.851, allocations: 1.678 MB / 1.078 GB, free: 3.16 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 (253): * Single equations (assignments): 249 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00065/1.852, allocations: 261 kB / 1.079 GB, free: 2.914 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01464/1.867, allocations: 8.909 MB / 1.087 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/1.867, allocations: 4.25 kB / 1.087 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.005589/1.872, allocations: 3.49 MB / 1.091 GB, free: 6.488 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01039/1.883, allocations: 0.7298 MB / 1.091 GB, free: 5.789 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2657/2.148, allocations: 17.93 MB / 1.109 GB, free: 170.8 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007551/2.156, allocations: 4.816 MB / 1.114 GB, free: 169.9 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.006476/2.162, allocations: 2.604 MB / 1.116 GB, free: 169.9 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009509/2.163, allocations: 346 kB / 1.116 GB, free: 169.9 MB / 0.5886 GB Notification: Performance of SimCode: time 8.02e-07/2.163, allocations: 0 / 1.116 GB, free: 169.9 MB / 0.5886 GB Notification: Performance of Templates: time 0.1041/2.268, allocations: 68.91 MB / 1.184 GB, free: 155.7 MB / 0.5886 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches