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.0009463/0.0009463, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.001113/0.001113, allocations: 169 kB / 24.14 MB, free: 360 kB / 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 0.9158/0.9158, allocations: 158.6 MB / 186 MB, free: 2.773 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.1243/0.1243, allocations: 32.38 MB / 270.7 MB, free: 14.6 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.915e-06/2.915e-06, allocations: 0 / 299.1 MB, free: 2.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.448e-05/3.74e-05, allocations: 2.312 kB / 299.1 MB, free: 2.223 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.1569/0.1569, allocations: 15.4 MB / 314.4 MB, free: 11.68 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01089/0.1678, allocations: 5.385 MB / 319.8 MB, free: 8.109 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002807/0.1706, allocations: 113 kB / 319.9 MB, free: 8.078 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00439/0.175, allocations: 4.476 MB / 324.4 MB, free: 4.859 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004637/0.1796, allocations: 2.974 MB / 327.4 MB, free: 1.871 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001884/0.1815, allocations: 1.419 MB / 328.8 MB, free: 460 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.009739/0.1912, allocations: 8.426 MB / 337.2 MB, free: 8.008 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006627/0.1979, allocations: 5.804 MB / 343 MB, free: 2.113 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007036/0.2049, allocations: 4.522 MB / 347.6 MB, free: 13.58 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004562/0.2095, allocations: 4.1 MB / 351.7 MB, free: 9.473 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001287/0.2108, allocations: 0.5977 MB / 352.3 MB, free: 8.875 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002336/0.2131, allocations: 1.736 MB / 354 MB, free: 7.137 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00218/0.2153, allocations: 3.585 MB / 357.6 MB, free: 3.543 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002313/0.2176, allocations: 2.243 MB / 359.8 MB, free: 1.293 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00679/0.2244, allocations: 8.006 MB / 367.8 MB, free: 9.258 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.2244, allocations: 3.938 kB / 367.8 MB, free: 9.254 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2244, allocations: 0 / 367.8 MB, free: 9.254 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001186/0.2245, allocations: 0 / 367.8 MB, free: 9.254 MB / 330.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.007991/0.2325, allocations: 7.412 MB / 375.2 MB, free: 1.766 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.2325, allocations: 12.03 kB / 375.3 MB, free: 1.754 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00536/0.2379, allocations: 2.183 MB / 377.4 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004439/0.2423, allocations: 3.11 MB / 380.6 MB, free: 12.4 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002181/0.2426, allocations: 390.4 kB / 380.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00109/0.2436, allocations: 0.5506 MB / 381.5 MB, free: 11.47 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009742/0.2534, allocations: 8.685 MB / 390.2 MB, free: 1.719 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001104/0.2535, allocations: 71.44 kB / 390.2 MB, free: 1.648 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004228/0.2539, allocations: 243.8 kB / 390.5 MB, free: 1.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002497/0.2564, allocations: 3.089 MB / 393.6 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008047/0.2645, allocations: 4.862 MB / 398.4 MB, free: 9.438 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.04682/0.3113, allocations: 50.6 MB / 449 MB, free: 5.129 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007719/0.319, allocations: 2.918 MB / 451.9 MB, free: 2.168 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001393/0.3204, allocations: 0.6885 MB / 452.6 MB, free: 1.465 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01159/0.332, allocations: 7.031 MB / 459.7 MB, free: 10.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.897e-05/0.332, allocations: 76.42 kB / 459.7 MB, free: 10.32 MB / 426.7 MB Notification: Performance of pre-optimization done (n=286): time 4.839e-06/0.332, allocations: 0 / 459.7 MB, free: 10.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=352): time 0.3024/0.6344, allocations: 10.77 MB / 470.5 MB, free: 135 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.244e-05/0.6345, allocations: 187.6 kB / 470.7 MB, free: 134.8 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005594/0.6401, allocations: 4.602 MB / 475.3 MB, free: 134.5 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005925/0.6407, allocations: 74.39 kB / 475.4 MB, free: 134.5 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002199/0.6429, allocations: 4.847 MB / 480.2 MB, free: 132.1 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007716/0.6437, allocations: 1.34 MB / 481.6 MB, free: 131.4 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001637/0.6453, allocations: 1.801 MB / 483.4 MB, free: 131.2 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 3.467e-05/0.6453, allocations: 309.5 kB / 483.7 MB, free: 130.9 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00219/0.6475, allocations: 1.285 MB / 484.9 MB, free: 130.9 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00412/0.6516, allocations: 6.623 MB / 491.6 MB, free: 123.7 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005793/0.6574, allocations: 8.716 MB / 0.4886 GB, free: 115.9 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.928e-05/0.6575, allocations: 55.72 kB / 0.4886 GB, free: 115.9 MB / 426.8 MB Notification: Performance of matching and sorting (n=1269) (initialization): time 0.008124/0.6656, allocations: 6.91 MB / 0.4954 GB, free: 113.9 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.419e-05/0.6657, allocations: 88.25 kB / 0.4954 GB, free: 113.9 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001347/0.6658, allocations: 192.8 kB / 0.4956 GB, free: 113.9 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002057/0.6679, allocations: 0.9757 MB / 0.4966 GB, free: 113.8 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003237/0.6711, allocations: 2.106 MB / 0.4986 GB, free: 113 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003824/0.675, allocations: 3.594 MB / 0.5021 GB, free: 109.7 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003767/0.6787, allocations: 399.7 kB / 0.5025 GB, free: 109.3 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003783/0.6791, allocations: 487.8 kB / 0.503 GB, free: 108.8 MB / 426.8 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.001813/0.6809, allocations: 0.8832 MB / 0.5039 GB, free: 107.9 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004436/0.6814, allocations: 365.1 kB / 0.5042 GB, free: 107.6 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003053/0.6844, allocations: 2.285 MB / 0.5064 GB, free: 105.5 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.527e-05/0.6844, allocations: 43.98 kB / 0.5065 GB, free: 105.4 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.6844, allocations: 7.312 kB / 0.5065 GB, free: 105.4 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.532e-05/0.6845, allocations: 19.94 kB / 0.5065 GB, free: 105.4 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009403/0.6939, allocations: 8.294 MB / 0.5146 GB, free: 96.8 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/0.6939, allocations: 19.94 kB / 0.5146 GB, free: 96.79 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009978/0.6949, allocations: 467.3 kB / 0.5151 GB, free: 96.33 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001724/0.6966, allocations: 0.8555 MB / 0.5159 GB, free: 95.48 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001113/0.6967, allocations: 68 kB / 0.516 GB, free: 95.41 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002505/0.6992, allocations: 2.466 MB / 0.5184 GB, free: 92.85 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/0.6992, allocations: 19.94 kB / 0.5184 GB, free: 92.83 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003806/0.703, allocations: 3.608 MB / 0.5219 GB, free: 88.84 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001043/0.7041, allocations: 0.6952 MB / 0.5226 GB, free: 88.14 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000359/0.7044, allocations: 75.97 kB / 0.5227 GB, free: 88.07 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009271/0.7054, allocations: 71.31 kB / 0.5227 GB, free: 88 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002273/0.7056, allocations: 241.2 kB / 0.523 GB, free: 87.77 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001288/0.7057, allocations: 95.95 kB / 0.5231 GB, free: 87.67 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.001249/0.707, allocations: 1.708 MB / 0.5247 GB, free: 85.98 MB / 426.8 MB Notification: Performance of sort global known variables: time 4e-08/0.707, allocations: 0 / 0.5247 GB, free: 85.98 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.005169/0.7121, allocations: 1.804 MB / 0.5265 GB, free: 84.17 MB / 426.8 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.0004347/0.7126, allocations: 283.4 kB / 0.5268 GB, free: 83.89 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.004162/0.7167, allocations: 4.207 MB / 0.5309 GB, free: 79.69 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001616/0.7169, allocations: 120.2 kB / 0.531 GB, free: 79.55 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0009805/0.7179, allocations: 1.123 MB / 0.5321 GB, free: 78.42 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00172/0.7196, allocations: 0.6363 MB / 0.5327 GB, free: 77.82 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01319/0.7328, allocations: 13.22 MB / 0.5456 GB, free: 64.29 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001513/0.7343, allocations: 2.126 MB / 0.5477 GB, free: 62.13 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.002064/0.7364, allocations: 0.7798 MB / 0.5484 GB, free: 61.36 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001325/0.7377, allocations: 0.837 MB / 0.5493 GB, free: 60.52 MB / 426.8 MB Notification: Performance of SimCode: time 2.755e-06/0.7377, allocations: 4 kB / 0.5493 GB, free: 60.51 MB / 426.8 MB Notification: Performance of Templates: time 0.07296/0.8106, allocations: 57.57 MB / 0.6055 GB, free: 2.996 MB / 426.8 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.04688885807991]