Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001183/0.001183, allocations: 113 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001252/0.001252, allocations: 208.9 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.28/1.28, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1945/0.1945, allocations: 46.1 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 75.88 kB / 482 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2719, allocations: 62.44 MB / 0.5316 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01626/0.2882, allocations: 16.24 MB / 0.5475 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01096/0.2992, allocations: 5.346 MB / 0.5527 GB, free: 12.07 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002926/0.3022, allocations: 99.75 kB / 0.5528 GB, free: 11.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007553/0.3098, allocations: 4.15 MB / 0.5569 GB, free: 7.812 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006856/0.3167, allocations: 2.801 MB / 0.5596 GB, free: 5.004 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003027/0.3197, allocations: 1.263 MB / 0.5608 GB, free: 3.738 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009673/0.3294, allocations: 7.723 MB / 0.5684 GB, free: 12 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007583/0.337, allocations: 5.854 MB / 0.5741 GB, free: 6.066 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004339/0.3414, allocations: 2.671 MB / 0.5767 GB, free: 3.387 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005252/0.3467, allocations: 3.77 MB / 0.5804 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001831/0.3485, allocations: 0.5976 MB / 0.581 GB, free: 15.01 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003854/0.3524, allocations: 1.752 MB / 0.5827 GB, free: 13.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004084/0.3565, allocations: 3.304 MB / 0.5859 GB, free: 9.941 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005868/0.3624, allocations: 3.767 MB / 0.5896 GB, free: 6.152 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01419/0.3766, allocations: 12.3 MB / 0.6016 GB, free: 9.809 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3767, allocations: 0 / 0.6016 GB, free: 9.809 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3767, allocations: 0 / 0.6016 GB, free: 9.809 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004381/0.3771, allocations: 0 / 0.6016 GB, free: 9.809 MB / 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.01832/0.3955, allocations: 7.84 MB / 0.6093 GB, free: 1.883 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.3955, allocations: 8.031 kB / 0.6093 GB, free: 1.875 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01506/0.4106, allocations: 3.941 MB / 0.6131 GB, free: 13.92 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009354/0.42, allocations: 4.233 MB / 0.6172 GB, free: 9.625 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004169/0.4204, allocations: 406 kB / 0.6176 GB, free: 9.227 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002398/0.4228, allocations: 0.5464 MB / 0.6182 GB, free: 8.68 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03544/0.4583, allocations: 18.89 MB / 0.6366 GB, free: 4.742 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002898/0.4586, allocations: 71.31 kB / 0.6367 GB, free: 4.672 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00171/0.4604, allocations: 247.8 kB / 0.6369 GB, free: 4.43 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00492/0.4653, allocations: 3.428 MB / 0.6403 GB, free: 1 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03222/0.4975, allocations: 16.63 MB / 0.6565 GB, free: 352 kB / 0.4981 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.3023/0.7998, allocations: 66.59 MB / 0.7215 GB, free: 144.2 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01361/0.8135, allocations: 6.27 MB / 0.7277 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00321/0.8167, allocations: 2.848 MB / 0.7304 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01714/0.8339, allocations: 13.92 MB / 0.744 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.328e-05/0.834, allocations: 67.41 kB / 0.7441 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=284): time 6.082e-06/0.834, allocations: 0 / 0.7441 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=345): time 0.0672/0.9012, allocations: 24.84 MB / 0.7684 GB, free: 121.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.9013, allocations: 195.7 kB / 0.7685 GB, free: 121 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005831/0.9071, allocations: 5.88 MB / 0.7743 GB, free: 115.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004269/0.9076, allocations: 77.2 kB / 0.7744 GB, free: 115.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001812/0.9094, allocations: 4.947 MB / 0.7792 GB, free: 110.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009939/0.9104, allocations: 1.273 MB / 0.7804 GB, free: 108.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001895/0.9123, allocations: 1.92 MB / 0.7823 GB, free: 107 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.044e-05/0.9123, allocations: 301.1 kB / 0.7826 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003775/0.9161, allocations: 3.357 MB / 0.7859 GB, free: 103.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005278/0.9214, allocations: 8.892 MB / 0.7946 GB, free: 91.79 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0098/0.9312, allocations: 13.19 MB / 0.8074 GB, free: 75.98 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.461e-05/0.9314, allocations: 56 kB / 0.8075 GB, free: 75.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.01877/0.9501, allocations: 13 MB / 0.8202 GB, free: 62.89 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.365e-05/0.9502, allocations: 84 kB / 0.8203 GB, free: 62.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001403/0.9504, allocations: 196 kB / 0.8205 GB, free: 62.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003561/0.954, allocations: 1.33 MB / 0.8218 GB, free: 61.28 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005719/0.9597, allocations: 2.203 MB / 0.8239 GB, free: 59.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009336/0.969, allocations: 7.833 MB / 0.8316 GB, free: 51.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005752/0.9748, allocations: 0.5111 MB / 0.8321 GB, free: 50.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009475/0.9758, allocations: 0.5547 MB / 0.8326 GB, free: 50.04 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.00394/0.9797, allocations: 3.459 MB / 0.836 GB, free: 46.57 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007095/0.9805, allocations: 0.5244 MB / 0.8365 GB, free: 46.04 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008767/0.9892, allocations: 5.392 MB / 0.8418 GB, free: 40.59 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.485e-05/0.9893, allocations: 43.05 kB / 0.8418 GB, free: 40.55 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.9893, allocations: 8 kB / 0.8418 GB, free: 40.54 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.313e-05/0.9893, allocations: 15.94 kB / 0.8418 GB, free: 40.53 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02115/1.01, allocations: 13.92 MB / 0.8554 GB, free: 26.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.958e-05/1.011, allocations: 12 kB / 0.8554 GB, free: 26.38 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001859/1.012, allocations: 0.494 MB / 0.8559 GB, free: 25.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002829/1.015, allocations: 0.8174 MB / 0.8567 GB, free: 25.06 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002384/1.015, allocations: 79.92 kB / 0.8568 GB, free: 24.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007297/1.023, allocations: 5.801 MB / 0.8624 GB, free: 19.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.606e-06/1.023, allocations: 19.94 kB / 0.8625 GB, free: 19.03 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01115/1.034, allocations: 8.299 MB / 0.8706 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001167/1.035, allocations: 0.5644 MB / 0.8711 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006049/1.036, allocations: 63.98 kB / 0.8712 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001832/1.038, allocations: 135.8 kB / 0.8713 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003619/1.038, allocations: 221.5 kB / 0.8715 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001784/1.038, allocations: 104 kB / 0.8716 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004253/1.042, allocations: 3.643 MB / 0.8752 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.71e-07/1.042, allocations: 0 / 0.8752 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006577/1.049, allocations: 1.621 MB / 0.8768 GB, free: 4.117 MB / 0.5606 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.0005864/1.05, allocations: 273.5 kB / 0.877 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01103/1.061, allocations: 7.936 MB / 0.8848 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.284e-05/1.061, allocations: 4.75 kB / 0.8848 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003731/1.064, allocations: 2.389 MB / 0.8871 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003522/1.068, allocations: 0.711 MB / 0.8878 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02541/1.093, allocations: 15.94 MB / 0.9034 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005718/1.099, allocations: 5.137 MB / 0.9084 GB, free: 3.527 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001526/1.101, allocations: 455.4 kB / 0.9088 GB, free: 3.082 MB / 0.5919 GB Notification: Performance of SimCode: time 7.12e-07/1.101, allocations: 0 / 0.9088 GB, free: 3.082 MB / 0.5919 GB Notification: Performance of Templates: time 0.3626/1.463, allocations: 126.7 MB / 1.033 GB, free: 155.4 MB / 0.6387 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches