Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.00184/0.00184, allocations: 84.34 kB / 20.96 MB, free: 3.445 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.002435/0.002435, allocations: 165.3 kB / 24.26 MB, free: 144 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.543/1.543, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3555/0.3555, allocations: 34.27 MB / 295.3 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 377.3 MB, free: 2.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.783e-05/2.931e-05, allocations: 2.312 kB / 377.3 MB, free: 2.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.02019/0.02022, allocations: 14.15 MB / 391.4 MB, free: 4.758 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01341/0.03364, allocations: 5.115 MB / 396.5 MB, free: 15.62 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003345/0.03698, allocations: 115.5 kB / 396.7 MB, free: 15.51 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009836/0.04682, allocations: 4.326 MB / 401 MB, free: 11.17 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008888/0.0557, allocations: 2.904 MB / 403.9 MB, free: 8.254 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0044/0.0601, allocations: 1.423 MB / 405.3 MB, free: 6.828 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01474/0.07484, allocations: 8.781 MB / 414.1 MB, free: 14.02 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01152/0.08636, allocations: 5.651 MB / 419.7 MB, free: 8.293 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01187/0.09823, allocations: 4.136 MB / 423.9 MB, free: 4.148 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01111/0.1093, allocations: 4.24 MB / 428.1 MB, free: 15.9 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004252/0.1136, allocations: 0.6094 MB / 428.7 MB, free: 15.29 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006697/0.1203, allocations: 1.752 MB / 430.5 MB, free: 13.54 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008158/0.1284, allocations: 3.522 MB / 434 MB, free: 10 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01068/0.1391, allocations: 2.212 MB / 436.2 MB, free: 7.785 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2491/0.3882, allocations: 12.55 MB / 448.8 MB, free: 65.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.3882, allocations: 0 / 448.8 MB, free: 65.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3882, allocations: 0 / 448.8 MB, free: 65.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005572/0.3888, allocations: 0 / 448.8 MB, free: 65.75 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.02402/0.4128, allocations: 8.08 MB / 456.8 MB, free: 62.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.4128, allocations: 12.86 kB / 456.9 MB, free: 62.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0195/0.4323, allocations: 5.148 MB / 462 MB, free: 62.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01051/0.4428, allocations: 4.189 MB / 466.2 MB, free: 61.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003606/0.4432, allocations: 395.4 kB / 466.6 MB, free: 61.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002345/0.4456, allocations: 0.5558 MB / 467.1 MB, free: 61.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03926/0.4848, allocations: 19.03 MB / 486.2 MB, free: 54.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003528/0.4852, allocations: 74.53 kB / 486.2 MB, free: 54.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001677/0.4868, allocations: 247.3 kB / 486.5 MB, free: 54.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004944/0.4918, allocations: 3.43 MB / 489.9 MB, free: 53.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03537/0.5272, allocations: 16.71 MB / 0.4947 GB, free: 48.63 MB / 410.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.08672/0.6139, allocations: 62.72 MB / 0.556 GB, free: 2.617 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01749/0.6314, allocations: 5.405 MB / 0.5613 GB, free: 13.19 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005252/0.6366, allocations: 2.708 MB / 0.5639 GB, free: 10.47 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02808/0.6647, allocations: 11.1 MB / 0.5748 GB, free: 15.48 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.667e-05/0.6648, allocations: 68.22 kB / 0.5748 GB, free: 15.41 MB / 458.7 MB Notification: Performance of pre-optimization done (n=288): time 6.833e-06/0.6648, allocations: 0 / 0.5748 GB, free: 15.41 MB / 458.7 MB Notification: Performance of matching and sorting (n=355): time 0.1097/0.7744, allocations: 27.56 MB / 0.6017 GB, free: 4.004 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000181/0.7746, allocations: 192.4 kB / 0.6019 GB, free: 3.777 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1877/0.9623, allocations: 5.802 MB / 0.6076 GB, free: 150.4 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006623/0.963, allocations: 72.89 kB / 0.6077 GB, free: 150.3 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002694/0.9657, allocations: 5.112 MB / 0.6126 GB, free: 147.4 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001493/0.9672, allocations: 1.358 MB / 0.614 GB, free: 146.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00274/0.9699, allocations: 1.885 MB / 0.6158 GB, free: 145.4 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 5.331e-05/0.97, allocations: 306.7 kB / 0.6161 GB, free: 145.1 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004744/0.9747, allocations: 3.497 MB / 0.6195 GB, free: 144 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007178/0.9819, allocations: 8.997 MB / 0.6283 GB, free: 135.5 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01392/0.9958, allocations: 13.42 MB / 0.6414 GB, free: 124.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002734/0.9961, allocations: 55.72 kB / 0.6415 GB, free: 124.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=1264) (initialization): time 0.03156/1.028, allocations: 13.78 MB / 0.6549 GB, free: 119.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004258/1.028, allocations: 95.94 kB / 0.655 GB, free: 119.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00053/1.029, allocations: 187.9 kB / 0.6552 GB, free: 119.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00663/1.035, allocations: 1.672 MB / 0.6568 GB, free: 119.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008121/1.043, allocations: 2.227 MB / 0.659 GB, free: 118.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01313/1.056, allocations: 8.119 MB / 0.6669 GB, free: 114.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008531/1.065, allocations: 0.6214 MB / 0.6675 GB, free: 114.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001895/1.067, allocations: 0.5475 MB / 0.6681 GB, free: 114 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 872 * 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 (1178): * Single equations (assignments): 1171 * 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.007895/1.075, allocations: 3.458 MB / 0.6714 GB, free: 110.9 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001944/1.077, allocations: 0.5979 MB / 0.672 GB, free: 110.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01224/1.089, allocations: 5.719 MB / 0.6776 GB, free: 105.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.551e-05/1.089, allocations: 43.83 kB / 0.6777 GB, free: 105.5 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.142e-05/1.089, allocations: 12 kB / 0.6777 GB, free: 105.5 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.346e-05/1.089, allocations: 14.62 kB / 0.6777 GB, free: 105.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03092/1.12, allocations: 12.78 MB / 0.6902 GB, free: 94.03 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.347e-05/1.12, allocations: 16 kB / 0.6902 GB, free: 94.02 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00246/1.123, allocations: 0.5305 MB / 0.6907 GB, free: 93.48 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004325/1.127, allocations: 0.9704 MB / 0.6916 GB, free: 92.52 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005353/1.127, allocations: 75.81 kB / 0.6917 GB, free: 92.45 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007862/1.135, allocations: 5.383 MB / 0.697 GB, free: 86.96 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.768e-06/1.135, allocations: 19.94 kB / 0.697 GB, free: 86.95 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01447/1.15, allocations: 8.595 MB / 0.7054 GB, free: 78.01 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001612/1.151, allocations: 0.5043 MB / 0.7059 GB, free: 77.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001257/1.153, allocations: 67.98 kB / 0.7059 GB, free: 77.43 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002974/1.156, allocations: 207.6 kB / 0.7061 GB, free: 77.23 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005081/1.156, allocations: 257.2 kB / 0.7064 GB, free: 76.98 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002292/1.156, allocations: 108 kB / 0.7065 GB, free: 76.88 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005033/1.161, allocations: 3.385 MB / 0.7098 GB, free: 73.51 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.3e-07/1.161, allocations: 3.938 kB / 0.7098 GB, free: 73.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008848/1.17, allocations: 1.757 MB / 0.7115 GB, free: 71.75 MB / 474.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 (281): * Single equations (assignments): 274 * 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,28,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008997/1.171, allocations: 294.1 kB / 0.7118 GB, free: 71.45 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01605/1.187, allocations: 7.773 MB / 0.7194 GB, free: 63.7 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.909e-05/1.187, allocations: 4 kB / 0.7194 GB, free: 63.7 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003821/1.191, allocations: 2.274 MB / 0.7216 GB, free: 61.41 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004479/1.196, allocations: 0.6281 MB / 0.7222 GB, free: 60.82 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0247/1.22, allocations: 15.82 MB / 0.7377 GB, free: 44.71 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006379/1.227, allocations: 4.7 MB / 0.7423 GB, free: 39.97 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006492/1.233, allocations: 2.931 MB / 0.7451 GB, free: 37.03 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001403/1.234, allocations: 373.5 kB / 0.7455 GB, free: 36.67 MB / 474.7 MB Notification: Performance of SimCode: time 1.392e-06/1.234, allocations: 0 / 0.7455 GB, free: 36.67 MB / 474.7 MB Notification: Performance of Templates: time 0.2684/1.503, allocations: 51.88 MB / 0.7961 GB, free: 125.7 MB / 474.7 MB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.54625669203233]