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.001265/0.001264, allocations: 87.06 kB / 17.35 MB, free: 6.066 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.001279/0.001279, allocations: 169.5 kB / 18.26 MB, free: 5.375 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.471/1.471, allocations: 223.3 MB / 242.3 MB, free: 196 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.225/0.225, allocations: 44.25 MB / 337.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003652/0.0003652, allocations: 8 kB / 410.3 MB, free: 27.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1398, allocations: 61.93 MB / 472.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.3651/0.505, allocations: 56.67 MB / 0.5165 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03048/0.5355, allocations: 12.28 MB / 0.5285 GB, free: 7.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01373/0.5493, allocations: 249.4 kB / 0.5288 GB, free: 7.781 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002423/0.5517, allocations: 0.6702 MB / 0.5294 GB, free: 7.535 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007835/0.5596, allocations: 2.607 MB / 0.532 GB, free: 6.676 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003028/0.5626, allocations: 1.162 MB / 0.5331 GB, free: 6.258 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0149/0.5775, allocations: 10.73 MB / 0.5436 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01084/0.5884, allocations: 7.826 MB / 0.5512 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004546/0.593, allocations: 1.985 MB / 0.5531 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005786/0.5988, allocations: 3.527 MB / 0.5566 GB, free: 6.973 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001643/0.6005, allocations: 264 kB / 0.5568 GB, free: 6.715 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004373/0.6049, allocations: 1.515 MB / 0.5583 GB, free: 5.254 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004166/0.6091, allocations: 2.954 MB / 0.5612 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004314/0.6134, allocations: 3.364 MB / 0.5645 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01285/0.6263, allocations: 11.48 MB / 0.5757 GB, free: 3.711 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.6263, allocations: 0 / 0.5757 GB, free: 3.711 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.6263, allocations: 0 / 0.5757 GB, free: 3.711 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003984/0.6267, allocations: 0 / 0.5757 GB, free: 3.711 MB / 414.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.0151/0.6418, allocations: 6.441 MB / 0.582 GB, free: 13.23 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.6419, allocations: 12.03 kB / 0.582 GB, free: 13.22 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01721/0.6591, allocations: 4.03 MB / 0.5859 GB, free: 9.176 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009495/0.6686, allocations: 4.264 MB / 0.5901 GB, free: 4.898 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000422/0.6691, allocations: 402.1 kB / 0.5905 GB, free: 4.566 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002907/0.672, allocations: 0.5499 MB / 0.591 GB, free: 4.082 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04053/0.7125, allocations: 18.92 MB / 0.6095 GB, free: 316 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002555/0.7128, allocations: 75.3 kB / 0.6096 GB, free: 240 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0013/0.7141, allocations: 248.5 kB / 0.6098 GB, free: 56 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005773/0.7199, allocations: 3.436 MB / 0.6132 GB, free: 12.63 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03903/0.759, allocations: 16.68 MB / 0.6294 GB, free: 11.95 MB / 478.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.1025/0.8616, allocations: 66.85 MB / 0.6947 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01747/0.8791, allocations: 6.277 MB / 0.7009 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.5296/1.409, allocations: 2.831 MB / 0.7036 GB, free: 184.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02951/1.438, allocations: 13.81 MB / 0.7171 GB, free: 178.3 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.724e-05/1.438, allocations: 69.5 kB / 0.7172 GB, free: 178.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=284): time 6.722e-06/1.438, allocations: 0.75 kB / 0.7172 GB, free: 178.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=345): time 0.08765/1.526, allocations: 25.24 MB / 0.7418 GB, free: 169.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.668e-05/1.526, allocations: 192.3 kB / 0.742 GB, free: 169.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008283/1.534, allocations: 5.888 MB / 0.7478 GB, free: 163.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000717/1.535, allocations: 71.11 kB / 0.7478 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002811/1.538, allocations: 4.949 MB / 0.7527 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001402/1.539, allocations: 1.292 MB / 0.7539 GB, free: 157.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001008/1.54, allocations: 0.8174 MB / 0.7547 GB, free: 156.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.738e-05/1.541, allocations: 305.1 kB / 0.755 GB, free: 156 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004472/1.545, allocations: 3.349 MB / 0.7583 GB, free: 152.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00693/1.552, allocations: 8.874 MB / 0.7669 GB, free: 141.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01267/1.565, allocations: 13.17 MB / 0.7798 GB, free: 125.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000167/1.565, allocations: 56 kB / 0.7799 GB, free: 125.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02521/1.59, allocations: 13.01 MB / 0.7926 GB, free: 112.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001195/1.59, allocations: 88 kB / 0.7926 GB, free: 112 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002101/1.59, allocations: 192 kB / 0.7928 GB, free: 111.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004042/1.595, allocations: 1.325 MB / 0.7941 GB, free: 110.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007806/1.602, allocations: 2.207 MB / 0.7963 GB, free: 108.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01149/1.614, allocations: 7.281 MB / 0.8034 GB, free: 100.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007658/1.622, allocations: 0.5121 MB / 0.8039 GB, free: 100.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001582/1.623, allocations: 0.5517 MB / 0.8044 GB, free: 99.83 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 (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.00694/1.63, allocations: 3.451 MB / 0.8078 GB, free: 96.36 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001269/1.631, allocations: 0.5244 MB / 0.8083 GB, free: 95.83 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01189/1.643, allocations: 5.397 MB / 0.8136 GB, free: 90.38 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.155e-05/1.643, allocations: 41.25 kB / 0.8136 GB, free: 90.34 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-05/1.644, allocations: 10.69 kB / 0.8136 GB, free: 90.33 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.435e-05/1.644, allocations: 15.94 kB / 0.8136 GB, free: 90.31 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0322/1.676, allocations: 14.01 MB / 0.8273 GB, free: 76.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.29e-05/1.676, allocations: 12 kB / 0.8273 GB, free: 76.07 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002362/1.678, allocations: 0.4914 MB / 0.8278 GB, free: 75.58 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003263/1.682, allocations: 0.813 MB / 0.8286 GB, free: 74.77 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004613/1.682, allocations: 80.62 kB / 0.8287 GB, free: 74.69 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008323/1.69, allocations: 5.327 MB / 0.8339 GB, free: 69.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.134e-05/1.69, allocations: 27.98 kB / 0.8339 GB, free: 69.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01459/1.705, allocations: 8.28 MB / 0.842 GB, free: 60.64 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001624/1.707, allocations: 0.5722 MB / 0.8426 GB, free: 60.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001485/1.708, allocations: 69.3 kB / 0.8426 GB, free: 59.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002905/1.711, allocations: 137.1 kB / 0.8428 GB, free: 59.84 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006717/1.712, allocations: 221.4 kB / 0.843 GB, free: 59.62 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003164/1.712, allocations: 100.9 kB / 0.8431 GB, free: 59.52 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.007212/1.719, allocations: 3.654 MB / 0.8466 GB, free: 55.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.11e-07/1.719, allocations: 0 / 0.8466 GB, free: 55.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009072/1.728, allocations: 1.651 MB / 0.8482 GB, free: 54.26 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 (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.001168/1.73, allocations: 268.7 kB / 0.8485 GB, free: 54 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01347/1.743, allocations: 7.881 MB / 0.8562 GB, free: 46.14 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.889e-05/1.743, allocations: 4 kB / 0.8562 GB, free: 46.13 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004784/1.748, allocations: 2.379 MB / 0.8585 GB, free: 43.73 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01511/1.763, allocations: 0.6773 MB / 0.8592 GB, free: 43.07 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02895/1.792, allocations: 18.92 MB / 0.8777 GB, free: 23.96 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008124/1.8, allocations: 5.16 MB / 0.8827 GB, free: 18.76 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.008301/1.809, allocations: 2.962 MB / 0.8856 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001987/1.811, allocations: 387.4 kB / 0.886 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of SimCode: time 1.262e-06/1.811, allocations: 3.938 kB / 0.886 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of Templates: time 0.3795/2.19, allocations: 57.83 MB / 0.9424 GB, free: 144.1 MB / 0.5294 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