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.001665/0.001665, allocations: 186.9 kB / 17.97 MB, free: 3.797 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.483/1.483, allocations: 222.9 MB / 241.6 MB, free: 11 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.001066/0.001066, allocations: 108.3 kB / 291.9 MB, free: 10.96 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.3628/0.3628, allocations: 44.13 MB / 386.1 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001071/0.001072, allocations: 47.92 kB / 457.7 MB, free: 2.34 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3336, allocations: 60.8 MB / 0.5064 GB, free: 38.3 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.04981/0.3834, allocations: 68.43 MB / 0.5732 GB, free: 5.336 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03498/0.4184, allocations: 14.25 MB / 0.5871 GB, free: 11.79 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01763/0.4361, allocations: 303.5 kB / 0.5874 GB, free: 11.72 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01017/0.4463, allocations: 5.145 MB / 0.5924 GB, free: 7.523 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007495/0.4539, allocations: 2.472 MB / 0.5948 GB, free: 5.332 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003304/0.4572, allocations: 1.284 MB / 0.5961 GB, free: 4.047 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01404/0.4713, allocations: 11.7 MB / 0.6075 GB, free: 8.336 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009118/0.4805, allocations: 6.87 MB / 0.6142 GB, free: 1.375 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004957/0.4855, allocations: 2.461 MB / 0.6166 GB, free: 14.91 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005922/0.4914, allocations: 3.953 MB / 0.6205 GB, free: 10.94 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001978/0.4934, allocations: 428 kB / 0.6209 GB, free: 10.52 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004358/0.4978, allocations: 1.673 MB / 0.6225 GB, free: 8.848 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004178/0.502, allocations: 3.16 MB / 0.6256 GB, free: 5.68 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006598/0.5086, allocations: 3.488 MB / 0.629 GB, free: 2.172 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01289/0.5215, allocations: 11.52 MB / 0.6403 GB, free: 6.609 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.5216, allocations: 0 / 0.6403 GB, free: 6.609 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.5216, allocations: 0 / 0.6403 GB, free: 6.609 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003964/0.522, allocations: 0 / 0.6403 GB, free: 6.609 MB / 458.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.02013/0.5421, allocations: 7.92 MB / 0.648 GB, free: 14.61 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.5422, allocations: 8.031 kB / 0.648 GB, free: 14.6 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01512/0.5573, allocations: 3.049 MB / 0.651 GB, free: 11.54 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01347/0.5708, allocations: 5.014 MB / 0.6559 GB, free: 6.441 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003407/0.5712, allocations: 378.2 kB / 0.6563 GB, free: 6.07 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002276/0.5735, allocations: 0.5152 MB / 0.6568 GB, free: 5.555 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03346/0.607, allocations: 15.51 MB / 0.6719 GB, free: 5.148 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002694/0.6073, allocations: 67.44 kB / 0.672 GB, free: 5.082 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001417/0.6087, allocations: 235.8 kB / 0.6722 GB, free: 4.852 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003936/0.6127, allocations: 2.544 MB / 0.6747 GB, free: 2.305 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2742/0.8869, allocations: 13.1 MB / 0.6875 GB, free: 124 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0718/0.9587, allocations: 57.58 MB / 0.7437 GB, free: 86.03 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01633/0.9751, allocations: 6.394 MB / 0.7499 GB, free: 83.04 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003947/0.9791, allocations: 3.443 MB / 0.7533 GB, free: 80.79 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01616/0.9953, allocations: 11.57 MB / 0.7646 GB, free: 68.87 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.9954, allocations: 56.5 kB / 0.7647 GB, free: 68.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=248): time 5.19e-06/0.9954, allocations: 0 / 0.7647 GB, free: 68.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=343): time 0.1294/1.125, allocations: 39.53 MB / 0.8033 GB, free: 29.18 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.231e-05/1.125, allocations: 247.9 kB / 0.8035 GB, free: 28.89 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007275/1.132, allocations: 5.703 MB / 0.8091 GB, free: 23.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009257/1.133, allocations: 77.7 kB / 0.8091 GB, free: 23.12 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002111/1.135, allocations: 4.355 MB / 0.8134 GB, free: 18.71 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001442/1.137, allocations: 1.257 MB / 0.8146 GB, free: 17.44 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002203/1.139, allocations: 1.753 MB / 0.8163 GB, free: 15.67 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.78e-05/1.139, allocations: 309.1 kB / 0.8166 GB, free: 15.36 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005005/1.144, allocations: 4.081 MB / 0.8206 GB, free: 11.27 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007129/1.151, allocations: 8.668 MB / 0.8291 GB, free: 376 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01886/1.17, allocations: 13.56 MB / 0.8423 GB, free: 0.5664 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001657/1.17, allocations: 49.62 kB / 0.8424 GB, free: 0.5195 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.03704/1.207, allocations: 16.38 MB / 0.8584 GB, free: 92 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002115/1.208, allocations: 76.98 kB / 0.8584 GB, free: 16 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003091/1.208, allocations: 160 kB / 0.8586 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01522/1.223, allocations: 4.279 MB / 0.8628 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007125/1.23, allocations: 1.895 MB / 0.8646 GB, free: 9.676 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2734/1.504, allocations: 20.17 MB / 0.8843 GB, free: 154.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007014/1.511, allocations: 0.5048 MB / 0.8848 GB, free: 154.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001775/1.513, allocations: 488.1 kB / 0.8853 GB, free: 154.4 MB / 0.5261 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.005955/1.519, allocations: 3.118 MB / 0.8883 GB, free: 153.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001336/1.52, allocations: 0.5159 MB / 0.8888 GB, free: 153.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02007/1.54, allocations: 10.11 MB / 0.8987 GB, free: 149.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.844e-05/1.54, allocations: 37.12 kB / 0.8987 GB, free: 149.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.792e-05/1.54, allocations: 23.92 kB / 0.8988 GB, free: 149.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.438e-05/1.54, allocations: 12.56 kB / 0.8988 GB, free: 149.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04516/1.585, allocations: 20.16 MB / 0.9185 GB, free: 142.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-05/1.586, allocations: 12.09 kB / 0.9185 GB, free: 142.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002332/1.588, allocations: 0.4912 MB / 0.9189 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01193/1.6, allocations: 3.837 MB / 0.9227 GB, free: 141.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006453/1.601, allocations: 67.8 kB / 0.9228 GB, free: 141.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02259/1.623, allocations: 17.8 MB / 0.9401 GB, free: 131.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/1.623, allocations: 8 kB / 0.9402 GB, free: 131.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2465/1.87, allocations: 123.4 MB / 1.061 GB, free: 8.312 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002276/1.872, allocations: 0.5762 MB / 1.061 GB, free: 7.711 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002048/1.874, allocations: 60 kB / 1.061 GB, free: 7.652 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004225/1.878, allocations: 239.4 kB / 1.062 GB, free: 7.422 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001253/1.88, allocations: 230.2 kB / 1.062 GB, free: 7.195 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007375/1.88, allocations: 99.08 kB / 1.062 GB, free: 7.102 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006437/1.887, allocations: 3.604 MB / 1.065 GB, free: 3.523 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.81e-07/1.887, allocations: 0 / 1.065 GB, free: 3.523 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01147/1.898, allocations: 2.488 MB / 1.068 GB, free: 1.043 MB / 0.5261 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.001162/1.9, allocations: 256.2 kB / 1.068 GB, free: 0.793 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.2196/2.119, allocations: 9.798 MB / 1.078 GB, free: 168 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/2.119, allocations: 0 / 1.078 GB, free: 168 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004907/2.124, allocations: 3.783 MB / 1.081 GB, free: 167.8 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003995/2.128, allocations: 0.6885 MB / 1.082 GB, free: 167.8 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02692/2.155, allocations: 21.81 MB / 1.103 GB, free: 157.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005771/2.161, allocations: 4.959 MB / 1.108 GB, free: 156.1 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.007212/2.168, allocations: 2.659 MB / 1.111 GB, free: 156 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001879/2.17, allocations: 367.4 kB / 1.111 GB, free: 156 MB / 0.5417 GB Notification: Performance of SimCode: time 9.01e-07/2.17, allocations: 0 / 1.111 GB, free: 156 MB / 0.5417 GB Notification: Performance of Templates: time 0.1422/2.312, allocations: 112.2 MB / 1.221 GB, free: 62.91 MB / 0.5417 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@2/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