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.001324/0.001324, 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.001454/0.001454, allocations: 214.7 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.434/1.434, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.2591/0.2591, allocations: 46.96 MB / 361.6 MB, free: 4.016 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.002015/0.002015, allocations: 59.91 kB / 0.4973 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.303, allocations: 66.03 MB / 0.5618 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01751/0.3205, allocations: 14.13 MB / 0.5756 GB, free: 5.969 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01184/0.3323, allocations: 5.115 MB / 0.5806 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002462/0.3348, allocations: 115.4 kB / 0.5807 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00831/0.3431, allocations: 4.069 MB / 0.5847 GB, free: 12.64 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007544/0.3507, allocations: 2.809 MB / 0.5874 GB, free: 9.824 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00321/0.3539, allocations: 1.263 MB / 0.5887 GB, free: 8.559 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01175/0.3656, allocations: 7.738 MB / 0.5962 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006957/0.3726, allocations: 4.737 MB / 0.6008 GB, free: 11.99 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005146/0.3777, allocations: 2.718 MB / 0.6035 GB, free: 9.266 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006483/0.3842, allocations: 4.089 MB / 0.6075 GB, free: 5.164 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0018/0.386, allocations: 0.5938 MB / 0.6081 GB, free: 4.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003812/0.3898, allocations: 1.666 MB / 0.6097 GB, free: 2.902 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00395/0.3938, allocations: 3.37 MB / 0.613 GB, free: 15.52 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004149/0.3979, allocations: 2.792 MB / 0.6157 GB, free: 12.71 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01535/0.4133, allocations: 12.41 MB / 0.6278 GB, free: 264 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4133, allocations: 0 / 0.6278 GB, free: 264 kB / 462.1 MB Notification: Performance of FrontEnd: time 3.517e-06/0.4133, allocations: 8 kB / 0.6278 GB, free: 256 kB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003585/0.4136, allocations: 0 / 0.6278 GB, free: 256 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.01931/0.433, allocations: 7.978 MB / 0.6356 GB, free: 8.188 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.433, allocations: 8.031 kB / 0.6356 GB, free: 8.18 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01607/0.4491, allocations: 3.989 MB / 0.6395 GB, free: 4.18 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01137/0.4604, allocations: 4.182 MB / 0.6436 GB, free: 15.94 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000395/0.4608, allocations: 398 kB / 0.644 GB, free: 15.55 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002042/0.4629, allocations: 0.5542 MB / 0.6445 GB, free: 15 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03736/0.5002, allocations: 18.93 MB / 0.663 GB, free: 11 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002258/0.5005, allocations: 71.39 kB / 0.6631 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008919/0.5014, allocations: 251.8 kB / 0.6633 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005335/0.5067, allocations: 3.424 MB / 0.6667 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03577/0.5425, allocations: 16.62 MB / 0.6829 GB, free: 6.621 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.3445/0.887, allocations: 61.65 MB / 0.7431 GB, free: 112.7 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01346/0.9005, allocations: 5.133 MB / 0.7481 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002971/0.9034, allocations: 2.645 MB / 0.7507 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02178/0.9252, allocations: 10.61 MB / 0.7611 GB, free: 109.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.9252, allocations: 65.03 kB / 0.7611 GB, free: 109.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=284): time 7.454e-06/0.9253, allocations: 0 / 0.7611 GB, free: 109.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=345): time 0.07708/1.002, allocations: 25.05 MB / 0.7856 GB, free: 89.89 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/1.002, allocations: 191.9 kB / 0.7858 GB, free: 89.66 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00559/1.008, allocations: 5.621 MB / 0.7913 GB, free: 84.28 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005422/1.009, allocations: 73.7 kB / 0.7913 GB, free: 84.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002214/1.011, allocations: 5.166 MB / 0.7964 GB, free: 79.24 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001182/1.012, allocations: 1.341 MB / 0.7977 GB, free: 77.92 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002076/1.014, allocations: 1.925 MB / 0.7996 GB, free: 75.98 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.907e-05/1.014, allocations: 305.1 kB / 0.7999 GB, free: 75.68 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003984/1.018, allocations: 3.361 MB / 0.8032 GB, free: 72.32 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005557/1.024, allocations: 8.906 MB / 0.8119 GB, free: 60.78 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01121/1.035, allocations: 13.19 MB / 0.8247 GB, free: 45.09 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001385/1.035, allocations: 56 kB / 0.8248 GB, free: 45.03 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02182/1.057, allocations: 12.97 MB / 0.8374 GB, free: 32.02 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001019/1.057, allocations: 88 kB / 0.8375 GB, free: 31.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001652/1.057, allocations: 196 kB / 0.8377 GB, free: 31.74 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004139/1.061, allocations: 1.322 MB / 0.839 GB, free: 30.42 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006841/1.068, allocations: 2.207 MB / 0.8412 GB, free: 28.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01054/1.079, allocations: 7.618 MB / 0.8486 GB, free: 20.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006763/1.085, allocations: 0.5068 MB / 0.8491 GB, free: 19.99 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001412/1.087, allocations: 0.5581 MB / 0.8496 GB, free: 19.44 MB / 0.5606 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.005043/1.092, allocations: 3.444 MB / 0.853 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009656/1.093, allocations: 0.5083 MB / 0.8535 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009933/1.103, allocations: 5.344 MB / 0.8587 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.565e-05/1.103, allocations: 39.94 kB / 0.8588 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.41e-05/1.103, allocations: 11.94 kB / 0.8588 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.969e-05/1.103, allocations: 11.95 kB / 0.8588 GB, free: 10 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02329/1.126, allocations: 11.54 MB / 0.8701 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-05/1.126, allocations: 12 kB / 0.8701 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002338/1.128, allocations: 0.4914 MB / 0.8705 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003735/1.132, allocations: 0.809 MB / 0.8713 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003293/1.132, allocations: 75.98 kB / 0.8714 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0104/1.143, allocations: 5.584 MB / 0.8769 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.407e-05/1.143, allocations: 15.94 kB / 0.8769 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01606/1.159, allocations: 8.267 MB / 0.8849 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00192/1.161, allocations: 464.4 kB / 0.8854 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007972/1.162, allocations: 67.98 kB / 0.8855 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002046/1.164, allocations: 135.9 kB / 0.8856 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005243/1.164, allocations: 237.2 kB / 0.8858 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002616/1.164, allocations: 107.3 kB / 0.8859 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005642/1.17, allocations: 3.222 MB / 0.8891 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/1.17, allocations: 0 / 0.8891 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00777/1.178, allocations: 1.605 MB / 0.8906 GB, free: 8.875 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.0007172/1.179, allocations: 274.3 kB / 0.8909 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01339/1.192, allocations: 7.587 MB / 0.8983 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.346e-05/1.192, allocations: 4.75 kB / 0.8983 GB, free: 1.023 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004047/1.196, allocations: 2.213 MB / 0.9005 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003634/1.2, allocations: 0.5876 MB / 0.901 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02907/1.229, allocations: 15.54 MB / 0.9162 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008617/1.237, allocations: 4.676 MB / 0.9208 GB, free: 9.758 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.007135/1.245, allocations: 2.9 MB / 0.9236 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001197/1.246, allocations: 359.4 kB / 0.924 GB, free: 6.5 MB / 0.6231 GB Notification: Performance of SimCode: time 1.232e-06/1.246, allocations: 0 / 0.924 GB, free: 6.5 MB / 0.6231 GB Notification: Performance of Templates: time 0.1154/1.361, allocations: 56.34 MB / 0.979 GB, free: 14.97 MB / 0.6856 GB " [Timeout remaining time 659] 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 gbode -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: 7.983524701005081]