Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001842/0.001842, allocations: 77.66 kB / 20.68 MB, free: 1.047 MB / 14.72 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.001459/0.001459, allocations: 168.9 kB / 23.96 MB, free: 4.18 MB / 14.72 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.439/1.439, allocations: 177.1 MB / 204.3 MB, free: 9.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1993/0.1993, allocations: 32.8 MB / 293.5 MB, free: 52 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 440.1 MB, free: 8.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.298e-05/2.435e-05, allocations: 2.281 kB / 440.1 MB, free: 8.184 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.2252/0.2252, allocations: 14.15 MB / 454.2 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01088/0.2361, allocations: 5.107 MB / 459.3 MB, free: 11.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00414/0.2402, allocations: 117.9 kB / 459.4 MB, free: 11.15 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008908/0.2492, allocations: 4.263 MB / 463.7 MB, free: 9.352 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009539/0.2587, allocations: 2.885 MB / 466.6 MB, free: 7.98 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003654/0.2624, allocations: 1.396 MB / 468 MB, free: 7.383 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01179/0.2741, allocations: 8.796 MB / 476.8 MB, free: 2.879 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009413/0.2836, allocations: 5.486 MB / 482.3 MB, free: 15.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01157/0.2951, allocations: 4.145 MB / 486.4 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008094/0.3032, allocations: 4.221 MB / 490.6 MB, free: 7.453 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002003/0.3052, allocations: 0.6094 MB / 491.2 MB, free: 6.844 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004399/0.3096, allocations: 1.744 MB / 493 MB, free: 5.098 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004482/0.3141, allocations: 3.526 MB / 496.5 MB, free: 1.562 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004973/0.3191, allocations: 2.208 MB / 498.7 MB, free: 15.35 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01654/0.3356, allocations: 12.53 MB / 0.4993 GB, free: 2.781 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.515e-06/0.3356, allocations: 0 / 0.4993 GB, free: 2.781 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3356, allocations: 0 / 0.4993 GB, free: 2.781 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003813/0.336, allocations: 0 / 0.4993 GB, free: 2.781 MB / 398.1 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.01997/0.356, allocations: 8.075 MB / 0.5072 GB, free: 10.62 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.356, allocations: 8.031 kB / 0.5072 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01734/0.3734, allocations: 4.259 MB / 0.5113 GB, free: 6.348 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009513/0.3829, allocations: 4.162 MB / 0.5154 GB, free: 2.129 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003923/0.3833, allocations: 394.5 kB / 0.5158 GB, free: 1.742 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002115/0.3854, allocations: 0.5581 MB / 0.5163 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0374/0.4228, allocations: 18.97 MB / 0.5348 GB, free: 13.15 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002399/0.423, allocations: 75.39 kB / 0.5349 GB, free: 13.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001394/0.4244, allocations: 251.7 kB / 0.5352 GB, free: 12.83 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005375/0.4298, allocations: 3.416 MB / 0.5385 GB, free: 9.406 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03499/0.4648, allocations: 16.65 MB / 0.5548 GB, free: 8.738 MB / 462.1 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.09301/0.5578, allocations: 62.44 MB / 0.6157 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01691/0.5747, allocations: 5.337 MB / 0.6209 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004314/0.579, allocations: 2.643 MB / 0.6235 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02411/0.6031, allocations: 10.88 MB / 0.6342 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.413e-05/0.6032, allocations: 56.56 kB / 0.6342 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=284): time 7.043e-06/0.6032, allocations: 0 / 0.6342 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of matching and sorting (n=345): time 0.2964/0.8995, allocations: 26.06 MB / 0.6597 GB, free: 164.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.775e-05/0.8996, allocations: 190.3 kB / 0.6598 GB, free: 163.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008112/0.9077, allocations: 5.848 MB / 0.6655 GB, free: 161.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006433/0.9084, allocations: 78.92 kB / 0.6656 GB, free: 161.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002445/0.9108, allocations: 5.139 MB / 0.6706 GB, free: 158.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001471/0.9123, allocations: 1.312 MB / 0.6719 GB, free: 157.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002217/0.9145, allocations: 1.899 MB / 0.6738 GB, free: 156.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.481e-05/0.9146, allocations: 301.1 kB / 0.6741 GB, free: 156 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004268/0.9188, allocations: 3.379 MB / 0.6774 GB, free: 154.9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006671/0.9255, allocations: 8.92 MB / 0.6861 GB, free: 146.4 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01145/0.9369, allocations: 13.22 MB / 0.699 GB, free: 132.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001755/0.9371, allocations: 56 kB / 0.699 GB, free: 132.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02159/0.9587, allocations: 13.02 MB / 0.7117 GB, free: 119.4 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001061/0.9588, allocations: 88 kB / 0.7118 GB, free: 119.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001736/0.959, allocations: 192 kB / 0.712 GB, free: 119.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003867/0.9628, allocations: 1.308 MB / 0.7133 GB, free: 117.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006698/0.9695, allocations: 2.226 MB / 0.7155 GB, free: 115.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01016/0.9797, allocations: 7.609 MB / 0.7229 GB, free: 107.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007313/0.987, allocations: 0.6281 MB / 0.7235 GB, free: 107.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001142/0.9882, allocations: 0.5469 MB / 0.724 GB, free: 106.7 MB / 0.5294 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.005057/0.9932, allocations: 3.46 MB / 0.7274 GB, free: 103.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001169/0.9944, allocations: 0.5083 MB / 0.7279 GB, free: 102.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009427/1.004, allocations: 5.337 MB / 0.7331 GB, free: 97.31 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-05/1.004, allocations: 43.88 kB / 0.7332 GB, free: 97.27 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.304e-05/1.004, allocations: 4 kB / 0.7332 GB, free: 97.27 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.69e-05/1.004, allocations: 19.94 kB / 0.7332 GB, free: 97.25 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0228/1.027, allocations: 11.69 MB / 0.7446 GB, free: 85.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.936e-05/1.027, allocations: 12 kB / 0.7446 GB, free: 85.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001995/1.029, allocations: 0.4915 MB / 0.7451 GB, free: 84.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003167/1.032, allocations: 0.8078 MB / 0.7459 GB, free: 84.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003158/1.032, allocations: 75.44 kB / 0.746 GB, free: 84.03 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008195/1.04, allocations: 5.588 MB / 0.7514 GB, free: 78.35 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.916e-06/1.04, allocations: 19.88 kB / 0.7514 GB, free: 78.33 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01291/1.053, allocations: 8.245 MB / 0.7595 GB, free: 69.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001499/1.055, allocations: 0.4965 MB / 0.76 GB, free: 69.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007432/1.056, allocations: 67.92 kB / 0.76 GB, free: 69.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002268/1.058, allocations: 195.4 kB / 0.7602 GB, free: 69.04 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004263/1.058, allocations: 237.3 kB / 0.7605 GB, free: 68.81 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001866/1.058, allocations: 104 kB / 0.7606 GB, free: 68.71 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003952/1.062, allocations: 3.401 MB / 0.7639 GB, free: 65.32 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/1.062, allocations: 0 / 0.7639 GB, free: 65.32 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007743/1.07, allocations: 1.754 MB / 0.7656 GB, free: 63.57 MB / 0.5294 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.0008859/1.071, allocations: 283.3 kB / 0.7659 GB, free: 63.29 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01089/1.082, allocations: 7.601 MB / 0.7733 GB, free: 55.7 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-05/1.082, allocations: 4 kB / 0.7733 GB, free: 55.7 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00327/1.085, allocations: 2.215 MB / 0.7755 GB, free: 53.47 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003924/1.089, allocations: 0.5986 MB / 0.776 GB, free: 52.89 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0229/1.112, allocations: 15.46 MB / 0.7911 GB, free: 37.25 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006188/1.118, allocations: 4.682 MB / 0.7957 GB, free: 32.52 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006094/1.124, allocations: 2.916 MB / 0.7986 GB, free: 29.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001202/1.125, allocations: 376.4 kB / 0.7989 GB, free: 29.23 MB / 0.5294 GB Notification: Performance of SimCode: time 1.272e-06/1.125, allocations: 0 / 0.7989 GB, free: 29.23 MB / 0.5294 GB Notification: Performance of Templates: time 0.3103/1.436, allocations: 50.64 MB / 0.8484 GB, free: 163.4 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 7.967873718589544]