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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001069, allocations: 98.42 kB / 17 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 185.7 kB / 17.89 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 223.3 MB / 241.9 MB, free: 336 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2235/0.2235, allocations: 44.25 MB / 337.3 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000311/0.000311, allocations: 12 kB / 409.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1426, allocations: 61.92 MB / 471.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.3989/0.5414, allocations: 52.71 MB / 0.512 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03357/0.5751, allocations: 11.69 MB / 0.5234 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01473/0.5898, allocations: 253 kB / 0.5237 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01047/0.6003, allocations: 2.754 MB / 0.5264 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02675/0.6271, allocations: 8.255 MB / 0.5344 GB, free: 5.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005687/0.6328, allocations: 1.072 MB / 0.5355 GB, free: 4.867 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.05056/0.6834, allocations: 36.02 MB / 0.5706 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01348/0.6969, allocations: 7.031 MB / 0.5775 GB, free: 7.828 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005877/0.7028, allocations: 2.148 MB / 0.5796 GB, free: 5.758 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006949/0.7098, allocations: 3.492 MB / 0.583 GB, free: 2.465 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00239/0.7122, allocations: 264 kB / 0.5833 GB, free: 2.207 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004817/0.7171, allocations: 1.291 MB / 0.5845 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004818/0.7219, allocations: 2.891 MB / 0.5874 GB, free: 14.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003052/0.725, allocations: 1.372 MB / 0.5887 GB, free: 12.63 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01333/0.7384, allocations: 9.537 MB / 0.598 GB, free: 3.09 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.7384, allocations: 0 / 0.598 GB, free: 3.09 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.7384, allocations: 0 / 0.598 GB, free: 3.09 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004809/0.7389, allocations: 4 kB / 0.598 GB, free: 3.086 MB / 430.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.01629/0.7552, allocations: 6.526 MB / 0.6044 GB, free: 12.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/0.7553, allocations: 12.03 kB / 0.6044 GB, free: 12.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01612/0.7714, allocations: 4.034 MB / 0.6083 GB, free: 8.434 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01336/0.7848, allocations: 4.194 MB / 0.6124 GB, free: 4.184 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005357/0.7854, allocations: 401.9 kB / 0.6128 GB, free: 3.789 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003197/0.7886, allocations: 0.5464 MB / 0.6133 GB, free: 3.242 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04128/0.8299, allocations: 18.9 MB / 0.6318 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002695/0.8302, allocations: 67.33 kB / 0.6319 GB, free: 15.23 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001549/0.8318, allocations: 251.8 kB / 0.6321 GB, free: 14.98 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005185/0.837, allocations: 3.428 MB / 0.6355 GB, free: 11.55 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03553/0.8725, allocations: 16.61 MB / 0.6517 GB, free: 10.92 MB / 494.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.3939/1.266, allocations: 66.82 MB / 0.7169 GB, free: 146.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01696/1.283, allocations: 6.253 MB / 0.723 GB, free: 145.1 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004542/1.288, allocations: 2.819 MB / 0.7258 GB, free: 145 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02284/1.311, allocations: 13.82 MB / 0.7393 GB, free: 139 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.183e-05/1.311, allocations: 71.25 kB / 0.7393 GB, free: 138.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=284): time 4.599e-06/1.311, allocations: 0 / 0.7393 GB, free: 138.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=345): time 0.07451/1.386, allocations: 25.21 MB / 0.764 GB, free: 126.9 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.027e-05/1.386, allocations: 192.3 kB / 0.7641 GB, free: 126.6 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007836/1.393, allocations: 5.846 MB / 0.7699 GB, free: 120.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005966/1.394, allocations: 74.41 kB / 0.7699 GB, free: 120.7 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002728/1.397, allocations: 4.957 MB / 0.7748 GB, free: 115.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00173/1.399, allocations: 1.287 MB / 0.776 GB, free: 114.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004253/1.399, allocations: 193.2 kB / 0.7762 GB, free: 114.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0004943/1.4, allocations: 0.7113 MB / 0.7769 GB, free: 113.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004708/1.404, allocations: 3.314 MB / 0.7801 GB, free: 110.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006828/1.411, allocations: 8.837 MB / 0.7888 GB, free: 98.95 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006564/1.418, allocations: 5.317 MB / 0.794 GB, free: 93.78 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.313e-05/1.418, allocations: 56 kB / 0.794 GB, free: 93.72 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02079/1.439, allocations: 12.92 MB / 0.8066 GB, free: 80.84 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.499e-05/1.439, allocations: 88.94 kB / 0.8067 GB, free: 80.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001731/1.439, allocations: 192 kB / 0.8069 GB, free: 80.57 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003609/1.442, allocations: 1.355 MB / 0.8082 GB, free: 79.21 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006361/1.449, allocations: 2.203 MB / 0.8104 GB, free: 77.01 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009654/1.459, allocations: 7.293 MB / 0.8175 GB, free: 69.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007226/1.466, allocations: 0.5033 MB / 0.818 GB, free: 69.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009115/1.467, allocations: 0.5521 MB / 0.8185 GB, free: 68.54 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 37} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005214/1.472, allocations: 3.447 MB / 0.8219 GB, free: 65.07 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008545/1.473, allocations: 0.5283 MB / 0.8224 GB, free: 64.54 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009555/1.482, allocations: 5.379 MB / 0.8277 GB, free: 59.1 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.275e-05/1.482, allocations: 40.66 kB / 0.8277 GB, free: 59.06 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.61e-05/1.482, allocations: 7.984 kB / 0.8277 GB, free: 59.05 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-05/1.482, allocations: 15.95 kB / 0.8277 GB, free: 59.04 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02412/1.507, allocations: 13.99 MB / 0.8414 GB, free: 44.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.453e-05/1.507, allocations: 12.69 kB / 0.8414 GB, free: 44.81 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001879/1.509, allocations: 0.5032 MB / 0.8419 GB, free: 44.31 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002866/1.511, allocations: 0.8062 MB / 0.8427 GB, free: 43.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000232/1.512, allocations: 71.89 kB / 0.8427 GB, free: 43.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007278/1.519, allocations: 5.33 MB / 0.8479 GB, free: 37.97 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/1.519, allocations: 15.94 kB / 0.848 GB, free: 37.96 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.012/1.531, allocations: 8.26 MB / 0.856 GB, free: 29.41 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001815/1.533, allocations: 0.5722 MB / 0.8566 GB, free: 28.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001325/1.534, allocations: 63.98 kB / 0.8567 GB, free: 28.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002249/1.536, allocations: 133 kB / 0.8568 GB, free: 28.62 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003699/1.537, allocations: 225.5 kB / 0.857 GB, free: 28.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001856/1.537, allocations: 105.5 kB / 0.8571 GB, free: 28.3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005113/1.542, allocations: 3.615 MB / 0.8606 GB, free: 24.72 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.9e-07/1.542, allocations: 0 / 0.8606 GB, free: 24.72 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007471/1.55, allocations: 1.646 MB / 0.8622 GB, free: 23.08 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005673/1.55, allocations: 257.7 kB / 0.8625 GB, free: 22.83 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01046/1.561, allocations: 7.842 MB / 0.8701 GB, free: 15 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/1.561, allocations: 0 / 0.8701 GB, free: 15 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003003/1.564, allocations: 2.371 MB / 0.8725 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003783/1.568, allocations: 0.6789 MB / 0.8731 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03138/1.599, allocations: 18.14 MB / 0.8908 GB, free: 9.621 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009811/1.609, allocations: 5.153 MB / 0.8959 GB, free: 4.426 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.009057/1.618, allocations: 2.97 MB / 0.8988 GB, free: 1.449 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001748/1.62, allocations: 387.4 kB / 0.8991 GB, free: 1.07 MB / 0.545 GB Notification: Performance of SimCode: time 1.993e-06/1.62, allocations: 0 / 0.8991 GB, free: 1.07 MB / 0.545 GB Notification: Performance of Templates: time 0.4097/2.029, allocations: 56.65 MB / 0.9545 GB, free: 210.9 MB / 0.5762 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile (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) 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) Reference file matches