Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.419/1.419, allocations: 205.1 MB / 222.5 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001211/0.001211, allocations: 100.7 kB / 269.9 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3615/0.3615, allocations: 43.5 MB / 360.7 MB, free: 51.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001085/0.001085, allocations: 47.92 kB / 429.2 MB, free: 6.402 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1318, allocations: 57.78 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.2804/0.4123, allocations: 58.25 MB / 0.5325 GB, free: 28.62 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02937/0.4417, allocations: 12.31 MB / 0.5445 GB, free: 20.42 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01591/0.4576, allocations: 250.6 kB / 0.5447 GB, free: 20.38 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007574/0.4652, allocations: 4.147 MB / 0.5488 GB, free: 18.48 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007236/0.4726, allocations: 2.606 MB / 0.5513 GB, free: 17.34 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002538/0.4751, allocations: 1.162 MB / 0.5525 GB, free: 16.84 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01294/0.4881, allocations: 10.56 MB / 0.5628 GB, free: 13.82 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01177/0.4999, allocations: 5.752 MB / 0.5684 GB, free: 11.73 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005662/0.5056, allocations: 2.369 MB / 0.5707 GB, free: 10.83 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006971/0.5126, allocations: 3.997 MB / 0.5746 GB, free: 8.711 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002267/0.5149, allocations: 416.9 kB / 0.575 GB, free: 8.711 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005083/0.52, allocations: 1.645 MB / 0.5766 GB, free: 8.023 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004743/0.5247, allocations: 3.181 MB / 0.5797 GB, free: 6.242 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007329/0.5321, allocations: 3.632 MB / 0.5833 GB, free: 2.883 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01571/0.5478, allocations: 11.81 MB / 0.5948 GB, free: 7.031 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.5478, allocations: 0 / 0.5948 GB, free: 7.031 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.5479, allocations: 0 / 0.5948 GB, free: 7.031 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005074/0.5484, allocations: 4 kB / 0.5948 GB, free: 7.027 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2564 * Number of variables: 2564 Notification: Performance of Generate backend data structure: time 0.02216/0.5706, allocations: 7.9 MB / 0.6025 GB, free: 15.04 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.5706, allocations: 8.031 kB / 0.6025 GB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01639/0.587, allocations: 3.941 MB / 0.6064 GB, free: 11.08 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01163/0.5987, allocations: 4.405 MB / 0.6107 GB, free: 6.613 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003675/0.5991, allocations: 398 kB / 0.6111 GB, free: 6.223 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002107/0.6012, allocations: 0.5581 MB / 0.6116 GB, free: 5.664 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03516/0.6364, allocations: 18.87 MB / 0.6301 GB, free: 1.738 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001756/0.6366, allocations: 75.31 kB / 0.6301 GB, free: 1.664 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000651/0.6373, allocations: 247.7 kB / 0.6304 GB, free: 1.422 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00496/0.6422, allocations: 3.42 MB / 0.6337 GB, free: 14 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03668/0.6789, allocations: 16.63 MB / 0.6499 GB, free: 13.34 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3386/1.018, allocations: 66.93 MB / 0.7153 GB, free: 108.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01532/1.033, allocations: 6.279 MB / 0.7214 GB, free: 107 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003474/1.036, allocations: 2.819 MB / 0.7242 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02167/1.058, allocations: 13.86 MB / 0.7377 GB, free: 98.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/1.058, allocations: 68.81 kB / 0.7378 GB, free: 98.84 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=284): time 5.851e-06/1.058, allocations: 2.969 kB / 0.7378 GB, free: 98.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=345): time 0.07995/1.138, allocations: 25.08 MB / 0.7623 GB, free: 90.77 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.926e-05/1.138, allocations: 187.2 kB / 0.7625 GB, free: 90.58 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007399/1.146, allocations: 5.907 MB / 0.7682 GB, free: 88.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005346/1.146, allocations: 72.83 kB / 0.7683 GB, free: 88.44 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002565/1.149, allocations: 4.966 MB / 0.7732 GB, free: 84.63 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001363/1.15, allocations: 1.284 MB / 0.7744 GB, free: 83.69 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00206/1.152, allocations: 1.905 MB / 0.7763 GB, free: 82.77 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 4.356e-05/1.152, allocations: 309.1 kB / 0.7766 GB, free: 82.46 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004101/1.156, allocations: 3.354 MB / 0.7798 GB, free: 81.36 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006503/1.163, allocations: 8.873 MB / 0.7885 GB, free: 72.79 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01194/1.175, allocations: 13.18 MB / 0.8014 GB, free: 58.21 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001546/1.175, allocations: 56 kB / 0.8014 GB, free: 58.15 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02106/1.196, allocations: 13 MB / 0.8141 GB, free: 45.11 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001096/1.196, allocations: 88 kB / 0.8142 GB, free: 45.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000179/1.197, allocations: 192 kB / 0.8144 GB, free: 44.83 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003881/1.2, allocations: 1.319 MB / 0.8157 GB, free: 43.51 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006744/1.207, allocations: 2.211 MB / 0.8178 GB, free: 41.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009686/1.217, allocations: 7.282 MB / 0.8249 GB, free: 33.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006581/1.224, allocations: 0.5065 MB / 0.8254 GB, free: 33.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001328/1.225, allocations: 0.5624 MB / 0.826 GB, free: 32.82 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 880 * Number of states: 0 () * Number of discrete variables: 46 (jointSSR.revolute.positiveBranch,Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],FixedFrame1.color_x[3],FixedFrame1.color_x[2],FixedFrame1.color_x[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[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 (1179): * Single equations (assignments): 1172 * Array equations: 6 * 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 {(2,37,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005024/1.23, allocations: 3.456 MB / 0.8294 GB, free: 29.35 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008865/1.231, allocations: 0.5206 MB / 0.8299 GB, free: 28.82 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009612/1.24, allocations: 5.416 MB / 0.8352 GB, free: 23.35 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.596e-05/1.241, allocations: 36 kB / 0.8352 GB, free: 23.32 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-05/1.241, allocations: 11.92 kB / 0.8352 GB, free: 23.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.741e-05/1.241, allocations: 19.95 kB / 0.8352 GB, free: 23.29 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02549/1.266, allocations: 14 MB / 0.8489 GB, free: 9.062 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-05/1.266, allocations: 12 kB / 0.8489 GB, free: 9.051 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001954/1.268, allocations: 0.504 MB / 0.8494 GB, free: 8.547 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002943/1.271, allocations: 0.8046 MB / 0.8502 GB, free: 7.738 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002035/1.271, allocations: 78.7 kB / 0.8503 GB, free: 7.664 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007151/1.278, allocations: 5.333 MB / 0.8555 GB, free: 2.199 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.135e-06/1.278, allocations: 19.88 kB / 0.8555 GB, free: 2.18 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09234/1.371, allocations: 37.97 MB / 0.8926 GB, free: 11.63 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002164/1.373, allocations: 0.9276 MB / 0.8935 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004878/1.374, allocations: 70.19 kB / 0.8935 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00186/1.375, allocations: 127.9 kB / 0.8937 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004979/1.376, allocations: 217.5 kB / 0.8939 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002064/1.376, allocations: 106.2 kB / 0.894 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.005381/1.382, allocations: 3.678 MB / 0.8976 GB, free: 6.523 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.9e-07/1.382, allocations: 0 / 0.8976 GB, free: 6.523 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008623/1.39, allocations: 2.079 MB / 0.8996 GB, free: 4.457 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 2 (j2.s,j2.v) * 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 (269): * Single equations (assignments): 262 * Array equations: 6 * 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 {(2,30,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006834/1.391, allocations: 275.8 kB / 0.8999 GB, free: 4.191 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.2326/1.623, allocations: 7.877 MB / 0.9076 GB, free: 179.9 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.344e-05/1.624, allocations: 3.938 kB / 0.9076 GB, free: 179.9 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004136/1.628, allocations: 2.377 MB / 0.9099 GB, free: 179.6 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004363/1.632, allocations: 0.6589 MB / 0.9105 GB, free: 179.6 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03135/1.663, allocations: 21.24 MB / 0.9313 GB, free: 169.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006954/1.67, allocations: 5.283 MB / 0.9364 GB, free: 167.4 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.007237/1.678, allocations: 2.984 MB / 0.9393 GB, free: 167.2 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001382/1.679, allocations: 392.4 kB / 0.9397 GB, free: 167.2 MB / 0.5417 GB Notification: Performance of SimCode: time 5.41e-07/1.679, allocations: 0 / 0.9397 GB, free: 167.2 MB / 0.5417 GB Notification: Performance of Templates: time 0.106/1.785, allocations: 69.98 MB / 1.008 GB, free: 122.2 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches