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.001658/0.001658, allocations: 79.69 kB / 21.25 MB, free: 400 kB / 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.00191/0.00191, allocations: 165 kB / 24.5 MB, free: 3.453 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.518/1.518, allocations: 177.2 MB / 204.9 MB, free: 8.93 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.2072/0.2072, allocations: 32.8 MB / 294.1 MB, free: 56 kB / 270.1 MB " [Timeout remaining time 179] 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 67.89 kB / 440.6 MB, free: 9.465 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3287, allocations: 65.43 MB / 0.4941 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.0119/0.3406, allocations: 14.14 MB / 0.5079 GB, free: 22.26 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01017/0.3507, allocations: 5.105 MB / 0.5129 GB, free: 18.99 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003005/0.3537, allocations: 119.4 kB / 0.513 GB, free: 18.96 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007785/0.3615, allocations: 4.063 MB / 0.517 GB, free: 17.24 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007731/0.3693, allocations: 2.809 MB / 0.5197 GB, free: 15.94 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003111/0.3724, allocations: 1.272 MB / 0.521 GB, free: 15.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01178/0.3842, allocations: 7.731 MB / 0.5285 GB, free: 12.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007554/0.3917, allocations: 4.712 MB / 0.5331 GB, free: 10.39 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006266/0.398, allocations: 2.712 MB / 0.5358 GB, free: 9.254 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006813/0.4048, allocations: 3.867 MB / 0.5396 GB, free: 7.137 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002427/0.4072, allocations: 0.594 MB / 0.5401 GB, free: 7.137 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004556/0.4118, allocations: 1.647 MB / 0.5418 GB, free: 6.574 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004377/0.4161, allocations: 3.374 MB / 0.5451 GB, free: 4.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006346/0.4225, allocations: 2.798 MB / 0.5478 GB, free: 1.973 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01791/0.4404, allocations: 12.41 MB / 0.5599 GB, free: 5.52 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.4404, allocations: 0 / 0.5599 GB, free: 5.52 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4404, allocations: 0 / 0.5599 GB, free: 5.52 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003737/0.4408, allocations: 0 / 0.5599 GB, free: 5.52 MB / 462.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.02189/0.4627, allocations: 7.978 MB / 0.5677 GB, free: 13.46 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.4627, allocations: 8.031 kB / 0.5677 GB, free: 13.45 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01875/0.4815, allocations: 4.274 MB / 0.5719 GB, free: 9.168 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0108/0.4923, allocations: 4.194 MB / 0.576 GB, free: 4.918 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004243/0.4927, allocations: 390 kB / 0.5763 GB, free: 4.535 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002146/0.4948, allocations: 0.5504 MB / 0.5769 GB, free: 3.984 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03973/0.5346, allocations: 18.98 MB / 0.5954 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002263/0.5348, allocations: 71.39 kB / 0.5955 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009701/0.5358, allocations: 251.7 kB / 0.5957 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005644/0.5414, allocations: 3.432 MB / 0.5991 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03788/0.5793, allocations: 16.65 MB / 0.6153 GB, free: 11.52 MB / 0.5138 GB 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.0935/0.6728, allocations: 61.9 MB / 0.6758 GB, free: 11.87 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01677/0.6896, allocations: 5.356 MB / 0.681 GB, free: 6.48 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004448/0.694, allocations: 2.647 MB / 0.6836 GB, free: 3.824 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4508/1.145, allocations: 10.72 MB / 0.6941 GB, free: 144.1 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.48e-05/1.145, allocations: 64.28 kB / 0.6941 GB, free: 144 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=284): time 6.653e-06/1.145, allocations: 0 / 0.6941 GB, free: 144 MB / 0.5763 GB Notification: Performance of matching and sorting (n=345): time 0.08446/1.229, allocations: 25.93 MB / 0.7194 GB, free: 136.6 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.558e-05/1.229, allocations: 201.9 kB / 0.7196 GB, free: 136.3 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008961/1.238, allocations: 5.606 MB / 0.7251 GB, free: 134.4 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0006072/1.239, allocations: 73.39 kB / 0.7252 GB, free: 134.3 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.003226/1.242, allocations: 5.175 MB / 0.7302 GB, free: 130.7 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001726/1.244, allocations: 1.345 MB / 0.7316 GB, free: 129.7 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002781/1.247, allocations: 1.923 MB / 0.7334 GB, free: 128.8 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 3.976e-05/1.247, allocations: 302.7 kB / 0.7337 GB, free: 128.5 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005774/1.252, allocations: 3.379 MB / 0.737 GB, free: 127.4 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007381/1.26, allocations: 8.922 MB / 0.7457 GB, free: 118.9 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01233/1.272, allocations: 13.22 MB / 0.7586 GB, free: 108 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001784/1.272, allocations: 54.5 kB / 0.7587 GB, free: 108 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02287/1.295, allocations: 13 MB / 0.7714 GB, free: 96.93 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001016/1.295, allocations: 91.94 kB / 0.7715 GB, free: 96.84 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001655/1.296, allocations: 192 kB / 0.7717 GB, free: 96.65 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003888/1.299, allocations: 1.329 MB / 0.773 GB, free: 95.62 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006734/1.306, allocations: 2.217 MB / 0.7751 GB, free: 93.69 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01021/1.316, allocations: 7.605 MB / 0.7826 GB, free: 86.28 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007256/1.324, allocations: 0.5502 MB / 0.7831 GB, free: 85.73 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001218/1.325, allocations: 0.5625 MB / 0.7836 GB, free: 85.16 MB / 0.5763 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.005789/1.331, allocations: 3.448 MB / 0.787 GB, free: 81.71 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001369/1.332, allocations: 0.5006 MB / 0.7875 GB, free: 81.2 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01037/1.342, allocations: 5.344 MB / 0.7927 GB, free: 75.8 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-05/1.342, allocations: 36 kB / 0.7927 GB, free: 75.77 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-05/1.342, allocations: 8 kB / 0.7928 GB, free: 75.76 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-05/1.342, allocations: 15.94 kB / 0.7928 GB, free: 75.74 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02339/1.366, allocations: 11.6 MB / 0.8041 GB, free: 64 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-05/1.366, allocations: 12 kB / 0.8041 GB, free: 63.98 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001952/1.368, allocations: 499.2 kB / 0.8046 GB, free: 63.5 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003086/1.371, allocations: 0.8168 MB / 0.8054 GB, free: 62.68 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002292/1.371, allocations: 72 kB / 0.8054 GB, free: 62.61 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008054/1.379, allocations: 5.588 MB / 0.8109 GB, free: 56.92 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/1.379, allocations: 15.94 kB / 0.8109 GB, free: 56.91 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0124/1.392, allocations: 8.277 MB / 0.819 GB, free: 48.34 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001582/1.393, allocations: 472.4 kB / 0.8195 GB, free: 47.88 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001225/1.394, allocations: 67.98 kB / 0.8195 GB, free: 47.81 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002666/1.397, allocations: 147.9 kB / 0.8197 GB, free: 47.67 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004907/1.398, allocations: 233.3 kB / 0.8199 GB, free: 47.44 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002386/1.398, allocations: 103.4 kB / 0.82 GB, free: 47.34 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.005029/1.403, allocations: 3.226 MB / 0.8231 GB, free: 44.13 MB / 0.5763 GB Notification: Performance of sort global known variables: time 2.21e-07/1.403, allocations: 2.531 kB / 0.8231 GB, free: 44.13 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.008288/1.411, allocations: 1.613 MB / 0.8247 GB, free: 42.52 MB / 0.5763 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.0008072/1.412, allocations: 262.6 kB / 0.825 GB, free: 42.26 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01268/1.425, allocations: 7.603 MB / 0.8324 GB, free: 34.67 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.058e-05/1.425, allocations: 4.75 kB / 0.8324 GB, free: 34.66 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.003568/1.428, allocations: 2.212 MB / 0.8345 GB, free: 32.44 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004721/1.433, allocations: 0.5878 MB / 0.8351 GB, free: 31.86 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02307/1.456, allocations: 15.54 MB / 0.8503 GB, free: 16.12 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006399/1.462, allocations: 4.677 MB / 0.8549 GB, free: 11.4 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.006105/1.468, allocations: 2.9 MB / 0.8577 GB, free: 8.492 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001287/1.47, allocations: 364.5 kB / 0.858 GB, free: 8.137 MB / 0.5763 GB Notification: Performance of SimCode: time 6.92e-07/1.47, allocations: 4 kB / 0.8581 GB, free: 8.133 MB / 0.5763 GB Notification: Performance of Templates: time 0.1076/1.577, allocations: 48.96 MB / 0.9059 GB, free: 7.98 MB / 0.6232 GB " [Timeout remaining time 658] 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","/var/lib/jenkins1/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: 8.433687831973657]