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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 107.9 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 195.3 kB / 22.98 MB, free: 5.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 225.6 MB / 251.6 MB, free: 13.34 MB / 206.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.235/0.235, allocations: 44.92 MB / 351.6 MB, free: 12.23 MB / 286.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00193/0.00193, allocations: 67.89 kB / 495.2 MB, free: 1.887 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4017/0.4036, allocations: 64.25 MB / 0.5464 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.02004/0.4237, allocations: 16.4 MB / 0.5624 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0146/0.4383, allocations: 5.384 MB / 0.5676 GB, free: 9.984 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004107/0.4424, allocations: 99.75 kB / 0.5677 GB, free: 9.887 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00867/0.451, allocations: 4.24 MB / 0.5719 GB, free: 5.633 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00828/0.4593, allocations: 2.832 MB / 0.5746 GB, free: 2.793 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003428/0.4627, allocations: 1.271 MB / 0.5759 GB, free: 1.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0114/0.4741, allocations: 7.601 MB / 0.5833 GB, free: 9.906 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007256/0.4814, allocations: 4.352 MB / 0.5876 GB, free: 5.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005157/0.4865, allocations: 2.687 MB / 0.5902 GB, free: 2.785 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00723/0.4938, allocations: 4.101 MB / 0.5942 GB, free: 14.67 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002515/0.4963, allocations: 0.5938 MB / 0.5948 GB, free: 14.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004979/0.5013, allocations: 1.802 MB / 0.5965 GB, free: 12.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007669/0.5089, allocations: 3.405 MB / 0.5999 GB, free: 8.859 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009439/0.5184, allocations: 3.803 MB / 0.6036 GB, free: 5.035 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01982/0.5382, allocations: 12.42 MB / 0.6157 GB, free: 8.566 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.5382, allocations: 4 kB / 0.6157 GB, free: 8.562 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.5382, allocations: 0 / 0.6157 GB, free: 8.562 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000512/0.5387, allocations: 0 / 0.6157 GB, free: 8.562 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.02168/0.5604, allocations: 8.1 MB / 0.6236 GB, free: 372 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.5604, allocations: 8.031 kB / 0.6236 GB, free: 364 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01549/0.5759, allocations: 3.985 MB / 0.6275 GB, free: 12.36 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01115/0.5871, allocations: 4.336 MB / 0.6317 GB, free: 7.965 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004123/0.5875, allocations: 394 kB / 0.6321 GB, free: 7.578 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002508/0.59, allocations: 0.5659 MB / 0.6327 GB, free: 7.012 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04022/0.6302, allocations: 18.87 MB / 0.6511 GB, free: 3.094 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002607/0.6305, allocations: 67.47 kB / 0.6512 GB, free: 3.027 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001326/0.6318, allocations: 247.8 kB / 0.6514 GB, free: 2.785 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005438/0.6372, allocations: 3.432 MB / 0.6548 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03917/0.6764, allocations: 16.63 MB / 0.671 GB, free: 14.7 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.7908/1.467, allocations: 66.71 MB / 0.7361 GB, free: 119.3 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01474/1.482, allocations: 6.043 MB / 0.742 GB, free: 118.1 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003693/1.486, allocations: 2.644 MB / 0.7446 GB, free: 118.1 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0197/1.505, allocations: 13.87 MB / 0.7582 GB, free: 112.3 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/1.505, allocations: 65.44 kB / 0.7582 GB, free: 112.3 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=284): time 5.59e-06/1.505, allocations: 0 / 0.7582 GB, free: 112.3 MB / 0.5607 GB Notification: Performance of matching and sorting (n=345): time 0.07394/1.579, allocations: 25.39 MB / 0.783 GB, free: 94.76 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.438e-05/1.579, allocations: 184.3 kB / 0.7832 GB, free: 94.54 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005988/1.585, allocations: 5.896 MB / 0.789 GB, free: 88.79 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0004427/1.586, allocations: 77.38 kB / 0.789 GB, free: 88.71 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.001935/1.588, allocations: 5.159 MB / 0.7941 GB, free: 83.84 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009461/1.589, allocations: 1.341 MB / 0.7954 GB, free: 82.52 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00187/1.591, allocations: 1.925 MB / 0.7973 GB, free: 80.58 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.908e-05/1.591, allocations: 301.1 kB / 0.7976 GB, free: 80.29 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003906/1.595, allocations: 3.358 MB / 0.8008 GB, free: 76.93 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005527/1.6, allocations: 8.877 MB / 0.8095 GB, free: 65.46 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01114/1.611, allocations: 13.18 MB / 0.8224 GB, free: 49.81 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001331/1.611, allocations: 56 kB / 0.8224 GB, free: 49.75 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02177/1.633, allocations: 13 MB / 0.8351 GB, free: 36.71 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001012/1.633, allocations: 88 kB / 0.8352 GB, free: 36.62 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001572/1.633, allocations: 192 kB / 0.8354 GB, free: 36.44 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003783/1.637, allocations: 1.33 MB / 0.8367 GB, free: 35.11 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00625/1.643, allocations: 2.199 MB / 0.8388 GB, free: 32.9 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01004/1.653, allocations: 7.858 MB / 0.8465 GB, free: 24.91 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006604/1.66, allocations: 0.5034 MB / 0.847 GB, free: 24.41 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001426/1.661, allocations: 0.5521 MB / 0.8475 GB, free: 23.86 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.004829/1.666, allocations: 3.452 MB / 0.8509 GB, free: 20.39 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009465/1.667, allocations: 0.551 MB / 0.8514 GB, free: 19.84 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009478/1.677, allocations: 5.392 MB / 0.8567 GB, free: 14.39 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.824e-05/1.677, allocations: 36 kB / 0.8567 GB, free: 14.36 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/1.677, allocations: 8 kB / 0.8568 GB, free: 14.35 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.549e-05/1.677, allocations: 15.94 kB / 0.8568 GB, free: 14.33 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02312/1.7, allocations: 13.91 MB / 0.8704 GB, free: 200 kB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.238e-05/1.7, allocations: 16.94 kB / 0.8704 GB, free: 184 kB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002167/1.702, allocations: 0.4915 MB / 0.8708 GB, free: 15.69 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003568/1.706, allocations: 0.801 MB / 0.8716 GB, free: 14.88 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003707/1.706, allocations: 71.98 kB / 0.8717 GB, free: 14.81 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01085/1.717, allocations: 5.815 MB / 0.8774 GB, free: 8.859 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.848e-05/1.717, allocations: 19.94 kB / 0.8774 GB, free: 8.84 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01698/1.734, allocations: 8.314 MB / 0.8855 GB, free: 252 kB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002249/1.736, allocations: 0.5878 MB / 0.8861 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001415/1.738, allocations: 63.98 kB / 0.8862 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002474/1.74, allocations: 131.6 kB / 0.8863 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006071/1.741, allocations: 217.6 kB / 0.8865 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002525/1.741, allocations: 107.9 kB / 0.8866 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007533/1.748, allocations: 3.651 MB / 0.8902 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/1.748, allocations: 3.938 kB / 0.8902 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008982/1.757, allocations: 1.652 MB / 0.8918 GB, free: 9.855 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.0009103/1.758, allocations: 266.1 kB / 0.892 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01545/1.774, allocations: 7.58 MB / 0.8994 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.486e-05/1.774, allocations: 0.8125 kB / 0.8994 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004678/1.778, allocations: 2.22 MB / 0.9016 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004409/1.783, allocations: 0.6933 MB / 0.9023 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03328/1.816, allocations: 15.6 MB / 0.9175 GB, free: 15.3 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0122/1.828, allocations: 5.156 MB / 0.9225 GB, free: 10.11 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.008668/1.837, allocations: 2.963 MB / 0.9254 GB, free: 7.137 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00169/1.839, allocations: 383.4 kB / 0.9258 GB, free: 6.762 MB / 0.6232 GB Notification: Performance of SimCode: time 1.663e-06/1.839, allocations: 0 / 0.9258 GB, free: 6.762 MB / 0.6232 GB Notification: Performance of Templates: time 0.1212/1.96, allocations: 55.14 MB / 0.9796 GB, free: 0 / 0.67 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 -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: 9.205332105048]