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.00112/0.00112, allocations: 107.4 kB / 18.45 MB, free: 4.625 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.00118/0.00118, allocations: 186.2 kB / 19.38 MB, free: 3.703 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.256/1.256, allocations: 222.9 MB / 243.1 MB, free: 15.09 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.1951/0.1951, allocations: 44.17 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 63.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3623, allocations: 60.82 MB / 0.5195 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01664/0.379, allocations: 16.01 MB / 0.5352 GB, free: 7.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01319/0.3922, allocations: 5.447 MB / 0.5405 GB, free: 3.621 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004014/0.3963, allocations: 113.1 kB / 0.5406 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01073/0.407, allocations: 5.135 MB / 0.5456 GB, free: 172 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009476/0.4166, allocations: 2.618 MB / 0.5482 GB, free: 14.26 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004623/0.4213, allocations: 1.396 MB / 0.5495 GB, free: 13.29 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01243/0.4337, allocations: 8.099 MB / 0.5575 GB, free: 5.18 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01065/0.4444, allocations: 7.038 MB / 0.5643 GB, free: 14.05 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005484/0.4499, allocations: 2.769 MB / 0.567 GB, free: 11.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006179/0.4562, allocations: 3.751 MB / 0.5707 GB, free: 7.512 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00226/0.4584, allocations: 0.6328 MB / 0.5713 GB, free: 6.879 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004697/0.4632, allocations: 1.799 MB / 0.5731 GB, free: 5.078 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004767/0.468, allocations: 3.379 MB / 0.5764 GB, free: 1.691 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007173/0.4752, allocations: 3.71 MB / 0.58 GB, free: 13.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01594/0.4911, allocations: 11.98 MB / 0.5917 GB, free: 1.941 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/0.4912, allocations: 0 / 0.5917 GB, free: 1.941 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.4912, allocations: 0 / 0.5917 GB, free: 1.941 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000444/0.4916, allocations: 0 / 0.5917 GB, free: 1.941 MB / 446.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.02149/0.5131, allocations: 7.92 MB / 0.5994 GB, free: 9.934 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.5132, allocations: 12.03 kB / 0.5994 GB, free: 9.922 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01485/0.5281, allocations: 3.046 MB / 0.6024 GB, free: 6.863 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01223/0.5403, allocations: 5.123 MB / 0.6074 GB, free: 1.66 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003957/0.5408, allocations: 378.2 kB / 0.6078 GB, free: 1.289 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002275/0.5431, allocations: 0.5152 MB / 0.6083 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03382/0.5769, allocations: 15.51 MB / 0.6234 GB, free: 376 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003537/0.5773, allocations: 67.38 kB / 0.6235 GB, free: 308 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001882/0.5792, allocations: 235.8 kB / 0.6237 GB, free: 72 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004292/0.5835, allocations: 2.556 MB / 0.6262 GB, free: 13.51 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02863/0.6122, allocations: 13.1 MB / 0.639 GB, free: 404 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08051/0.6927, allocations: 57.31 MB / 0.695 GB, free: 5.5 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01766/0.7105, allocations: 6.375 MB / 0.7012 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00482/0.7153, allocations: 3.446 MB / 0.7046 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2827/0.998, allocations: 11.56 MB / 0.7158 GB, free: 167.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.741e-05/0.9981, allocations: 61.97 kB / 0.7159 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=248): time 5.981e-06/0.9981, allocations: 0.5 kB / 0.7159 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=343): time 0.1226/1.121, allocations: 39.53 MB / 0.7545 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.512e-05/1.121, allocations: 247.8 kB / 0.7547 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0067/1.128, allocations: 5.713 MB / 0.7603 GB, free: 143.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000857/1.128, allocations: 77.7 kB / 0.7604 GB, free: 143.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00212/1.131, allocations: 4.346 MB / 0.7646 GB, free: 139 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00145/1.132, allocations: 1.261 MB / 0.7659 GB, free: 137.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00219/1.134, allocations: 1.757 MB / 0.7676 GB, free: 136 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.639e-05/1.134, allocations: 301.1 kB / 0.7679 GB, free: 135.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004458/1.139, allocations: 4.089 MB / 0.7719 GB, free: 131.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006275/1.145, allocations: 8.667 MB / 0.7803 GB, free: 120.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01258/1.158, allocations: 13.56 MB / 0.7936 GB, free: 104.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001285/1.158, allocations: 44 kB / 0.7936 GB, free: 104.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.02921/1.187, allocations: 16.38 MB / 0.8096 GB, free: 88.47 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.89e-05/1.187, allocations: 72 kB / 0.8097 GB, free: 88.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001879/1.187, allocations: 159.9 kB / 0.8098 GB, free: 88.24 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01214/1.199, allocations: 4.283 MB / 0.814 GB, free: 83.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005868/1.205, allocations: 1.895 MB / 0.8159 GB, free: 82.06 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02505/1.23, allocations: 21.54 MB / 0.8369 GB, free: 60.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006709/1.237, allocations: 0.4993 MB / 0.8374 GB, free: 59.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001251/1.238, allocations: 485.2 kB / 0.8379 GB, free: 59.41 MB / 0.5606 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.005297/1.244, allocations: 3.126 MB / 0.8409 GB, free: 56.27 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001135/1.245, allocations: 0.5198 MB / 0.8414 GB, free: 55.75 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01803/1.263, allocations: 10.12 MB / 0.8513 GB, free: 45.57 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.604e-05/1.263, allocations: 32 kB / 0.8513 GB, free: 45.54 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.377e-05/1.263, allocations: 16 kB / 0.8513 GB, free: 45.52 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.554e-05/1.263, allocations: 15.94 kB / 0.8514 GB, free: 45.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03426/1.297, allocations: 20.06 MB / 0.8709 GB, free: 25.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.4e-05/1.297, allocations: 8 kB / 0.871 GB, free: 25.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002238/1.3, allocations: 0.4914 MB / 0.8714 GB, free: 24.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01111/1.311, allocations: 3.837 MB / 0.8752 GB, free: 20.95 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000792/1.312, allocations: 71.88 kB / 0.8752 GB, free: 20.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02235/1.334, allocations: 19.1 MB / 0.8939 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/1.334, allocations: 8.062 kB / 0.8939 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02963/1.364, allocations: 14.91 MB / 0.9085 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002306/1.366, allocations: 0.5801 MB / 0.909 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002171/1.368, allocations: 60 kB / 0.9091 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00407/1.372, allocations: 231.7 kB / 0.9093 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001306/1.374, allocations: 230.1 kB / 0.9095 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007225/1.374, allocations: 95.42 kB / 0.9096 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.008367/1.383, allocations: 3.604 MB / 0.9131 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.71e-07/1.383, allocations: 0 / 0.9131 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009655/1.392, allocations: 1.789 MB / 0.9149 GB, free: 11.95 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.001492/1.394, allocations: 254.3 kB / 0.9151 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01813/1.412, allocations: 9.846 MB / 0.9247 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-05/1.412, allocations: 4 kB / 0.9247 GB, free: 1.848 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.008428/1.421, allocations: 3.786 MB / 0.9284 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007538/1.428, allocations: 0.7298 MB / 0.9292 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2891/1.717, allocations: 16.48 MB / 0.9453 GB, free: 212.2 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009182/1.727, allocations: 4.79 MB / 0.9499 GB, free: 211.3 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002175/1.729, allocations: 401.3 kB / 0.9503 GB, free: 211.3 MB / 0.6231 GB Notification: Performance of SimCode: time 1.042e-06/1.729, allocations: 0.5938 kB / 0.9503 GB, free: 211.3 MB / 0.6231 GB Notification: Performance of Templates: time 0.1364/1.865, allocations: 123.7 MB / 1.071 GB, free: 109.6 MB / 0.6231 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","/var/lib/jenkins1/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