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.0009921/0.0009922, allocations: 94.11 kB / 18 MB, free: 5.602 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.001212/0.001212, allocations: 177.9 kB / 18.91 MB, free: 4.738 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.39/1.39, allocations: 223.3 MB / 243 MB, free: 14.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2013/0.2013, allocations: 44.26 MB / 338.3 MB, free: 2.414 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003484/0.0003484, allocations: 8 kB / 411 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1131, allocations: 61.93 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.2973/0.4104, allocations: 56.66 MB / 0.5172 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02994/0.4404, allocations: 12.29 MB / 0.5292 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01504/0.4555, allocations: 248.5 kB / 0.5294 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002938/0.4585, allocations: 0.6647 MB / 0.53 GB, free: 7.527 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009304/0.4678, allocations: 2.606 MB / 0.5326 GB, free: 6.672 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003802/0.4716, allocations: 1.165 MB / 0.5337 GB, free: 6.246 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01418/0.4858, allocations: 10.73 MB / 0.5442 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01337/0.4992, allocations: 7.827 MB / 0.5518 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005253/0.5045, allocations: 1.987 MB / 0.5538 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006193/0.5108, allocations: 3.528 MB / 0.5572 GB, free: 6.973 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001698/0.5125, allocations: 264 kB / 0.5575 GB, free: 6.715 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004421/0.5169, allocations: 1.508 MB / 0.559 GB, free: 5.262 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00445/0.5214, allocations: 2.954 MB / 0.5618 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006908/0.5283, allocations: 3.376 MB / 0.5651 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01214/0.5405, allocations: 9.535 MB / 0.5744 GB, free: 5.648 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.5405, allocations: 0 / 0.5744 GB, free: 5.648 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.377e-06/0.5406, allocations: 4 kB / 0.5744 GB, free: 5.645 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004845/0.541, allocations: 0 / 0.5744 GB, free: 5.645 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.01795/0.559, allocations: 6.438 MB / 0.5807 GB, free: 15.17 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/0.5591, allocations: 12.03 kB / 0.5807 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02256/0.5816, allocations: 4.034 MB / 0.5847 GB, free: 11.11 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01339/0.5951, allocations: 4.264 MB / 0.5889 GB, free: 6.832 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006098/0.5957, allocations: 396.7 kB / 0.5892 GB, free: 6.504 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002925/0.5987, allocations: 0.5571 MB / 0.5898 GB, free: 6.012 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04675/0.6455, allocations: 18.92 MB / 0.6082 GB, free: 2.234 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000398/0.6459, allocations: 71.31 kB / 0.6083 GB, free: 2.164 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002107/0.648, allocations: 248.4 kB / 0.6086 GB, free: 1.984 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006098/0.6541, allocations: 3.435 MB / 0.6119 GB, free: 14.56 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03911/0.6933, allocations: 16.69 MB / 0.6282 GB, free: 13.87 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.101/0.7944, allocations: 66.85 MB / 0.6935 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0165/0.8109, allocations: 6.277 MB / 0.6996 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004434/0.8154, allocations: 2.836 MB / 0.7024 GB, free: 48 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4833/1.299, allocations: 13.79 MB / 0.7159 GB, free: 179.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.969e-05/1.299, allocations: 67.17 kB / 0.7159 GB, free: 179.1 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=284): time 7.193e-06/1.299, allocations: 2.188 kB / 0.7159 GB, free: 179.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=345): time 0.08112/1.38, allocations: 25.25 MB / 0.7406 GB, free: 171.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.3e-05/1.38, allocations: 188.3 kB / 0.7408 GB, free: 170.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007488/1.388, allocations: 5.889 MB / 0.7465 GB, free: 165.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000616/1.388, allocations: 70.48 kB / 0.7466 GB, free: 165.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002425/1.391, allocations: 4.95 MB / 0.7514 GB, free: 160.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00124/1.392, allocations: 1.293 MB / 0.7527 GB, free: 159.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008672/1.393, allocations: 0.8126 MB / 0.7535 GB, free: 158.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.246e-05/1.393, allocations: 308.7 kB / 0.7538 GB, free: 158 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004258/1.397, allocations: 3.353 MB / 0.757 GB, free: 154.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006473/1.404, allocations: 8.876 MB / 0.7657 GB, free: 143 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01256/1.416, allocations: 13.18 MB / 0.7786 GB, free: 127.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001574/1.416, allocations: 60 kB / 0.7786 GB, free: 127.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02434/1.441, allocations: 12.99 MB / 0.7913 GB, free: 114 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002114/1.441, allocations: 88 kB / 0.7914 GB, free: 113.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002936/1.441, allocations: 196.1 kB / 0.7916 GB, free: 113.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00395/1.445, allocations: 1.321 MB / 0.7929 GB, free: 112.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006775/1.452, allocations: 2.199 MB / 0.795 GB, free: 110.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01032/1.462, allocations: 7.296 MB / 0.8021 GB, free: 102.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006755/1.469, allocations: 0.5033 MB / 0.8026 GB, free: 102.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00148/1.471, allocations: 0.5586 MB / 0.8032 GB, free: 101.7 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.0065/1.477, allocations: 3.444 MB / 0.8065 GB, free: 98.27 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001236/1.478, allocations: 0.5244 MB / 0.8071 GB, free: 97.73 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01134/1.49, allocations: 5.402 MB / 0.8123 GB, free: 92.27 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.733e-05/1.49, allocations: 38.34 kB / 0.8124 GB, free: 92.24 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.117e-05/1.49, allocations: 8 kB / 0.8124 GB, free: 92.23 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-05/1.49, allocations: 19.92 kB / 0.8124 GB, free: 92.21 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02524/1.515, allocations: 14.01 MB / 0.8261 GB, free: 77.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-05/1.515, allocations: 16.06 kB / 0.8261 GB, free: 77.97 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002105/1.517, allocations: 0.4914 MB / 0.8266 GB, free: 77.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003186/1.521, allocations: 0.8067 MB / 0.8274 GB, free: 76.67 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003418/1.521, allocations: 76.47 kB / 0.8274 GB, free: 76.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007983/1.529, allocations: 5.331 MB / 0.8326 GB, free: 71.13 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.588e-06/1.529, allocations: 19.94 kB / 0.8327 GB, free: 71.11 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01277/1.542, allocations: 8.289 MB / 0.8407 GB, free: 62.54 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001652/1.543, allocations: 0.5683 MB / 0.8413 GB, free: 61.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008046/1.544, allocations: 63.98 kB / 0.8414 GB, free: 61.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002108/1.546, allocations: 139.8 kB / 0.8415 GB, free: 61.75 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004329/1.547, allocations: 226 kB / 0.8417 GB, free: 61.53 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001931/1.547, allocations: 109.1 kB / 0.8418 GB, free: 61.42 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005367/1.552, allocations: 3.651 MB / 0.8454 GB, free: 57.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.91e-07/1.552, allocations: 0 / 0.8454 GB, free: 57.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007799/1.56, allocations: 1.65 MB / 0.847 GB, free: 56.16 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.0007298/1.561, allocations: 272.4 kB / 0.8473 GB, free: 55.9 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01166/1.573, allocations: 7.888 MB / 0.855 GB, free: 48.03 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.918e-05/1.573, allocations: 4 kB / 0.855 GB, free: 48.02 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003553/1.576, allocations: 2.379 MB / 0.8573 GB, free: 45.63 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01344/1.59, allocations: 0.6576 MB / 0.8579 GB, free: 44.98 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02652/1.616, allocations: 19.65 MB / 0.8771 GB, free: 25.14 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006131/1.623, allocations: 5.145 MB / 0.8821 GB, free: 19.96 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001668/1.624, allocations: 459.3 kB / 0.8826 GB, free: 19.51 MB / 0.5294 GB Notification: Performance of SimCode: time 1.062e-06/1.624, allocations: 0 / 0.8826 GB, free: 19.51 MB / 0.5294 GB Notification: Performance of Templates: time 0.3993/2.024, allocations: 124.6 MB / 1.004 GB, free: 78 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","/var/lib/jenkins1/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