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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 82.64 kB / 21.44 MB, free: 3.059 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 170.1 kB / 24.84 MB, free: 8.926 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.005/1.005, allocations: 158.6 MB / 186.7 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1376/0.1376, allocations: 32.38 MB / 271.5 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.504e-06/2.504e-06, allocations: 0 / 348.9 MB, free: 9.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.627e-05/3.877e-05, allocations: 6.25 kB / 348.9 MB, free: 9.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01256/0.0126, allocations: 15.39 MB / 364.3 MB, free: 9.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01043/0.02303, allocations: 5.167 MB / 369.5 MB, free: 4.547 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003164/0.02619, allocations: 115.4 kB / 369.6 MB, free: 4.434 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005964/0.03216, allocations: 4.419 MB / 374 MB, free: 15.99 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007416/0.03957, allocations: 2.966 MB / 377 MB, free: 13.02 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002921/0.04249, allocations: 1.427 MB / 378.4 MB, free: 11.59 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01135/0.05384, allocations: 8.428 MB / 386.8 MB, free: 3.141 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008371/0.06221, allocations: 5.675 MB / 392.5 MB, free: 13.39 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01041/0.07262, allocations: 4.53 MB / 397 MB, free: 8.848 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007662/0.08028, allocations: 4.287 MB / 401.3 MB, free: 4.551 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002317/0.0826, allocations: 0.6016 MB / 401.9 MB, free: 3.949 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004431/0.08703, allocations: 1.744 MB / 403.6 MB, free: 2.203 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004911/0.09194, allocations: 3.588 MB / 407.2 MB, free: 14.61 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005222/0.09716, allocations: 2.232 MB / 409.5 MB, free: 12.37 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01248/0.1096, allocations: 7.999 MB / 417.5 MB, free: 4.34 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1097, allocations: 0 / 417.5 MB, free: 4.34 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1097, allocations: 8 kB / 417.5 MB, free: 4.332 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004068/0.1101, allocations: 3.938 kB / 417.5 MB, free: 4.328 MB / 346.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.01698/0.127, allocations: 8.31 MB / 425.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.1271, allocations: 12.03 kB / 425.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009467/0.1366, allocations: 3.067 MB / 428.9 MB, free: 8.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007286/0.1438, allocations: 3.361 MB / 432.2 MB, free: 5.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002982/0.1441, allocations: 394.4 kB / 432.6 MB, free: 5.043 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002046/0.1462, allocations: 0.5582 MB / 433.2 MB, free: 4.484 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2258/0.372, allocations: 9.771 MB / 442.9 MB, free: 58.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000304/0.3723, allocations: 71.09 kB / 443 MB, free: 58.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001092/0.3734, allocations: 251 kB / 443.3 MB, free: 58.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004663/0.3781, allocations: 3.082 MB / 446.3 MB, free: 58.92 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01872/0.3968, allocations: 5.073 MB / 451.4 MB, free: 58.77 MB / 362.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.06789/0.4647, allocations: 69.24 MB / 0.5085 GB, free: 14.94 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008542/0.4732, allocations: 3.076 MB / 0.5115 GB, free: 11.9 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002093/0.4753, allocations: 0.8362 MB / 0.5123 GB, free: 11.06 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0137/0.489, allocations: 7.439 MB / 0.5195 GB, free: 3.949 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.319e-05/0.4891, allocations: 66.86 kB / 0.5196 GB, free: 3.875 MB / 378.7 MB Notification: Performance of pre-optimization done (n=286): time 6.132e-06/0.4891, allocations: 0 / 0.5196 GB, free: 3.875 MB / 378.7 MB Notification: Performance of matching and sorting (n=352): time 0.03453/0.5236, allocations: 12.3 MB / 0.5316 GB, free: 8.125 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.692e-05/0.5237, allocations: 191.1 kB / 0.5318 GB, free: 7.902 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005767/0.5295, allocations: 5.112 MB / 0.5368 GB, free: 3.777 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005813/0.53, allocations: 73.7 kB / 0.5369 GB, free: 3.699 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003309/0.5333, allocations: 5.401 MB / 0.5421 GB, free: 14.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001691/0.535, allocations: 1.408 MB / 0.5435 GB, free: 13.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002004/0.537, allocations: 2.078 MB / 0.5455 GB, free: 11.33 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.5371, allocations: 480.8 kB / 0.546 GB, free: 10.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002196/0.5393, allocations: 1.046 MB / 0.547 GB, free: 9.805 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00702/0.5464, allocations: 9.268 MB / 0.5561 GB, free: 13.17 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01138/0.5577, allocations: 11.23 MB / 0.567 GB, free: 14.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002389/0.558, allocations: 56 kB / 0.5671 GB, free: 14.74 MB / 442.7 MB Notification: Performance of matching and sorting (n=1269) (initialization): time 0.01742/0.5754, allocations: 8.112 MB / 0.575 GB, free: 6.594 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.42e-05/0.5755, allocations: 92.06 kB / 0.5751 GB, free: 6.504 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002149/0.5757, allocations: 198.1 kB / 0.5753 GB, free: 6.312 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002654/0.5784, allocations: 0.9864 MB / 0.5763 GB, free: 5.328 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00465/0.583, allocations: 2.113 MB / 0.5783 GB, free: 3.211 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005229/0.5882, allocations: 4.317 MB / 0.5825 GB, free: 14.84 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006134/0.5944, allocations: 399.7 kB / 0.5829 GB, free: 14.45 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001644/0.596, allocations: 495 kB / 0.5834 GB, free: 13.96 MB / 458.7 MB 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 (1184): * Single equations (assignments): 1177 * 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,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003344/0.5994, allocations: 0.9127 MB / 0.5843 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001323/0.6007, allocations: 0.5982 MB / 0.5849 GB, free: 12.44 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004549/0.6052, allocations: 2.651 MB / 0.5875 GB, free: 9.738 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.703e-05/0.6053, allocations: 42.27 kB / 0.5875 GB, free: 9.699 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.97e-05/0.6053, allocations: 8 kB / 0.5875 GB, free: 9.691 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.416e-05/0.6053, allocations: 23.88 kB / 0.5875 GB, free: 9.668 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01663/0.622, allocations: 9.749 MB / 0.597 GB, free: 0.6094 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.252e-05/0.622, allocations: 17 kB / 0.5971 GB, free: 0.5938 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001236/0.6232, allocations: 475.3 kB / 0.5975 GB, free: 132 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1977/0.8209, allocations: 0.6133 MB / 0.5981 GB, free: 129.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005728/0.8215, allocations: 75.83 kB / 0.5982 GB, free: 129.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003343/0.8249, allocations: 3.12 MB / 0.6012 GB, free: 128.1 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.498e-06/0.8249, allocations: 27.06 kB / 0.6013 GB, free: 128.1 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006318/0.8312, allocations: 4.22 MB / 0.6054 GB, free: 126.4 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00207/0.8333, allocations: 0.7496 MB / 0.6061 GB, free: 126.4 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008346/0.8341, allocations: 73.75 kB / 0.6062 GB, free: 126.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001588/0.8357, allocations: 74.11 kB / 0.6062 GB, free: 126.4 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003851/0.8361, allocations: 246.9 kB / 0.6065 GB, free: 126.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00015/0.8362, allocations: 87.34 kB / 0.6066 GB, free: 126.4 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002824/0.839, allocations: 2.034 MB / 0.6086 GB, free: 126.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.839, allocations: 2.062 kB / 0.6086 GB, free: 126.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008422/0.8475, allocations: 1.799 MB / 0.6103 GB, free: 126.2 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 66 * 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 (279): * Single equations (assignments): 272 * 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,27,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009853/0.8484, allocations: 308.9 kB / 0.6106 GB, free: 126.1 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008562/0.857, allocations: 4.641 MB / 0.6151 GB, free: 125.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-05/0.857, allocations: 5.25 kB / 0.6151 GB, free: 125.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002353/0.8594, allocations: 1.295 MB / 0.6164 GB, free: 125.5 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003675/0.8631, allocations: 0.641 MB / 0.617 GB, free: 125.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02069/0.8838, allocations: 13.07 MB / 0.6298 GB, free: 120 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003694/0.8875, allocations: 2.142 MB / 0.6319 GB, free: 119.7 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003266/0.8907, allocations: 0.7796 MB / 0.6327 GB, free: 119.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001587/0.8923, allocations: 0.8938 MB / 0.6335 GB, free: 119.5 MB / 458.7 MB Notification: Performance of SimCode: time 2.274e-06/0.8923, allocations: 1.594 kB / 0.6335 GB, free: 119.5 MB / 458.7 MB Notification: Performance of Templates: time 0.08969/0.982, allocations: 59.03 MB / 0.6912 GB, free: 65.91 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.572653965093195]