Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 173.1 kB / 16.08 MB, free: 5.699 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.517/1.517, allocations: 205.6 MB / 222.4 MB, free: 8.945 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000752/0.000752, allocations: 99.19 kB / 270.8 MB, free: 8.117 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3962/0.3962, allocations: 43.67 MB / 362.7 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002897/0.0002898, allocations: 8 kB / 432.3 MB, free: 4.773 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.124, allocations: 58.85 MB / 491.2 MB, free: 9.785 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.2967/0.4208, allocations: 62.31 MB / 0.5405 GB, free: 6.094 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03588/0.4567, allocations: 17.37 MB / 0.5575 GB, free: 8.652 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01389/0.4707, allocations: 304.1 kB / 0.5577 GB, free: 8.602 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002822/0.4735, allocations: 0.5869 MB / 0.5583 GB, free: 8.371 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008898/0.4825, allocations: 2.485 MB / 0.5607 GB, free: 7.242 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003526/0.486, allocations: 1.281 MB / 0.562 GB, free: 6.715 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0158/0.5018, allocations: 10.95 MB / 0.5727 GB, free: 3.512 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01608/0.518, allocations: 11.45 MB / 0.5839 GB, free: 9.223 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005294/0.5233, allocations: 2.195 MB / 0.586 GB, free: 7.02 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005804/0.5291, allocations: 3.376 MB / 0.5893 GB, free: 3.633 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00146/0.5306, allocations: 240 kB / 0.5895 GB, free: 3.398 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004125/0.5348, allocations: 1.447 MB / 0.591 GB, free: 1.949 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00391/0.5387, allocations: 2.851 MB / 0.5937 GB, free: 15.09 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004623/0.5434, allocations: 3.189 MB / 0.5969 GB, free: 11.88 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01234/0.5557, allocations: 11.16 MB / 0.6078 GB, free: 0.6758 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.5558, allocations: 0 / 0.6078 GB, free: 0.6758 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5558, allocations: 0 / 0.6078 GB, free: 0.6758 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000312/0.5561, allocations: 4 kB / 0.6078 GB, free: 0.6719 MB / 426.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.01412/0.5702, allocations: 6.536 MB / 0.6141 GB, free: 10.05 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.5703, allocations: 8.031 kB / 0.6142 GB, free: 10.05 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01371/0.584, allocations: 3.12 MB / 0.6172 GB, free: 6.914 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01183/0.5959, allocations: 5.17 MB / 0.6222 GB, free: 1.664 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003661/0.5963, allocations: 382.4 kB / 0.6226 GB, free: 1.289 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002501/0.5988, allocations: 0.5113 MB / 0.6231 GB, free: 0.7773 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03038/0.6292, allocations: 15.52 MB / 0.6383 GB, free: 368 kB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001869/0.6294, allocations: 71.36 kB / 0.6383 GB, free: 296 kB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005943/0.63, allocations: 239.8 kB / 0.6386 GB, free: 56 kB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003757/0.6338, allocations: 2.54 MB / 0.641 GB, free: 13.51 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02832/0.6621, allocations: 13.08 MB / 0.6538 GB, free: 416 kB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3342/0.9964, allocations: 57.58 MB / 0.7101 GB, free: 97.68 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01528/1.012, allocations: 6.417 MB / 0.7163 GB, free: 95.65 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004023/1.016, allocations: 3.434 MB / 0.7197 GB, free: 94.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01717/1.033, allocations: 11.57 MB / 0.731 GB, free: 88.03 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.244e-05/1.033, allocations: 58.92 kB / 0.731 GB, free: 87.98 MB / 490.7 MB Notification: Performance of pre-optimization done (n=248): time 5.33e-06/1.033, allocations: 0 / 0.731 GB, free: 87.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=343): time 0.1214/1.154, allocations: 39.62 MB / 0.7697 GB, free: 66.22 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.568e-05/1.155, allocations: 243.8 kB / 0.77 GB, free: 65.93 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007364/1.162, allocations: 5.696 MB / 0.7755 GB, free: 60.25 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008958/1.163, allocations: 77.7 kB / 0.7756 GB, free: 60.17 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002215/1.165, allocations: 4.361 MB / 0.7798 GB, free: 55.82 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001464/1.167, allocations: 1.254 MB / 0.7811 GB, free: 54.57 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000397/1.167, allocations: 172 kB / 0.7812 GB, free: 54.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003572/1.167, allocations: 0.6738 MB / 0.7819 GB, free: 53.72 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004847/1.172, allocations: 4.046 MB / 0.7858 GB, free: 49.66 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0065/1.179, allocations: 8.637 MB / 0.7943 GB, free: 38.79 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01387/1.193, allocations: 13.53 MB / 0.8075 GB, free: 23.01 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001311/1.193, allocations: 44 kB / 0.8075 GB, free: 22.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.03212/1.225, allocations: 16.31 MB / 0.8235 GB, free: 6.609 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.026e-05/1.225, allocations: 72 kB / 0.8235 GB, free: 6.539 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001458/1.225, allocations: 156.8 kB / 0.8237 GB, free: 6.387 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01263/1.238, allocations: 4.287 MB / 0.8279 GB, free: 2.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006213/1.244, allocations: 1.903 MB / 0.8297 GB, free: 188 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03158/1.276, allocations: 20.16 MB / 0.8494 GB, free: 11.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00978/1.285, allocations: 0.5109 MB / 0.8499 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00219/1.288, allocations: 480 kB / 0.8504 GB, free: 10.92 MB / 0.5105 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.006789/1.295, allocations: 3.13 MB / 0.8534 GB, free: 7.777 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00127/1.296, allocations: 0.5129 MB / 0.8539 GB, free: 7.258 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.279/1.575, allocations: 10.1 MB / 0.8638 GB, free: 150.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.029e-05/1.575, allocations: 34.28 kB / 0.8638 GB, free: 150.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.001e-05/1.575, allocations: 15.72 kB / 0.8638 GB, free: 150.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-05/1.575, allocations: 15.75 kB / 0.8638 GB, free: 150.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04141/1.616, allocations: 20.14 MB / 0.8835 GB, free: 145.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.516e-05/1.617, allocations: 9.578 kB / 0.8835 GB, free: 145.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002793/1.619, allocations: 0.4902 MB / 0.884 GB, free: 145.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01374/1.633, allocations: 3.846 MB / 0.8878 GB, free: 145.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000753/1.634, allocations: 72.69 kB / 0.8878 GB, free: 145.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0275/1.661, allocations: 17.79 MB / 0.9052 GB, free: 137.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.128e-05/1.661, allocations: 13.03 kB / 0.9052 GB, free: 137.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02628/1.688, allocations: 14.86 MB / 0.9197 GB, free: 131.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002744/1.691, allocations: 1.174 MB / 0.9209 GB, free: 131.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009857/1.692, allocations: 72.73 kB / 0.921 GB, free: 131.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002573/1.694, allocations: 234.8 kB / 0.9212 GB, free: 131.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008795/1.695, allocations: 227.8 kB / 0.9214 GB, free: 131.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002515/1.695, allocations: 95.84 kB / 0.9215 GB, free: 131.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005062/1.7, allocations: 3.578 MB / 0.925 GB, free: 129.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.91e-07/1.7, allocations: 0 / 0.925 GB, free: 129.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007331/1.708, allocations: 1.788 MB / 0.9267 GB, free: 129.1 MB / 0.5105 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.0006822/1.708, allocations: 272.9 kB / 0.927 GB, free: 128.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01248/1.721, allocations: 9.759 MB / 0.9365 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.109e-05/1.721, allocations: 4 kB / 0.9365 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004802/1.726, allocations: 3.772 MB / 0.9402 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009062/1.735, allocations: 0.7112 MB / 0.9409 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02293/1.758, allocations: 19.26 MB / 0.9597 GB, free: 97.15 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005559/1.763, allocations: 4.835 MB / 0.9644 GB, free: 92.28 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006017/1.769, allocations: 2.586 MB / 0.967 GB, free: 89.69 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001031/1.771, allocations: 351.4 kB / 0.9673 GB, free: 89.35 MB / 0.5105 GB Notification: Performance of SimCode: time 6.82e-07/1.771, allocations: 4 kB / 0.9673 GB, free: 89.34 MB / 0.5105 GB Notification: Performance of Templates: time 0.1047/1.875, allocations: 74.46 MB / 1.04 GB, free: 15.06 MB / 0.5105 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","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches