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.001065/0.001065, allocations: 95.2 kB / 20.43 MB, free: 4.145 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.00107/0.00107, allocations: 165 kB / 23.79 MB, free: 0.7812 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 0.9683/0.9683, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.1418/0.1418, allocations: 32.37 MB / 270.4 MB, free: 14.71 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 1.844e-06/1.844e-06, allocations: 3.938 kB / 347.7 MB, free: 9.465 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.411e-05/2.595e-05, allocations: 12.16 kB / 347.7 MB, free: 9.453 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01746/0.01748, allocations: 15.8 MB / 363.5 MB, free: 9.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01385/0.03133, allocations: 5.202 MB / 368.7 MB, free: 4.371 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00277/0.03411, allocations: 119.4 kB / 368.8 MB, free: 4.254 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005/0.03911, allocations: 4.493 MB / 373.3 MB, free: 15.74 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00556/0.04467, allocations: 2.951 MB / 376.2 MB, free: 12.78 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002373/0.04704, allocations: 1.435 MB / 377.7 MB, free: 11.34 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.008386/0.05542, allocations: 8.413 MB / 386.1 MB, free: 2.91 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007694/0.06312, allocations: 5.687 MB / 391.8 MB, free: 13.14 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007652/0.07077, allocations: 4.522 MB / 396.3 MB, free: 8.613 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006016/0.07679, allocations: 4.287 MB / 400.6 MB, free: 4.316 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001979/0.07876, allocations: 0.6016 MB / 401.2 MB, free: 3.715 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003167/0.08193, allocations: 1.736 MB / 402.9 MB, free: 1.977 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002677/0.08461, allocations: 3.585 MB / 406.5 MB, free: 14.38 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00337/0.08798, allocations: 2.239 MB / 408.7 MB, free: 12.13 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008516/0.09649, allocations: 8.002 MB / 416.7 MB, free: 4.102 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.0965, allocations: 0 / 416.7 MB, free: 4.102 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.0965, allocations: 4 kB / 416.7 MB, free: 4.098 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001797/0.09668, allocations: 0 / 416.7 MB, free: 4.098 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.01232/0.109, allocations: 8.686 MB / 425.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.262e-05/0.1091, allocations: 12.03 kB / 425.4 MB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009788/0.1189, allocations: 4.934 MB / 430.4 MB, free: 6.363 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005722/0.1246, allocations: 3.767 MB / 434.1 MB, free: 2.547 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002294/0.1248, allocations: 394.4 kB / 434.5 MB, free: 2.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007362/0.1255, allocations: 0.5582 MB / 435.1 MB, free: 1.602 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3464/0.4719, allocations: 11.3 MB / 446.4 MB, free: 57.61 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000146/0.4721, allocations: 66.09 kB / 446.4 MB, free: 57.61 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004623/0.4725, allocations: 253.3 kB / 446.7 MB, free: 57.61 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002909/0.4754, allocations: 3.431 MB / 450.1 MB, free: 57.6 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01423/0.4897, allocations: 6.822 MB / 456.9 MB, free: 57.51 MB / 362.8 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.04622/0.5359, allocations: 70.67 MB / 0.5152 GB, free: 6.262 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01013/0.546, allocations: 3.411 MB / 0.5186 GB, free: 2.824 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001829/0.5478, allocations: 0.9995 MB / 0.5196 GB, free: 1.812 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01379/0.5616, allocations: 7.97 MB / 0.5273 GB, free: 10.11 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.194e-05/0.5617, allocations: 59.39 kB / 0.5274 GB, free: 10.04 MB / 394.8 MB Notification: Performance of pre-optimization done (n=286): time 7.004e-06/0.5617, allocations: 0 / 0.5274 GB, free: 10.04 MB / 394.8 MB Notification: Performance of matching and sorting (n=352): time 0.06069/0.6224, allocations: 17.65 MB / 0.5446 GB, free: 8.898 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.926e-05/0.6225, allocations: 196.3 kB / 0.5448 GB, free: 8.668 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00595/0.6284, allocations: 5.148 MB / 0.5498 GB, free: 3.668 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001968/0.6286, allocations: 73.7 kB / 0.5499 GB, free: 3.59 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003004/0.6316, allocations: 5.366 MB / 0.5552 GB, free: 14.27 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001058/0.6327, allocations: 1.393 MB / 0.5565 GB, free: 12.89 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00232/0.635, allocations: 2.036 MB / 0.5585 GB, free: 10.84 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.6351, allocations: 480.8 kB / 0.559 GB, free: 10.37 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002343/0.6375, allocations: 1.178 MB / 0.5601 GB, free: 9.188 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006198/0.6437, allocations: 9.342 MB / 0.5692 GB, free: 12.22 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008772/0.6524, allocations: 11.59 MB / 0.5805 GB, free: 13.21 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.461e-05/0.6525, allocations: 56 kB / 0.5806 GB, free: 13.16 MB / 458.8 MB Notification: Performance of matching and sorting (n=1269) (initialization): time 0.0128/0.6653, allocations: 8.905 MB / 0.5893 GB, free: 4.215 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.675e-05/0.6654, allocations: 88 kB / 0.5894 GB, free: 4.129 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001517/0.6655, allocations: 192 kB / 0.5896 GB, free: 3.941 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00268/0.6682, allocations: 1.152 MB / 0.5907 GB, free: 2.785 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004072/0.6723, allocations: 2.219 MB / 0.5929 GB, free: 0.5625 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1814/0.8537, allocations: 4.598 MB / 0.5973 GB, free: 141.9 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005209/0.8589, allocations: 0.6031 MB / 0.5979 GB, free: 141.9 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006456/0.8595, allocations: 0.5607 MB / 0.5985 GB, free: 141.9 MB / 458.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.002126/0.8617, allocations: 0.9168 MB / 0.5994 GB, free: 141.7 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006814/0.8623, allocations: 0.6036 MB / 0.6 GB, free: 141.7 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005063/0.8674, allocations: 3.06 MB / 0.603 GB, free: 141.5 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.733e-05/0.8674, allocations: 39.2 kB / 0.603 GB, free: 141.5 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.582e-05/0.8674, allocations: 9.188 kB / 0.603 GB, free: 141.5 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.331e-05/0.8675, allocations: 14.06 kB / 0.603 GB, free: 141.5 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01398/0.8814, allocations: 10.2 MB / 0.613 GB, free: 140.1 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.091e-05/0.8815, allocations: 13.94 kB / 0.613 GB, free: 140.1 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001197/0.8827, allocations: 0.5199 MB / 0.6135 GB, free: 140.1 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001809/0.8845, allocations: 0.6611 MB / 0.6141 GB, free: 140 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001974/0.8847, allocations: 81.08 kB / 0.6142 GB, free: 140 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003559/0.8882, allocations: 3.305 MB / 0.6175 GB, free: 138.3 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-05/0.8882, allocations: 22.94 kB / 0.6175 GB, free: 138.3 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005834/0.8941, allocations: 4.647 MB / 0.622 GB, free: 136.5 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001221/0.8953, allocations: 0.8396 MB / 0.6228 GB, free: 136.3 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004171/0.8957, allocations: 79.34 kB / 0.6229 GB, free: 136.2 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001177/0.8969, allocations: 204.1 kB / 0.6231 GB, free: 136.2 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003013/0.8972, allocations: 243.2 kB / 0.6233 GB, free: 136.2 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001806/0.8974, allocations: 111.6 kB / 0.6234 GB, free: 136.1 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.002456/0.8998, allocations: 2.2 MB / 0.6256 GB, free: 135.5 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8998, allocations: 0 / 0.6256 GB, free: 135.5 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.005802/0.9056, allocations: 1.803 MB / 0.6274 GB, free: 135.2 MB / 458.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.0005269/0.9061, allocations: 301.5 kB / 0.6276 GB, free: 135 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.006382/0.9125, allocations: 4.993 MB / 0.6325 GB, free: 130.9 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.9125, allocations: 0 / 0.6325 GB, free: 130.9 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00163/0.9142, allocations: 1.412 MB / 0.6339 GB, free: 129.7 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002158/0.9163, allocations: 0.6473 MB / 0.6345 GB, free: 129.1 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01699/0.9333, allocations: 13.15 MB / 0.6474 GB, free: 116.7 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001682/0.935, allocations: 2.138 MB / 0.6495 GB, free: 115.2 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.003622/0.9386, allocations: 2.501 MB / 0.6519 GB, free: 112.7 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007527/0.9394, allocations: 376.4 kB / 0.6523 GB, free: 112.4 MB / 458.8 MB Notification: Performance of SimCode: time 2.044e-06/0.9394, allocations: 0 / 0.6523 GB, free: 112.4 MB / 458.8 MB Notification: Performance of Templates: time 0.06808/1.007, allocations: 54.67 MB / 0.7056 GB, free: 57.86 MB / 458.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.385690553113818]