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.001223/0.001223, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001418/0.001418, allocations: 214.8 kB / 24.48 MB, free: 3.941 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: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 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.2312/0.2312, allocations: 46.96 MB / 361.6 MB, free: 4.027 MB / 286.1 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 0.002036/0.002036, allocations: 71.88 kB / 0.4973 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.3812, allocations: 66.04 MB / 0.5618 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.02099/0.4022, allocations: 14.13 MB / 0.5756 GB, free: 5.992 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0178/0.42, allocations: 5.108 MB / 0.5806 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005422/0.4254, allocations: 115.4 kB / 0.5807 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01194/0.4374, allocations: 4.061 MB / 0.5847 GB, free: 12.68 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01104/0.4484, allocations: 2.825 MB / 0.5874 GB, free: 9.848 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005167/0.4536, allocations: 1.267 MB / 0.5887 GB, free: 8.578 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01393/0.4675, allocations: 7.746 MB / 0.5962 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008935/0.4764, allocations: 4.733 MB / 0.6009 GB, free: 12.01 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006049/0.4825, allocations: 2.71 MB / 0.6035 GB, free: 9.289 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007498/0.49, allocations: 4.082 MB / 0.6075 GB, free: 5.195 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002495/0.4925, allocations: 0.6015 MB / 0.6081 GB, free: 4.594 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004729/0.4972, allocations: 1.662 MB / 0.6097 GB, free: 2.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005178/0.5024, allocations: 3.373 MB / 0.613 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006281/0.5087, allocations: 2.792 MB / 0.6157 GB, free: 12.73 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01913/0.5278, allocations: 12.41 MB / 0.6278 GB, free: 288 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.5278, allocations: 3.938 kB / 0.6278 GB, free: 284 kB / 462.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.5278, allocations: 0 / 0.6278 GB, free: 284 kB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000472/0.5283, allocations: 3.938 kB / 0.6278 GB, free: 280 kB / 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.02303/0.5513, allocations: 7.978 MB / 0.6356 GB, free: 8.211 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.5514, allocations: 12.03 kB / 0.6356 GB, free: 8.199 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01698/0.5683, allocations: 3.985 MB / 0.6395 GB, free: 4.203 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01228/0.5806, allocations: 4.186 MB / 0.6436 GB, free: 15.96 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004562/0.5811, allocations: 398 kB / 0.644 GB, free: 15.57 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002536/0.5836, allocations: 0.5503 MB / 0.6445 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03991/0.6235, allocations: 18.94 MB / 0.663 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002332/0.6237, allocations: 67.47 kB / 0.6631 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009675/0.6247, allocations: 247.8 kB / 0.6633 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005511/0.6302, allocations: 3.432 MB / 0.6667 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03606/0.6663, allocations: 16.62 MB / 0.6829 GB, free: 6.648 MB / 0.5137 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.6866/1.353, allocations: 61.65 MB / 0.7431 GB, free: 112.7 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01343/1.366, allocations: 5.127 MB / 0.7481 GB, free: 112.6 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003155/1.369, allocations: 2.651 MB / 0.7507 GB, free: 112.5 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01945/1.389, allocations: 10.61 MB / 0.7611 GB, free: 109.4 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/1.389, allocations: 59.72 kB / 0.7611 GB, free: 109.3 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=284): time 6.392e-06/1.389, allocations: 3.938 kB / 0.7611 GB, free: 109.3 MB / 0.5607 GB Notification: Performance of matching and sorting (n=345): time 0.07443/1.463, allocations: 25.04 MB / 0.7856 GB, free: 90 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/1.463, allocations: 189.8 kB / 0.7858 GB, free: 89.78 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005857/1.469, allocations: 5.622 MB / 0.7913 GB, free: 84.39 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0006168/1.47, allocations: 73.7 kB / 0.7913 GB, free: 84.32 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002192/1.472, allocations: 5.181 MB / 0.7964 GB, free: 79.34 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001185/1.473, allocations: 1.339 MB / 0.7977 GB, free: 78.02 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002111/1.475, allocations: 1.922 MB / 0.7996 GB, free: 76.09 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.337e-05/1.475, allocations: 305.1 kB / 0.7999 GB, free: 75.79 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003892/1.479, allocations: 3.361 MB / 0.8032 GB, free: 72.42 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00621/1.486, allocations: 8.899 MB / 0.8118 GB, free: 60.89 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01183/1.497, allocations: 13.19 MB / 0.8247 GB, free: 45.19 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000162/1.498, allocations: 56 kB / 0.8248 GB, free: 45.14 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02356/1.521, allocations: 12.98 MB / 0.8375 GB, free: 32.12 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001088/1.521, allocations: 84 kB / 0.8375 GB, free: 32.04 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001904/1.521, allocations: 196 kB / 0.8377 GB, free: 31.84 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004077/1.525, allocations: 1.315 MB / 0.839 GB, free: 30.53 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006559/1.532, allocations: 2.211 MB / 0.8412 GB, free: 28.31 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01017/1.542, allocations: 7.613 MB / 0.8486 GB, free: 20.61 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006735/1.549, allocations: 0.5033 MB / 0.8491 GB, free: 20.1 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001416/1.55, allocations: 0.5547 MB / 0.8496 GB, free: 19.55 MB / 0.5607 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.004759/1.555, allocations: 3.452 MB / 0.853 GB, free: 16.08 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009025/1.556, allocations: 0.5044 MB / 0.8535 GB, free: 15.57 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009603/1.566, allocations: 5.342 MB / 0.8587 GB, free: 10.18 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.469e-05/1.566, allocations: 43.45 kB / 0.8588 GB, free: 10.14 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.805e-05/1.566, allocations: 8 kB / 0.8588 GB, free: 10.13 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.376e-05/1.566, allocations: 15.94 kB / 0.8588 GB, free: 10.11 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02693/1.593, allocations: 11.54 MB / 0.8701 GB, free: 14.43 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-05/1.593, allocations: 16 kB / 0.8701 GB, free: 14.41 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002425/1.595, allocations: 0.4914 MB / 0.8705 GB, free: 13.92 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003739/1.599, allocations: 0.8126 MB / 0.8713 GB, free: 13.1 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003669/1.599, allocations: 64 kB / 0.8714 GB, free: 13.04 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01055/1.61, allocations: 5.584 MB / 0.8769 GB, free: 7.355 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.308e-05/1.61, allocations: 19.88 kB / 0.8769 GB, free: 7.336 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01591/1.626, allocations: 8.27 MB / 0.885 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001517/1.627, allocations: 464.4 kB / 0.8854 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006226/1.628, allocations: 68 kB / 0.8855 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001996/1.63, allocations: 131.8 kB / 0.8856 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005033/1.63, allocations: 237.3 kB / 0.8858 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002284/1.631, allocations: 103.7 kB / 0.8859 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005427/1.636, allocations: 3.226 MB / 0.8891 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.71e-07/1.636, allocations: 0 / 0.8891 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009043/1.645, allocations: 1.613 MB / 0.8906 GB, free: 8.973 MB / 0.5919 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.0009259/1.646, allocations: 268.3 kB / 0.8909 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01446/1.66, allocations: 7.592 MB / 0.8983 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.928e-05/1.66, allocations: 4 kB / 0.8983 GB, free: 1.125 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004509/1.665, allocations: 2.21 MB / 0.9005 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003791/1.669, allocations: 0.5824 MB / 0.901 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02737/1.696, allocations: 15.55 MB / 0.9162 GB, free: 14.58 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007105/1.703, allocations: 4.676 MB / 0.9208 GB, free: 9.859 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.007069/1.71, allocations: 2.9 MB / 0.9236 GB, free: 6.953 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001127/1.711, allocations: 359.4 kB / 0.924 GB, free: 6.602 MB / 0.6232 GB Notification: Performance of SimCode: time 1.343e-06/1.711, allocations: 0 / 0.924 GB, free: 6.602 MB / 0.6232 GB Notification: Performance of Templates: time 0.1122/1.824, allocations: 56.34 MB / 0.979 GB, free: 15.09 MB / 0.6857 GB " [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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","/var/lib/jenkins1/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.44753204000881]