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.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.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_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_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.00134/0.00134, allocations: 100.4 kB / 16.4 MB, free: 6.488 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.001328/0.001328, allocations: 188.2 kB / 17.34 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.544/1.544, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2399/0.2399, allocations: 43.52 MB / 314.1 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 73.45 kB / 441.8 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1454, allocations: 57.77 MB / 499.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01817/0.1636, allocations: 16.06 MB / 0.5035 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01285/0.1765, allocations: 5.445 MB / 0.5089 GB, free: 6.215 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004799/0.1813, allocations: 119.6 kB / 0.509 GB, free: 6.098 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0117/0.1931, allocations: 5.132 MB / 0.514 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008783/0.202, allocations: 2.63 MB / 0.5166 GB, free: 14.31 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004067/0.206, allocations: 1.392 MB / 0.5179 GB, free: 12.91 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01216/0.2182, allocations: 7.607 MB / 0.5253 GB, free: 5.285 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3439/0.5622, allocations: 7.029 MB / 0.5322 GB, free: 9.258 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006886/0.5691, allocations: 2.782 MB / 0.5349 GB, free: 9.121 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008261/0.5774, allocations: 3.754 MB / 0.5386 GB, free: 8.777 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003303/0.5808, allocations: 0.6348 MB / 0.5392 GB, free: 8.777 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006185/0.587, allocations: 1.776 MB / 0.5409 GB, free: 8.777 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006338/0.5934, allocations: 3.348 MB / 0.5442 GB, free: 8.477 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008084/0.6015, allocations: 3.715 MB / 0.5478 GB, free: 7.27 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01611/0.6176, allocations: 12.03 MB / 0.5596 GB, free: 3.145 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.6176, allocations: 1.375 kB / 0.5596 GB, free: 3.145 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.6177, allocations: 0 / 0.5596 GB, free: 3.145 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004575/0.6181, allocations: 0 / 0.5596 GB, free: 3.145 MB / 414.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.02661/0.6447, allocations: 8.131 MB / 0.5675 GB, free: 13.75 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.6448, allocations: 12.11 kB / 0.5676 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0164/0.6612, allocations: 3.097 MB / 0.5706 GB, free: 12.17 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01308/0.6743, allocations: 5.294 MB / 0.5757 GB, free: 9.148 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003129/0.6747, allocations: 377.1 kB / 0.5761 GB, free: 9.016 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002842/0.6775, allocations: 0.5124 MB / 0.5766 GB, free: 8.871 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03974/0.7173, allocations: 15.51 MB / 0.5918 GB, free: 10.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004048/0.7178, allocations: 69.11 kB / 0.5918 GB, free: 10.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001914/0.7197, allocations: 242.1 kB / 0.5921 GB, free: 10.42 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004491/0.7242, allocations: 2.54 MB / 0.5945 GB, free: 7.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03081/0.755, allocations: 13.11 MB / 0.6073 GB, free: 11.03 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09635/0.8514, allocations: 57.44 MB / 0.6634 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01842/0.8699, allocations: 6.37 MB / 0.6696 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00583/0.8758, allocations: 3.441 MB / 0.673 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01942/0.8952, allocations: 11.59 MB / 0.6843 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.944e-05/0.8953, allocations: 59.84 kB / 0.6844 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=248): time 5.28e-06/0.8953, allocations: 4 kB / 0.6844 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=343): time 0.1966/1.092, allocations: 39.96 MB / 0.7234 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001616/1.092, allocations: 246.7 kB / 0.7236 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01215/1.104, allocations: 5.756 MB / 0.7293 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001055/1.105, allocations: 81.45 kB / 0.7293 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.004076/1.11, allocations: 4.526 MB / 0.7338 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002611/1.112, allocations: 1.316 MB / 0.735 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006333/1.119, allocations: 1.765 MB / 0.7368 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001264/1.119, allocations: 301.1 kB / 0.7371 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007686/1.126, allocations: 4.085 MB / 0.741 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01326/1.14, allocations: 8.67 MB / 0.7495 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2822/1.422, allocations: 13.56 MB / 0.7628 GB, free: 190.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002063/1.422, allocations: 45.41 kB / 0.7628 GB, free: 190.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.06779/1.49, allocations: 16.4 MB / 0.7788 GB, free: 186.1 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003735/1.49, allocations: 72.06 kB / 0.7789 GB, free: 186.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004596/1.491, allocations: 161.6 kB / 0.779 GB, free: 186.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02621/1.517, allocations: 4.279 MB / 0.7832 GB, free: 185.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01243/1.53, allocations: 1.897 MB / 0.7851 GB, free: 185.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03992/1.57, allocations: 21.56 MB / 0.8061 GB, free: 175.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008334/1.578, allocations: 0.5032 MB / 0.8066 GB, free: 174.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001636/1.58, allocations: 483.9 kB / 0.8071 GB, free: 174.2 MB / 0.5919 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.006911/1.587, allocations: 3.133 MB / 0.8101 GB, free: 171.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001407/1.588, allocations: 0.5417 MB / 0.8107 GB, free: 171.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01911/1.607, allocations: 10.1 MB / 0.8205 GB, free: 163 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-05/1.607, allocations: 39.45 kB / 0.8206 GB, free: 162.9 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.977e-05/1.607, allocations: 16 kB / 0.8206 GB, free: 162.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.232e-05/1.607, allocations: 15.94 kB / 0.8206 GB, free: 162.9 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03674/1.644, allocations: 20.07 MB / 0.8402 GB, free: 142.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-05/1.644, allocations: 8.875 kB / 0.8402 GB, free: 142.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0026/1.647, allocations: 0.4992 MB / 0.8407 GB, free: 142.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01267/1.659, allocations: 3.833 MB / 0.8444 GB, free: 138.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005339/1.66, allocations: 60 kB / 0.8445 GB, free: 138.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02243/1.682, allocations: 19.12 MB / 0.8632 GB, free: 119.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.407e-06/1.682, allocations: 15.92 kB / 0.8632 GB, free: 119.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02334/1.706, allocations: 14.94 MB / 0.8778 GB, free: 104.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003333/1.709, allocations: 1.2 MB / 0.8789 GB, free: 102.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001092/1.71, allocations: 64 kB / 0.879 GB, free: 102.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002773/1.713, allocations: 232.9 kB / 0.8792 GB, free: 102.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006825/1.714, allocations: 226.3 kB / 0.8794 GB, free: 102.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002603/1.714, allocations: 88 kB / 0.8795 GB, free: 102.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005011/1.719, allocations: 3.632 MB / 0.8831 GB, free: 98.75 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/1.719, allocations: 0 / 0.8831 GB, free: 98.75 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007221/1.726, allocations: 1.793 MB / 0.8848 GB, free: 96.96 MB / 0.5919 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.0006975/1.727, allocations: 258.1 kB / 0.8851 GB, free: 96.72 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01308/1.74, allocations: 9.839 MB / 0.8947 GB, free: 86.87 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.111e-05/1.74, allocations: 4 kB / 0.8947 GB, free: 86.87 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004815/1.745, allocations: 3.802 MB / 0.8984 GB, free: 83.04 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004979/1.75, allocations: 0.7243 MB / 0.8991 GB, free: 82.34 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03078/1.781, allocations: 16.15 MB / 0.9149 GB, free: 66.06 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009463/1.79, allocations: 4.84 MB / 0.9196 GB, free: 61.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0111/1.801, allocations: 2.58 MB / 0.9221 GB, free: 58.61 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002384/1.804, allocations: 355.4 kB / 0.9225 GB, free: 58.27 MB / 0.5919 GB Notification: Performance of SimCode: time 1.663e-06/1.804, allocations: 0 / 0.9225 GB, free: 58.27 MB / 0.5919 GB Notification: Performance of Templates: time 0.4405/2.244, allocations: 74.93 MB / 0.9956 GB, free: 188.5 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches