Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001269/0.001269, allocations: 175.4 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.339/1.339, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007087/0.0007085, allocations: 101.3 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2912/0.2912, allocations: 43.55 MB / 363.1 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000342/0.000342, allocations: 16 kB / 432 MB, free: 5.836 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09821/0.09857, allocations: 58.85 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.2/0.2986, allocations: 52.83 MB / 0.5309 GB, free: 12.94 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02236/0.3211, allocations: 11.65 MB / 0.5423 GB, free: 5.008 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009899/0.331, allocations: 249.6 kB / 0.5425 GB, free: 4.969 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007517/0.3386, allocations: 2.753 MB / 0.5452 GB, free: 3.992 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01935/0.358, allocations: 8.288 MB / 0.5533 GB, free: 0.5273 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004416/0.3624, allocations: 1.133 MB / 0.5544 GB, free: 104 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.02968/0.3921, allocations: 23.51 MB / 0.5774 GB, free: 1.789 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0101/0.4022, allocations: 7.565 MB / 0.5847 GB, free: 10.15 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003806/0.4061, allocations: 2.148 MB / 0.5868 GB, free: 7.996 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004869/0.411, allocations: 3.509 MB / 0.5903 GB, free: 4.477 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00114/0.4121, allocations: 260 kB / 0.5905 GB, free: 4.223 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003397/0.4155, allocations: 1.486 MB / 0.592 GB, free: 2.734 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003431/0.419, allocations: 2.902 MB / 0.5948 GB, free: 15.82 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004342/0.4234, allocations: 3.186 MB / 0.5979 GB, free: 12.61 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0102/0.4336, allocations: 9.547 MB / 0.6072 GB, free: 3.043 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.4336, allocations: 0 / 0.6072 GB, free: 3.043 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.618e-06/0.4336, allocations: 0 / 0.6072 GB, free: 3.043 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003561/0.434, allocations: 3.938 kB / 0.6072 GB, free: 3.039 MB / 426.7 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.01337/0.4474, allocations: 6.444 MB / 0.6135 GB, free: 12.51 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.4474, allocations: 12.03 kB / 0.6135 GB, free: 12.5 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0148/0.4623, allocations: 4.039 MB / 0.6175 GB, free: 8.445 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009053/0.4713, allocations: 4.412 MB / 0.6218 GB, free: 3.973 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003839/0.4718, allocations: 398 kB / 0.6222 GB, free: 3.582 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002048/0.4738, allocations: 0.5619 MB / 0.6227 GB, free: 3.02 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03702/0.5109, allocations: 18.88 MB / 0.6412 GB, free: 15.09 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003134/0.5112, allocations: 67.31 kB / 0.6412 GB, free: 15.03 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001772/0.513, allocations: 251.7 kB / 0.6415 GB, free: 14.78 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005315/0.5183, allocations: 3.424 MB / 0.6448 GB, free: 11.36 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03358/0.552, allocations: 16.61 MB / 0.661 GB, free: 10.71 MB / 490.7 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.4175/0.9695, allocations: 66.87 MB / 0.7263 GB, free: 88.71 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01356/0.9831, allocations: 6.267 MB / 0.7325 GB, free: 86.14 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004269/0.9874, allocations: 2.815 MB / 0.7352 GB, free: 85.07 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02381/1.011, allocations: 13.84 MB / 0.7487 GB, free: 77.52 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.956e-05/1.011, allocations: 69.5 kB / 0.7488 GB, free: 77.46 MB / 490.8 MB Notification: Performance of pre-optimization done (n=284): time 6.312e-06/1.011, allocations: 0 / 0.7488 GB, free: 77.46 MB / 490.8 MB Notification: Performance of matching and sorting (n=345): time 0.07459/1.086, allocations: 25.25 MB / 0.7734 GB, free: 63.56 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/1.086, allocations: 196.3 kB / 0.7736 GB, free: 63.33 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006092/1.092, allocations: 5.877 MB / 0.7794 GB, free: 57.48 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004259/1.093, allocations: 73.7 kB / 0.7794 GB, free: 57.4 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001845/1.094, allocations: 4.961 MB / 0.7843 GB, free: 52.44 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008672/1.095, allocations: 1.28 MB / 0.7855 GB, free: 51.17 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003451/1.096, allocations: 192 kB / 0.7857 GB, free: 50.98 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0003119/1.096, allocations: 0.7113 MB / 0.7864 GB, free: 50.26 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003996/1.1, allocations: 3.322 MB / 0.7897 GB, free: 46.93 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005616/1.106, allocations: 8.833 MB / 0.7983 GB, free: 35.39 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01084/1.116, allocations: 13.14 MB / 0.8111 GB, free: 19.51 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001081/1.117, allocations: 56 kB / 0.8112 GB, free: 19.46 MB / 490.8 MB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.0204/1.137, allocations: 12.91 MB / 0.8238 GB, free: 6.5 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.287e-05/1.137, allocations: 88 kB / 0.8239 GB, free: 6.414 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001774/1.137, allocations: 192 kB / 0.824 GB, free: 6.227 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003672/1.141, allocations: 1.322 MB / 0.8253 GB, free: 4.902 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006111/1.147, allocations: 2.207 MB / 0.8275 GB, free: 2.691 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01066/1.158, allocations: 7.305 MB / 0.8346 GB, free: 11.26 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006341/1.164, allocations: 0.507 MB / 0.8351 GB, free: 10.76 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001184/1.165, allocations: 0.5573 MB / 0.8357 GB, free: 10.2 MB / 0.4949 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.005522/1.171, allocations: 3.452 MB / 0.839 GB, free: 6.734 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008655/1.172, allocations: 0.5282 MB / 0.8396 GB, free: 6.199 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01077/1.183, allocations: 5.391 MB / 0.8448 GB, free: 0.75 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-05/1.183, allocations: 36 kB / 0.8449 GB, free: 0.7148 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/1.183, allocations: 11.98 kB / 0.8449 GB, free: 0.7031 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.31e-05/1.183, allocations: 15.94 kB / 0.8449 GB, free: 0.6875 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02602/1.209, allocations: 13.99 MB / 0.8585 GB, free: 2.473 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.122e-05/1.209, allocations: 8 kB / 0.8586 GB, free: 2.465 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002105/1.211, allocations: 0.4962 MB / 0.859 GB, free: 1.969 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003259/1.214, allocations: 0.8162 MB / 0.8598 GB, free: 1.148 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003161/1.215, allocations: 71.98 kB / 0.8599 GB, free: 1.078 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2053/1.42, allocations: 5.312 MB / 0.8651 GB, free: 149.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.762e-05/1.42, allocations: 22.06 kB / 0.8651 GB, free: 149.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01482/1.435, allocations: 8.26 MB / 0.8732 GB, free: 147.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002441/1.437, allocations: 0.9341 MB / 0.8741 GB, free: 147 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001198/1.438, allocations: 66.03 kB / 0.8742 GB, free: 147 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002606/1.441, allocations: 133.6 kB / 0.8743 GB, free: 147 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000533/1.442, allocations: 225.8 kB / 0.8745 GB, free: 146.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002829/1.442, allocations: 105.3 kB / 0.8746 GB, free: 146.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005828/1.448, allocations: 3.644 MB / 0.8782 GB, free: 145.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.41e-07/1.448, allocations: 0 / 0.8782 GB, free: 145.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007316/1.455, allocations: 1.648 MB / 0.8798 GB, free: 145.5 MB / 0.5105 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.0008554/1.456, allocations: 269.8 kB / 0.88 GB, free: 145.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.012/1.468, allocations: 7.837 MB / 0.8877 GB, free: 142.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.45e-05/1.468, allocations: 3.125 kB / 0.8877 GB, free: 142.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003829/1.472, allocations: 2.366 MB / 0.89 GB, free: 141.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01194/1.484, allocations: 0.6745 MB / 0.8906 GB, free: 141.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02739/1.511, allocations: 18.91 MB / 0.9091 GB, free: 131.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00613/1.517, allocations: 5.158 MB / 0.9141 GB, free: 129.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001678/1.519, allocations: 451.5 kB / 0.9146 GB, free: 129.8 MB / 0.5105 GB Notification: Performance of SimCode: time 8.72e-07/1.519, allocations: 0 / 0.9146 GB, free: 129.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.1281/1.647, allocations: 125.1 MB / 1.037 GB, free: 15.26 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches